Class User

Concrete\Core\Foundation\Object
Extended by Concrete\Core\User\User
Namespace: Concrete\Core\User
Located at src/User/User.php

Methods summary

public static Concrete\Core\User\User|null
# getByUserID( integer $uID, boolean $login = false, boolean $cacheItemsOnLogin = true )

Return an User instance given its id (or null if it's not found)

public Concrete\Core\User\User
# loginByUserID( integer $uID )
public static
public
public
public
public
public
# recordView( $c )
public
# encryptPassword( $uPassword, $salt = null )
public
# legacyEncryptPassword( $uPassword )
public
# isActive( )
public
public
public
public
public
public
public
public
# setAuthTypeCookie( $authType )
public
public
public
public
# logout( $hard = true )
public
# invalidateSession( $hard = true )
public static
public
public
public
# setUserDefaultLanguage( $lang )

Sets a default language for a user record.

public
# getUserDefaultLanguage( )

Gets the default language for the logged-in user.

public
# getLastPasswordChange( )

Gets the default language for the logged-in user.

public
# getUserLanguageToDisplay( )

Checks to see if the current user object is registered. If so, it queries that records default language. Otherwise, it falls back to sitewide settings.

public
public
public
# _getUserGroups( $disableLogin = false )
public
# enterGroup( $g )
public
# exitGroup( $g )
public
# inGroup( $g )
public
# loadMasterCollectionEdit( $mcID, $ocID )
public
public
# unloadCollectionEdit( $removeCache = true )
public
# config( $cfKey )
public
public
public
# saveConfig( $cfKey, $cfValue )
public
public
public Hautelook\Phpass\PasswordHash
# getUserPasswordHasher( )
public
# persist( boolean $cache_interface = true )

Manage user session writing.

public
# logIn( $cache_interface = true )

Properties summary

public string $uID
# ''
public string $uName
# ''
public array $uGroups
# array()
public boolean $superUser
# false
public $uTimezone
# null
protected $uDefaultLanguage
# null
protected array $accessEntities
# array()
protected $hasher
#
protected $uLastPasswordChange
#

Properties inherited from Concrete\Core\Foundation\Object

$error