NextDom\Managers\UserManager
Class UserManager
Synopsis
class UserManager
extends BaseManager
{
- // constants
- const DB_CLASS_NAME = '`user`';
- const CLASS_NAME = User::class;
- // Inherited constants from BaseManager
- const CLASS_NAME = '';
- const DB_CLASS_NAME = '``';
- // Inherited members from BaseManager
- protected static $baseSQL;
- protected static $prefixedBaseSQL;
- // methods
- public static User|bool connect()
- public static bool|resource connectToLDAP()
- public static User|null byLogin()
- public static array|mixed|null byLoginAndPassword()
- public static User byHash()
- public static array|mixed|null byLoginAndHash()
- public static array all()
- public static array|mixed|null searchByRight()
- public static array byProfils()
- public static array|mixed|null byEnable()
- public static void failedLogin()
- public static void removeBanIp()
- public static bool isBan()
- public static bool isBanned()
- public static string getAccessKeyForReport()
- public static void supportAccess()
- public static void storeUserInSession()
- public static User|null getStoredUser()
- public static void deadCmd()
- public static void regenerateHash()
- // Inherited methods from BaseManager
- protected static string getBaseSQL()
- protected static string getPrefixedBaseSQL()
- // Inherited methods from CommonManager
- public static mixed byId()
- protected static mixed|null getAll()
- public static int getCount()
- protected static mixed|null getAllOrdered()
- protected static mixed|null getOneByClauses()
- protected static mixed|null getMultipleByClauses()
- protected static mixed|null searchOneByClauses()
- protected static mixed|null searchMultipleByClauses()
Hierarchy
Constants
Name | Value |
---|---|
DB_CLASS_NAME | '`user`' |
CLASS_NAME | User::class |
CLASS_NAME | '' |
DB_CLASS_NAME | '``' |
Members
protected
- $baseSQL — array
- $prefixedBaseSQL — array
Methods
public
- all()
- byEnable()
- byHash()
- byLogin()
- byLoginAndHash()
- byLoginAndPassword()
- byProfils()
- connect() — Retourne un object utilisateur (si les information de connection sont valide)
- connectToLDAP()
- deadCmd()
- failedLogin()
- getAccessKeyForReport()
- getStoredUser()
- isBan()
- isBanned()
- regenerateHash()
- removeBanIp()
- searchByRight()
- storeUserInSession()
- supportAccess()
Inherited from NextDom\Managers\Parents\BaseManager
protected
- getBaseSQL() — Get base of Select SQL
- getPrefixedBaseSQL() — Get prefixed base of Select SQL
Inherited from NextDom\Managers\Parents\CommonManager
protected
- getAll() — Get all objects
- getAllOrdered() — Get all object sorted on column
- getMultipleByClauses() — Get one multiple filtered with clauses
- getOneByClauses() — Get one object filtered with clauses
- searchMultipleByClauses() — Search one multiple filtered with clauses
- searchOneByClauses() — Search one object filtered with clauses
public
- byId() — Get one object by his id
- getCount() — Get count(*).