PHP Class Usergroups_model, 68kb

Inheritance: extends CI_Model
Afficher le fichier Open project: 68kb/68kb

Méthodes publiques

Méthode 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 méthode

Constructor
public __construct ( ) : void
Résultat void

add_group() public méthode

Add User
public add_group ( $data ) : mixed
Résultat mixed

delete_group() public méthode

Delete Group
public delete_group ( $group_id ) : boolean
Résultat boolean TRUE on success.

edit_group() public méthode

Edit Group
public edit_group ( $group_id, $data ) : boolean
Résultat boolean

get_group() public méthode

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

get_groups() public méthode

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