\Api_Controller

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()
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

get_model()

get_model()