\Test

Admin/Base Controller 在这里可以定义admin后台需要的通用方法

This class object is the super class that every library in CodeIgniter will be assigned to.

Summary

Methods
Properties
Constants
__construct()
get_model_name()
get_instance()
index()
edit()
add()
update()
delete()
test_list()
save_card()
No public properties found
No constants found
get_model()
No protected properties found
N/A
No private methods found
$param
$instance
N/A

Properties

$param

$param : 

Type

$instance

$instance : object

Reference to the CI singleton

Type

object

Methods

__construct()

__construct() : void

Class constructor

get_model_name()

get_model_name() 

根据controller加载模型

get_instance()

get_instance() : object

Get the CI singleton

Returns

object

index()

index(  $page_no) 

Parameters

$page_no

edit()

edit(  $id) 

Parameters

$id

add()

add() 

update()

update(  $id) 

Parameters

$id

delete()

delete(  $id) 

Parameters

$id

test_list()

test_list(  $delete) 

Parameters

$delete

save_card()

save_card() 

get_model()

get_model()