Properties

$title

$title : 

Type

$content

$content : 

Type

$date

$date : 

Type

$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

$admin_node_data

$admin_node_data : 

Type

$admin_node_tree

$admin_node_tree : 

Type

$nodes

$nodes : 

Type

$admin_node_all

$admin_node_all : 

Type

$option

$option : 

Type

$ref

$ref : 

Type

Methods

S()

S(  $name, string  $value = '', null  $options = null) : mixed

公用快接缓存器

Parameters

$name
string $value
null $options

Returns

mixed

_list()

_list() : mixed

公用获取数据列表

Returns

mixed

_list_fields()

_list_fields() : mixed

公用获取表字段列表

Returns

mixed

_field_data()

_field_data() : mixed

公用获取字段详细信息

Returns

mixed

_insert()

_insert(  $data) : boolean

'插入权限节点时。自动分组

Parameters

$data

Returns

boolean

_from()

_from(  $table) : $this

公用操作表选择 对数据查询或操作前必须先指定操作的表

Parameters

$table

Returns

$this

_delete()

_delete(  $where = array()) : mixed

公用数据删除方法 返回删除数据的数量

Parameters

$where

Returns

mixed

_empty_table()

_empty_table(  $table) : mixed

公用数据表数据清空方法

Parameters

$table

Returns

mixed

_row()

_row(  $where) : mixed

公用获取一条数据

Parameters

$where

Returns

mixed

_update()

_update(  $where,   $data) : \mixed执行成功返回影响的数量,失败返回FALSE

公用数据更新函数

Parameters

$where
$data

Returns

\mixed执行成功返回影响的数量,失败返回FALSE

_map()

_map(  $map) : $this

公用指定执行的数据库操作

Parameters

$map

Returns

$this

_limit()

_limit(  $limit,   $offset) : $this

公用限定数据返回调试

Parameters

$limit
$offset

Returns

$this

_count()

_count() : mixed

公用获取结果集数量

Returns

mixed

_order_by()

_order_by(  $orderField,   $orderDirection) : $this

公用排序

Parameters

$orderField
$orderDirection

Returns

$this

_get_pk()

_get_pk() : mixed

公用获取主键

Returns

mixed

_select()

_select(  $field, boolean  $src = TRUE) : $this

允许你在SQL查询中写 SELECT 部分

Parameters

$field
boolean $src

Returns

$this

__construct()

__construct() 

构造函数 初始化数据库操作类

get_scrap_nodes()

get_scrap_nodes() : array

获取废弃节点列表

Returns

array

get_new_nodes()

get_new_nodes() : array

获取新节点列表

Returns

array

get_admin_node_all()

get_admin_node_all() : array

获取所有权限列表

Returns

array

get_admin_node_menu()

get_admin_node_menu() : array

获取所有可显示在左侧菜单的权限节点

Returns

array

get_file_nodes()

get_file_nodes() : array

读取控制器文件里节点列表

Returns

array

get_doc_comment_title()

get_doc_comment_title(  $doc_comment) : mixed

返回注释的第一行的第一段内容

Parameters

$doc_comment

Returns

mixed

get_controllers_files()

get_controllers_files() : array

获取所有控制器文件列表

Returns

array

get_admin_node()

get_admin_node(string  $status) : mixed

Parameters

string $status

Returns

mixed