Methods |
public
static
|
getInstance(): Module
|
#
|
public
|
init()
Initializes module.
|
#
|
public
|
onAfterDeleteUser($aArgs, &$mResult)
|
#
|
public
static
|
generateHashId($aData)
|
#
|
public
|
CreateMin(string $HashId, array $Parameters, int $UserId = null, int $ExpireDate = null): string|boolean
Crates min hash.
Parameters
$HashId |
Hash identifier.
|
$Parameters |
Hash parameters.
|
$UserId |
User identifier.
|
|
#
|
public
|
GetMinByHash(string $sHash): array|bool
Returns parameters object by min hash.
Returns parameters object by min hash.
Parameters
|
#
|
public
|
GetMinByID(string $Id): array|bool
Returns parameters object by min hash identifier.
Returns parameters object by min hash identifier.
|
#
|
public
|
GetMinListByUserId($UserId): array|bool
Returns parameters object by min hash identifier.
Returns parameters object by min hash identifier.
|
#
|
public
|
UpdateMinByID(string $Id, array $Data, string $NewId = null): boolean
Updates min hash by min hash identifier.
Updates min hash by min hash identifier.
Parameters
$Id |
Hash identifier.
|
$Data |
Hash parameters.
|
$NewId |
New hash identifier.
|
|
#
|
public
|
UpdateMinByHash(string $Hash, array $Data, string $NewHash = null): boolean
Updates min hash by min hash.
Updates min hash by min hash.
Parameters
$Hash |
Min hash.
|
$Data |
Hash parameters.
|
$NewHash |
New min hash.
|
|
#
|
public
|
DeleteMinByID(string $Id): boolean
Deletes min hash by min hash identifier.
Deletes min hash by min hash identifier.
|
#
|
public
|
DeleteMinByHash($Hash)
|
#
|
public
|
DeleteExpiredHashes($Time)
|
#
|