kernel/user/ezuseroperationcollection.php

Show: inherited
Table of Contents

File containing the eZUserOperationCollection class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\eZUserOperationCollection

Package: kernel

File containing the eZUserOperationCollection class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

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
methodpubliccheckActivation(  $userID ) : void
static

Parameters
Name Type Description
$userID
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
methodpublicpublishUserContentObject(  $userID ) : void
static

publish the object

Parameters
Name Type Description
$userID
methodpublicsendActivationEmail(  $userID ) : void
static

Send activativation to the user

If the user is enabled, igore

Parameters
Name Type Description
$userID
methodpublicsendUserNotification(  $userID ) : void
static

Send the notification after registeration

Parameters
Name Type Description
$userID
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.