Class UserLogin
LoginForm class. LoginForm is the data structure for keeping user login form data. It is used by the 'login' action of 'SiteController'.
- CComponent
- CModel implements IteratorAggregate, ArrayAccess
- CFormModel
- UserLogin
Methods summary
public
array
|
|
public
array
|
|
public
|
#
authenticate( mixed $attribute, mixed $params )
Authenticates the password. This is the 'authenticate' validator as declared in rules(). |
Methods inherited from CFormModel
__construct()
,
attributeNames()
,
init()
Methods inherited from CModel
addError()
,
addErrors()
,
afterConstruct()
,
afterValidate()
,
beforeValidate()
,
behaviors()
,
clearErrors()
,
createValidators()
,
generateAttributeLabel()
,
getAttributeLabel()
,
getAttributes()
,
getError()
,
getErrors()
,
getIterator()
,
getSafeAttributeNames()
,
getScenario()
,
getValidatorList()
,
getValidators()
,
hasErrors()
,
isAttributeRequired()
,
isAttributeSafe()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
,
onAfterConstruct()
,
onAfterValidate()
,
onBeforeValidate()
,
onUnsafeAttribute()
,
setAttributes()
,
setScenario()
,
unsetAttributes()
,
validate()
Methods inherited from CComponent
__call()
,
__get()
,
__isset()
,
__set()
,
__unset()
,
asa()
,
attachBehavior()
,
attachBehaviors()
,
attachEventHandler()
,
canGetProperty()
,
canSetProperty()
,
detachBehavior()
,
detachBehaviors()
,
detachEventHandler()
,
disableBehavior()
,
disableBehaviors()
,
enableBehavior()
,
enableBehaviors()
,
evaluateExpression()
,
getEventHandlers()
,
hasEvent()
,
hasEventHandler()
,
hasProperty()
,
raiseEvent()
Magic methods summary
Properties summary
public
mixed
|
$username | |
public
mixed
|
$password | |
public
mixed
|
$rememberMe |
Magic properties inherited from CModel
$attributes
,
$errors
,
$iterator
,
$safeAttributeNames
,
$scenario
,
$validatorList
,
$validators