Blame | Last modification | View Log | RSS feed
<?phpApp::uses('AppModel', 'Model');/*** Acl Model** @property Group $Group*/class UserAclGroup extends AppModel {/*** Use table** @var mixed False or table name*/// public $useTable = 'useraclgroup';/*** Validation rules** @var array*/public $validate = array('group_id' => array('numeric' => array('rule' => array('numeric'),),'notEmpty' => array('rule' => array('notEmpty'),),),'user_id' => array('numeric' => array('rule' => array('numeric'),),'notEmpty' => array('rule' => array('notEmpty'),),));//The Associations below have been created with all possible keys, those that are not needed can be removed/*** belongsTo associations** @var array*/public $belongsTo = array('Group' => array('className' => 'Group','foreignKey' => 'group_id','conditions' => '','fields' => '','order' => ''),'User' => array('className' => 'User','foreignKey' => 'user_id','conditions' => '','fields' => '','order' => ''));}