Class LoginForm
Form model for logging into the app.
- CComponent
-
CModel implements IteratorAggregate, ArrayAccess
-
CFormModel
-
X2FormModel
-
LoginForm
Package: application\models
Propoerty: User $user The user model corresponding to the current login; null if no match for username/alias was found.
Located at x2engine/protected/models/LoginForm.php
Propoerty: User $user The user model corresponding to the current login; null if no match for username/alias was found.
Located at x2engine/protected/models/LoginForm.php
public
array
|
|
public
array
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
type
|
getAllErrorMessages(),
validate()
|
__construct(),
attributeNames(),
init()
|
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()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
public
mixed
|
$username |
|
|
public
mixed
|
$password |
|
|
public
mixed
|
$rememberMe |
|
|
public
mixed
|
$verifyCode |
|
|
public
mixed
|
$useCaptcha |
|
$exceptionClass,
$throwExceptions
|
public
|
$identity |
#
The user identity component for the current login. |
$attributes,
$errors,
$iterator,
$safeAttributeNames,
$scenario,
$validatorList,
$validators
|