Properties

$db

$db : \CI_DB_active_record

This is the platform-independent base Active Record implementation class.

Type

\CI_DB_active_record

$dbforge

$dbforge : \CI_DB_forge

Database Utility Class

Type

\CI_DB_forge

$benchmark

$benchmark : \CI_Benchmark

This class enables you to mark points and calculate the time difference between them.
Memory consumption can also be displayed.

Type

\CI_Benchmark

$calendar

$calendar : \CI_Calendar

This class enables the creation of calendars

Type

\CI_Calendar

$cart

$cart : \CI_Cart

Shopping Cart Class

Type

\CI_Cart

$config

$config : \CI_Config

This class contains functions that enable config files to be managed

Type

\CI_Config

$controller

$controller : \CI_Controller

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

Type

\CI_Controller

$email

$email : \CI_Email

Permits email to be sent using Mail, Sendmail, or SMTP.

Type

\CI_Email

$encrypt

$encrypt : \CI_Encrypt

Provides two-way keyed encoding using XOR Hashing and Mcrypt

Type

\CI_Encrypt

$exceptions

$exceptions : \CI_Exceptions

Exceptions Class

Type

\CI_Exceptions

$form_validation

$form_validation : \CI_Form_validation

Form Validation Class

Type

\CI_Form_validation

$ftp

$ftp : \CI_Ftp

FTP Class

Type

\CI_Ftp

$hooks

$hooks : \CI_Hooks

Provides a mechanism to extend the base system without hacking.

Type

\CI_Hooks

$image_lib

$image_lib : \CI_Image_lib

Image Manipulation class

Type

\CI_Image_lib

$input

$input : \CI_Input

Pre-processes global input data for security

Type

\CI_Input

$lang

$lang : \CI_Lang

Language Class

Type

\CI_Lang

$load

$load : \CI_Loader

Loads views and files

Type

\CI_Loader

$log

$log : \CI_Log

Logging Class

Type

\CI_Log

$model

$model : \CI_Model

CodeIgniter Model Class

Type

\CI_Model

$output

$output : \CI_Output

Responsible for sending final output to browser

Type

\CI_Output

$pagination

$pagination : \CI_Pagination

Pagination Class

Type

\CI_Pagination

$parser

$parser : \CI_Parser

Parses pseudo-variables contained in the specified template view,
replacing them with the data in the second param

Type

\CI_Parser

$profiler

$profiler : \CI_Profiler

This class enables you to display benchmark, query, and other data
in order to help with debugging and optimization.

Type

\CI_Profiler

$router

$router : \CI_Router

Parses URIs and determines routing

Type

\CI_Router

$session

$session : \CI_Session

Session Class

Type

\CI_Session

$sha1

$sha1 : \CI_Sha1

Provides 160 bit hashing using The Secure Hash Algorithm

Type

\CI_Sha1

$table

$table : \CI_Table

HTML table generation
Lets you create tables manually or from database result objects, or arrays.

Type

\CI_Table

$trackback

$trackback : \CI_Trackback

Trackback Sending/Receiving Class

Type

\CI_Trackback

$typography

$typography : \CI_Typography

Typography Class

Type

\CI_Typography

$unit_test

$unit_test : \CI_Unit_test

Simple testing class

Type

\CI_Unit_test

$upload

$upload : \CI_Upload

File Uploading Class

Type

\CI_Upload

$uri

$uri : \CI_URI

Parses URIs and determines routing

Type

\CI_URI

$user_agent

$user_agent : \CI_User_agent

Identifies the platform, browser, robot, or mobile devise of the browsing agent

Type

\CI_User_agent

$validation

$validation : \CI_Validation

//dead

Type

\CI_Validation

$xmlrpc

$xmlrpc : \CI_Xmlrpc

XML-RPC request handler class

Type

\CI_Xmlrpc

$xmlrpcs

$xmlrpcs : \CI_Xmlrpcs

XML-RPC server class

Type

\CI_Xmlrpcs

$zip

$zip : \CI_Zip

Zip Compression Class

Type

\CI_Zip

$javascript

$javascript : \CI_Javascript

Javascript Class

Type

\CI_Javascript

$jquery

$jquery : \CI_Jquery

Jquery Class

Type

\CI_Jquery

$utf8

$utf8 : \CI_Utf8

Provides support for UTF-8 environments

Type

\CI_Utf8

$security

$security : \CI_Security

Security Class, xss, csrf, etc...

Type

\CI_Security

$M

$M : 

Type

$C

$C : 

Type

$D

$D : 

Type

$table_name

$table_name : 

Type

$model_name

$model_name : 

Type

$data

$data : 

Type

$admin_user

$admin_user : 

Type

$soft_id

$soft_id : 

Type

Methods

__construct()

__construct() 

_remap()

_remap(  $method,   $rsegments) : boolean

重构方法调用模式

Parameters

$method
$rsegments

Returns

boolean

index()

index() 

默认列表

add()

add() 

添加页面

insert()

insert(string  $key = '') 

导入权限节点

Parameters

string $key

edit()

edit(  $id) 

编辑页面

Parameters

$id

update()

update() 

更新数据

setField()

setField() 

字段设置

delete()

delete(  $id) 

删除指定权限节点

Parameters

$id

mk_admin_node()

mk_admin_node() 

新节点-废弃节点管理

_error()

_error(  $message, string  $title = '操作失败!') 

快接输出错误提示

Parameters

$message
string $title

_success()

_success(  $message, string  $title = '操作成功!') 

快接输出成功提示

Parameters

$message
string $title

_list()

_list() : mixed

获取数据列表

Returns

mixed

_filter()

_filter(  $map) : mixed

筛选

Parameters

$map

Returns

mixed

_search()

_search() : array

生成查询map

Returns

array

_write_log()

_write_log() 

写日志

_load_helper()

_load_helper() 

加载公共辅材函数

check_auth()

check_auth() : boolean

验证用户权限

Returns

boolean