Class User
- Model
- AppModel
- BEAppModel
- User
Version:
$Revision$
Modifiedby: $LastChangedBy$
Lastmodified:
Located at models/account/user.php
Modifiedby: $LastChangedBy$
Lastmodified:
$LastChangedDate$
$Id$
Located at models/account/user.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
integer|boolean
|
Methods inherited from BEAppModel
am()
,
buildQueryStatement()
,
checkDate()
,
checkDuration()
,
checkFloat()
,
checkNumber()
,
containLevel()
,
fieldsString()
,
findObjects()
,
findObjectsAfterFilter()
,
findObjectsClauses()
,
findObjectsCount()
,
getBindingsLevel()
,
getDefaultDateFormat()
,
getDriver()
,
getEndQuote()
,
getLimitClausole()
,
getStartQuote()
,
setBindingsLevel()
,
setupDbParams()
,
toolbar()
Methods inherited from AppModel
Properties summary
public
array
|
$validate
|
#
array(
'userid' => array(
'useridRule1' => array(
'rule' => 'notEmpty',
'message' => 'User ID can not be empty',
),
'useridRule2' => array(
'rule' => array('minLength', 2),
'message' => 'User ID must be at least 2 (two) characters long',
),
'useridRule3' => array(
'rule' => 'useridValidation',
'message' => 'User ID can not contain illegal characters',
),
),
'passwd' => array(
'rule' => 'notEmpty',
),
'email' => array(
'rule' => 'email',
'allowEmpty' => true,
)
)
|
public
array
|
$externalServiceValidate
|
#
array(
'userid' => array(
'rule' => 'notEmpty'
),
'email' => array(
'rule' => 'email',
'allowEmpty' => true
)
)
|
protected
array
|
$modelBindings
|
#
array(
'detailed' => array('Group', 'ObjectUser', 'Permission', 'UserProperty'),
'default' => array('Group', 'ObjectUser', 'UserProperty'),
'minimum' => array()
)
|
public
array
|
$hasAndBelongsToMany
|
#
array('Group')
|
public
array
|
$hasMany
|
#
array(
'Permission' =>
array(
'className' => 'Permission',
'condition' => "Permission.switch = 'user' ",
'fields' => 'Permission.object_id, Permission.switch, Permission.flag',
'foreignKey' => 'id',
'dependent' => true
),
'ObjectUser',
'UserProperty'
)
|
private
|
$hBTM
|
#
null
|