PHP Class eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion

Inheritance: extends eZ\Publish\Core\Persistence\Legacy\User\Gateway
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$innerGateway eZ\Publish\Core\Persistence\Legacy\User\Gateway The wrapped gateway.

Public Methods

Method Description
__construct ( Gateway $innerGateway ) Creates a new exception conversion gateway around $innerGateway.
assignRole ( mixed $contentId, mixed $roleId, array $limitation ) Assigns role to user with given limitation.
createUser ( eZ\Publish\SPI\Persistence\User $user ) : mixed Create user.
deleteUser ( mixed $userId ) Delete user with the given ID.
load ( mixed $userId ) : array Loads user with user ID.
loadByEmail ( string $email ) : array Loads user with user email.
loadByLogin ( string $login ) : array Loads user with user login.
removeRole ( mixed $contentId, mixed $roleId ) Remove role from user or user group.
removeRoleAssignmentById ( mixed $roleAssignmentId ) Remove role from user or user group, by assignment ID.
updateUser ( eZ\Publish\SPI\Persistence\User $user ) Update the user information specified by the user struct.

Method Details

__construct() public method

Creates a new exception conversion gateway around $innerGateway.
public __construct ( Gateway $innerGateway )
$innerGateway eZ\Publish\Core\Persistence\Legacy\User\Gateway

assignRole() public method

Assigns role to user with given limitation.
public assignRole ( mixed $contentId, mixed $roleId, array $limitation )
$contentId mixed
$roleId mixed
$limitation array

createUser() public method

Create user.
public createUser ( eZ\Publish\SPI\Persistence\User $user ) : mixed
$user eZ\Publish\SPI\Persistence\User
return mixed

deleteUser() public method

Delete user with the given ID.
public deleteUser ( mixed $userId )
$userId mixed

load() public method

Loads user with user ID.
public load ( mixed $userId ) : array
$userId mixed
return array

loadByEmail() public method

Loads user with user email.
public loadByEmail ( string $email ) : array
$email string
return array

loadByLogin() public method

Loads user with user login.
public loadByLogin ( string $login ) : array
$login string
return array

removeRole() public method

Remove role from user or user group.
public removeRole ( mixed $contentId, mixed $roleId )
$contentId mixed
$roleId mixed

removeRoleAssignmentById() public method

Remove role from user or user group, by assignment ID.
public removeRoleAssignmentById ( mixed $roleAssignmentId )
$roleAssignmentId mixed

updateUser() public method

Update the user information specified by the user struct.
public updateUser ( eZ\Publish\SPI\Persistence\User $user )
$user eZ\Publish\SPI\Persistence\User

Property Details

$innerGateway protected_oe property

The wrapped gateway.
protected Gateway,eZ\Publish\Core\Persistence\Legacy\User $innerGateway
return eZ\Publish\Core\Persistence\Legacy\User\Gateway