Public Member Functions | Public Attributes

Group Class Reference

Inheritance diagram for Group:
BEAppModel AppModel

List of all members.

Public Member Functions

 beforeDelete ()
 afterDelete ()
 getList ($conditions=array())
 countUsersInGroup ($group_id)
 return the number of users inside a group

Public Attributes

 $name = 'Group'
 $validate
 $hasAndBelongsToMany = array("User")

Detailed Description

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 31 of file group.php.


Member Function Documentation

Group::countUsersInGroup ( group_id  ) 

return the number of users inside a group

Parameters:
int $group_id
Returns:
int

Definition at line 79 of file group.php.


Member Data Documentation

Group::$validate
Initial value:
 array(
        'name' => array(
            'rule' => 'notEmpty'
        )
    )

Definition at line 35 of file group.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus