kernel/user/ezuseroperationcollection.php

Show: inherited
Table of Contents

\eZUserOperationCollection

Package:

Methods

methodpublicactivation( int $userID, string $userHash, bool $enableUser = false ) : array
static

Activate user with user or deactivate and create new eZUserAccountKey with user hash depending on $enableUser being true or not.

Parameters
Name Type Description
$userID int
$userHash string
$enableUser bool
Returns
Type Description
array An array with operation status, always true if userID is ok
methodpubliceZUserOperationCollection( ) : void

methodpublicforgotpassword( int $userID, string $passwordHash, int $time ) : array
static

Generate forgotpassword object

Parameters
Name Type Description
$userID int
$passwordHash string
$time int
Returns
Type Description
array An array with operation status, always true if userID is ok
methodpublicpassword( int $userID, string $newPassword ) : array
static

Change user password

Parameters
Name Type Description
$userID int
$newPassword string
Returns
Type Description
array An array with operation status, always true if userID is ok
methodpublicpreferences( string $key, string $value ) : array
static

Set user preferences Only needed for operations, call eZPreferences::setValue() directly if you want to set user preferences

Parameters
Name Type Description
$key string
$value string
Returns
Type Description
array An array with operation status, always true
methodpublicsetSettings( int $userID, int $isEnabled, int $maxLogin ) : array
static

Changes user settings

Parameters
Name Type Description
$userID int
$isEnabled int
$maxLogin int
Returns
Type Description
array An array with operation status, always true if userID is ok
Documentation was generated by DocBlox 0.18.1.