PHP Class Usergroups_model, 68kb

Inheritance: extends CI_Model
Datei anzeigen Open project: 68kb/68kb

Public Methods

Method Description
__construct ( ) : void Constructor
add_group ( $data ) : mixed Add User
delete_group ( $group_id ) : boolean Delete Group
edit_group ( $group_id, $data ) : boolean Edit Group
get_group ( $group_id ) : mixed Get a group
get_groups ( ) : mixed Get a list of all groups

Method Details

__construct() public method

Constructor
public __construct ( ) : void
return void

add_group() public method

Add User
public add_group ( $data ) : mixed
return mixed

delete_group() public method

Delete Group
public delete_group ( $group_id ) : boolean
return boolean TRUE on success.

edit_group() public method

Edit Group
public edit_group ( $group_id, $data ) : boolean
return boolean

get_group() public method

Get a group
public get_group ( $group_id ) : mixed
return mixed The array on success, FALSE on failure

get_groups() public method

Get a list of all groups
public get_groups ( ) : mixed
return mixed The array on success, FALSE on failure