\Role

角色管理

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

Summary

Methods
Properties
Constants
__construct()
get_instance()
index()
edit()
updateData()
ajaxcheck()
delete()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$instance
$data
N/A

Properties

$instance

$instance : object

Reference to the CI singleton

Type

object

$data

$data : 

Type

Methods

__construct()

__construct() : void

Class constructor

get_instance()

get_instance() : object

Get the CI singleton

Returns

object

index()

index() 

角色列表

edit()

edit(  $roleId) 

添加/修改页

Parameters

$roleId

updateData()

updateData() 

添加/修改数据库

ajaxcheck()

ajaxcheck() 

检查栏目名称和关键字唯一

delete()

delete() 

删除角色