PHP 클래스 eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion

상속: extends eZ\Publish\Core\Persistence\Legacy\User\Gateway
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$innerGateway eZ\Publish\Core\Persistence\Legacy\User\Gateway The wrapped gateway.

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

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

assignRole() 공개 메소드

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

createUser() 공개 메소드

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

deleteUser() 공개 메소드

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

load() 공개 메소드

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

loadByEmail() 공개 메소드

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

loadByLogin() 공개 메소드

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

removeRole() 공개 메소드

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

removeRoleAssignmentById() 공개 메소드

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

updateUser() 공개 메소드

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

프로퍼티 상세

$innerGateway 보호되어 있는 프로퍼티

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