Detailed Description
Member Function Documentation
UserModule::beforeControllerAction |
( |
|
$controller, |
|
|
|
$action |
|
) |
| |
static UserModule::createAndLoginUserTemp |
( |
| ) |
|
|
static |
static UserModule::doCaptcha |
( |
|
$place = '' | ) |
|
|
static |
static UserModule::encrypting |
( |
|
$string = "" | ) |
|
|
static |
static UserModule::getAdmins |
( |
| ) |
|
|
static |
Return admins.
- Returns
- array syperusers names
Definition at line 225 of file UserModule.php.
UserModule::getBehaviorsFor |
( |
|
$componentName | ) |
|
static UserModule::getUserByName |
( |
|
$username | ) |
|
|
static |
Return safe user data.
- Parameters
-
- Returns
- user object or false
Definition at line 282 of file UserModule.php.
static UserModule::getUserId |
( |
| ) |
|
|
static |
static UserModule::isAdmin |
( |
| ) |
|
|
static |
static UserModule::isGuest |
( |
| ) |
|
|
static |
Check user is guest (not authorized) or not.
- Returns
- boolean
Definition at line 308 of file UserModule.php.
static UserModule::isNotGuestAndUserTemp |
( |
| ) |
|
|
static |
Check user is not guest and not temp.
- Returns
- boolean
Definition at line 332 of file UserModule.php.
static UserModule::isUserTemp |
( |
| ) |
|
|
static |
Check user is temp or not.
- Returns
- boolean
Definition at line 318 of file UserModule.php.
static UserModule::sendMail |
( |
|
$email, |
|
|
|
$subject, |
|
|
|
$message |
|
) |
| |
|
static |
static UserModule::t |
( |
|
$str = '' , |
|
|
|
$params = array() , |
|
|
|
$dic = 'user' |
|
) |
| |
|
static |
static UserModule::user |
( |
|
$id = 0 , |
|
|
|
$clearCache = false |
|
) |
| |
|
static |
Return safe user data.
- Parameters
-
- Returns
- user object or false
Definition at line 259 of file UserModule.php.
Return safe user data.
- Parameters
-
- Returns
- user object or false
Definition at line 298 of file UserModule.php.
Member Data Documentation
UserModule::$_userByName = array() |
|
staticprivate |
UserModule::$_users = array() |
|
staticprivate |
UserModule::$activeAfterRegister = false |
UserModule::$autoLogin = true |
UserModule::$captcha = array('registration' => true) |
UserModule::$componentBehaviors = array() |
UserModule::$defaultScope |
Initial value: array(
'with' => array('profile'),
)
Definition at line 101 of file UserModule.php.
UserModule::$fields_page_size = 10 |
UserModule::$fieldsMessage = '' |
UserModule::$hash = 'md5' |
UserModule::$loginNotActiv = false |
UserModule::$loginUrl = array("/user/login") |
UserModule::$logoutUrl = array("/user/logout") |
UserModule::$profileRelations = array() |
UserModule::$profileUrl = array("/user/profile") |
UserModule::$recoveryUrl = array("/user/recovery/recovery") |
UserModule::$registrationUrl = array("/user/registration") |
UserModule::$relations = array() |
UserModule::$rememberMeTime = 2592000 |
UserModule::$returnLogoutUrl = array("/user/login") |
UserModule::$returnUrl = array("/user/profile") |
UserModule::$sendActivationMail = true |
UserModule::$tableProfileFields = '{{profiles_fields}}' |
UserModule::$tableProfiles = '{{profiles}}' |
UserModule::$tableUsers = '{{users}}' |
UserModule::$user_page_size = 10 |
The documentation for this class was generated from the following file: