\Public_model

Model Class

Summary

Methods
Properties
Constants
__construct()
__get()
header()
leftmenu()
footer()
message()
create_page()
dealparam()
authentication()
writeLog()
AdminExamineLog()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$data
N/A

Properties

$data

$data : 

Type

Methods

__construct()

__construct() : void

Class constructor

__get()

__get(string  $key) 

__get magic

Allows models to access CI's loaded classes using the same syntax as controllers.

Parameters

string $key

header()

header(  $data = array()) 

头部文件

Parameters

$data

leftmenu()

leftmenu(  $key = 'index') 

左侧菜单

Parameters

$key

footer()

footer() 

底部

message()

message(  $title = '',   $url = '',   $isok,   $header = array()) 

提示页

Parameters

$title
$url
$isok
$header

create_page()

create_page(  $base_url,   $count_all,   $per_page,   $uri_segment = 4,   $num_links = 5) 

分页

Parameters

$base_url
$count_all
$per_page
$uri_segment
$num_links

dealparam()

dealparam(  $param) 

处理参数

Parameters

$param

authentication()

authentication() 

登录验证

writeLog()

writeLog(  $msg = '') 

操作日志

Parameters

$msg

操作内容

AdminExamineLog()

AdminExamineLog(  $param = array()) 

管理员操作记录

Parameters

$param