Ubiquity 2.5.2
php rapid development framework
|
Ubiquity\controllers\auth$AuthControllerVariablesTrait This class is part of Ubiquity. More...
Public Member Functions | |
_displayInfoAsString () | |
Override to define if user info is displayed as string. | |
_getUserSessionKey () | |
To override for defining user session key, default : "activeUser". | |
_checkConnectionTimeout () | |
_getLoginInputName () | |
_getPasswordInputName () | |
_getBodySelector () | |
Returns the body selector (jquery selector used for replacing the content of the page). | |
Protected Member Functions | |
noAccessMessage (FlashMessage $fMessage) | |
Override for modifying the noAccess message. | |
attemptsNumberMessage (FlashMessage $fMessage, $attempsCount) | |
Override for modifying attempts message You can use {_timer} and {_attemptsCount} variables in message content. | |
badLoginMessage (FlashMessage $fMessage) | |
To override for modifying the bad login message. | |
terminateMessage (FlashMessage $fMessage) | |
To override for modifying the logout message. | |
disconnectedMessage (FlashMessage $fMessage) | |
To override for modifying the disconnect message. | |
attemptsNumber () | |
To override Returns int the maximum number of allowed login attempts. | |
attemptsTimeout () | |
To override Returns the time before trying to connect again Effective only if attemptsNumber return a number. | |
loginLabel () | |
passwordLabel () | |
passwordConfLabel () | |
rememberCaption () | |
Ubiquity\controllers\auth$AuthControllerVariablesTrait This class is part of Ubiquity.
Definition at line 15 of file AuthControllerVariablesTrait.php.
_checkConnectionTimeout | ( | ) |
Definition at line 95 of file AuthControllerVariablesTrait.php.
_displayInfoAsString | ( | ) |
Override to define if user info is displayed as string.
If set to true, use {{ _infoUser| raw }} in views to display user info. Remember to use $this->jquery->renderView instead of $this->loadView for the javascript generation.
Reimplemented in AuthControllerConfig.
Definition at line 83 of file AuthControllerVariablesTrait.php.
_getBodySelector | ( | ) |
Returns the body selector (jquery selector used for replacing the content of the page).
default: main .container
Reimplemented in AuthControllerConfig.
Definition at line 125 of file AuthControllerVariablesTrait.php.
_getLoginInputName | ( | ) |
Reimplemented in AuthControllerConfig.
Definition at line 99 of file AuthControllerVariablesTrait.php.
_getPasswordInputName | ( | ) |
Reimplemented in AuthControllerConfig.
Definition at line 107 of file AuthControllerVariablesTrait.php.
_getUserSessionKey | ( | ) |
To override for defining user session key, default : "activeUser".
Reimplemented in AuthControllerConfig.
Definition at line 91 of file AuthControllerVariablesTrait.php.
|
protected |
To override Returns int the maximum number of allowed login attempts.
Reimplemented in AuthControllerConfig.
Definition at line 63 of file AuthControllerVariablesTrait.php.
|
protected |
Override for modifying attempts message You can use {_timer} and {_attemptsCount} variables in message content.
FlashMessage | $fMessage | |
int | $attempsCount |
Definition at line 32 of file AuthControllerVariablesTrait.php.
|
protected |
To override Returns the time before trying to connect again Effective only if attemptsNumber return a number.
Reimplemented in AuthControllerConfig.
Definition at line 74 of file AuthControllerVariablesTrait.php.
|
protected |
To override for modifying the bad login message.
FlashMessage | $fMessage |
Definition at line 40 of file AuthControllerVariablesTrait.php.
|
protected |
To override for modifying the disconnect message.
FlashMessage | $fMessage |
Definition at line 56 of file AuthControllerVariablesTrait.php.
|
protected |
Reimplemented in AuthControllerConfig.
Definition at line 103 of file AuthControllerVariablesTrait.php.
|
protected |
Override for modifying the noAccess message.
FlashMessage | $fMessage |
Definition at line 22 of file AuthControllerVariablesTrait.php.
|
protected |
Reimplemented in AuthControllerConfig.
Definition at line 115 of file AuthControllerVariablesTrait.php.
|
protected |
Reimplemented in AuthControllerConfig.
Definition at line 111 of file AuthControllerVariablesTrait.php.
|
protected |
Reimplemented in AuthControllerConfig.
Definition at line 129 of file AuthControllerVariablesTrait.php.
|
protected |
To override for modifying the logout message.
FlashMessage | $fMessage |
Definition at line 48 of file AuthControllerVariablesTrait.php.