eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZTextFileUser

class eZTextFileUser extends eZUser

Constants

PASSWORD_HASH_MD5_PASSWORD

PASSWORD_HASH_MD5_USER

PASSWORD_HASH_MD5_SITE

PASSWORD_HASH_MYSQL

PASSWORD_HASH_PLAINTEXT

AUTHENTICATE_LOGIN

AUTHENTICATE_EMAIL

AUTHENTICATE_ALL

NO_SESSION_REGENERATE

Flag used to prevent session regeneration

Properties

bool $PersistentDataDirty Whether the data is dirty, ie needs to be stored, or not.
$Login
$Email
$PasswordHash
$PasswordHashType
$Groups
$OriginalPassword
$OriginalPasswordConfirm

Methods

eZUser($row = array())

from eZUser
hasManageLocations()

from eZUser
void store(array|null $fieldFilters = null)

Stores the object in the database, uses storeObject() to do the actual job and passes $fieldFilters to it.

from eZUser
originalPassword()

from eZUser
setOriginalPassword($password)

from eZUser
originalPasswordConfirm()

from eZUser
setOriginalPasswordConfirm($password)

from eZUser
hasStoredLogin()

from eZUser
setInformation($id, $login, $email, $password, $passwordConfirm = false)

from eZUser
static array( fetchUnactivated(array|false|null $sort = false, int $limit = 10, int $offset)

Return an array of unactivated eZUser object

from eZUser
id()

from eZUser
static mixed loginUser(string $login, string $password, bool $authenticationMatch = false)

Logs in the user if applied username and password is valid.

from eZUser
sessionCleanup()

from eZUser
loginCurrent()

from eZUser
array( getUserCache()

Get User cache from cache file

from eZUser
purgeUserCache()

Delete User cache from locale var and cache file for current user.

from eZUser
setUserCache(array $userCache)

Set User cache from cache file Needs to be in excact same format as {@link eZUser::getUserCache()}!

from eZUser
static  purgeUserCacheByAnonymousId()

Delete User cache from cache file for Anonymous user(usefull for sessionless users)

from eZUser
static  purgeUserCacheByUserId(int $userId)

Delete User cache pr user

from eZUser
static array getUserCacheByAnonymousId()

Get User cache from cache file for Anonymous user(usefull for sessionless users)

from eZUser
lastVisit()

from eZUser
int loginCount()

Returns the login count for the current user.

from eZUser
failedLoginAttempts()

from eZUser
isLocked()

from eZUser
isEnabled($useCache = true)

from eZUser
isAnonymous()

from eZUser
hasAccessTo($module, $function = false)

from eZUser
array accessArray()

Returns either cached or newly generated accessArray for the user depending on site.ini[RoleSettings]\EnableCaching setting

from eZUser
generateAccessArray()

Generates the accessArray for the user (for $this).

from eZUser
canAssignToObjectSectionList($contentObject)

from eZUser
canAssignSectionToObject($checkSectionID, $contentObject)

from eZUser
canAssignSection($checkSectionID)

from eZUser
canAssignSectionList()

from eZUser
canAssignSectionToClassList($checkSectionID)

from eZUser
hasAccessToView($module, $viewName, $params)

from eZUser
roles()

from eZUser
roleIDList()

from eZUser
limitList($useGroupsCache = true)

from eZUser
limitValueList()

from eZUser
contentObject()

from eZUser
eZUserAccountKey accountKey()

Returns the eZUserAccountKey associated with this user

from eZUser
isLoggedIn()

Returns true if the user is a registered and not anonymous user.

from eZUser
isRegistered()

Returns true if the user is a registered and not anonymous user.

from eZUser
static  isCurrentUserRegistered()

Returns whether the current user is a registered user.

from eZUser
groups($asObject = false)

from eZUser
checkUser($siteBasics, $uri)

from eZUser
preCollectUserInfo()

from eZUser
postCollectUserInfo()

from eZUser
loginURI()

from eZUser
forceLogin()

from eZUser
static  anonymousId()

Gets the id of the anonymous user.

from eZUser
static  contentClassIDs()

from eZUser
canLoginToSiteAccess($access)

from eZUser
eZTextFileUser()

Details

in eZUser at line 48
public eZUser($row = array())

Parameters

$row

in eZUser at line 168
public hasManageLocations()

in eZUser at line 191
public void store(array|null $fieldFilters = null)

Stores the object in the database, uses storeObject() to do the actual job and passes $fieldFilters to it.

Note: Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Parameters

array|null $fieldFilters

Return Value

void

in eZUser at line 202
public originalPassword()

in eZUser at line 207
public setOriginalPassword($password)

Parameters

$password

in eZUser at line 212
public originalPasswordConfirm()

in eZUser at line 217
public setOriginalPasswordConfirm($password)

Parameters

$password

in eZUser at line 222
public hasStoredLogin()

in eZUser at line 235
public setInformation($id, $login, $email, $password, $passwordConfirm = false)

Parameters

$id
$login
$email
$password
$passwordConfirm

in eZUser at line 290
static public array( fetchUnactivated(array|false|null $sort = false, int $limit = 10, int $offset)

Return an array of unactivated eZUser object

Parameters

array|false|null $sort An associative array of sorting conditions, if set to false ignores settings in $def, if set to null uses settingss in $def.
int $limit
int $offset

Return Value

array( eZUser )

in eZUser at line 620
public id()

in eZUser at line 667
static public mixed loginUser(string $login, string $password, bool $authenticationMatch = false)

Logs in the user if applied username and password is valid.

Parameters

string $login
string $password
bool $authenticationMatch

Return Value

mixed eZUser on success, bool false on failure

in eZUser at line 989
public sessionCleanup()

in eZUser at line 1013
public loginCurrent()

in eZUser at line 1193
public array( getUserCache()

Get User cache from cache file

Return Value

array( 'info' => array, 'groups' => array, 'roles' => array, 'rolelimitations' => array, 'accessarray' => array)

in eZUser at line 1207
public purgeUserCache()

Delete User cache from locale var and cache file for current user.

in eZUser at line 1220
public setUserCache(array $userCache)

Set User cache from cache file Needs to be in excact same format as {@link eZUser::getUserCache()}!

Parameters

array $userCache

in eZUser at line 1231
static public purgeUserCacheByAnonymousId()

Delete User cache from cache file for Anonymous user(usefull for sessionless users)

See also

eZUser::purgeUserCacheByUserId()

in eZUser at line 1242
static public purgeUserCacheByUserId(int $userId)

Delete User cache pr user

Parameters

int $userId

in eZUser at line 1255
static public array getUserCacheByAnonymousId()

Get User cache from cache file for Anonymous user(usefull for sessionless users)

Return Value

array

See also

eZUser::getUserCacheByUserId()

in eZUser at line 1373
public lastVisit()

in eZUser at line 1394
public int loginCount()

Returns the login count for the current user.

Return Value

int Login count for current user.

in eZUser at line 1472
public failedLoginAttempts()

in eZUser at line 1494
public isLocked()

in eZUser at line 1504
public isEnabled($useCache = true)

Parameters

$useCache

in eZUser at line 1522
public isAnonymous()

in eZUser at line 1705
public hasAccessTo($module, $function = false)

Parameters

$module
$function

in eZUser at line 1753
public array accessArray()

Returns either cached or newly generated accessArray for the user depending on site.ini[RoleSettings]\EnableCaching setting

Return Value

array

in eZUser at line 1778
public generateAccessArray()

Generates the accessArray for the user (for $this).

This function is uncached, and used as basis for user cache callback.

in eZUser at line 1812
public canAssignToObjectSectionList($contentObject)

Parameters

$contentObject

in eZUser at line 1854
public canAssignSectionToObject($checkSectionID, $contentObject)

Parameters

$checkSectionID
$contentObject

in eZUser at line 1927
public canAssignSection($checkSectionID)

Parameters

$checkSectionID

in eZUser at line 1958
public canAssignSectionList()

in eZUser at line 1992
public canAssignSectionToClassList($checkSectionID)

Parameters

$checkSectionID

in eZUser at line 2043
public hasAccessToView($module, $viewName, $params)

Parameters

$module
$viewName
$params

in eZUser at line 2223
public roles()

in eZUser at line 2233
public roleIDList()

in eZUser at line 2249
public limitList($useGroupsCache = true)

Parameters

$useGroupsCache

in eZUser at line 2270
public limitValueList()

in eZUser at line 2288
public contentObject()

in eZUser at line 2302
public eZUserAccountKey accountKey()

Returns the eZUserAccountKey associated with this user

Return Value

eZUserAccountKey

in eZUser at line 2312
public isLoggedIn()

Returns true if the user is a registered and not anonymous user.

in eZUser at line 2323
public isRegistered()

Returns true if the user is a registered and not anonymous user.

in eZUser at line 2333
static public isCurrentUserRegistered()

Returns whether the current user is a registered user.

in eZUser at line 2341
public groups($asObject = false)

Parameters

$asObject

in eZUser at line 2463
public checkUser($siteBasics, $uri)

Parameters

$siteBasics
$uri

in eZUser at line 2517
public preCollectUserInfo()

in eZUser at line 2531
public postCollectUserInfo()

in eZUser at line 2541
public loginURI()

in eZUser at line 2551
public forceLogin()

in eZUser at line 2709
static public anonymousId()

Gets the id of the anonymous user.

in eZUser at line 2723
static public contentClassIDs()

in eZUser at line 2739
public canLoginToSiteAccess($access)

Parameters

$access

at line 31
public eZTextFileUser()