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

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

공개 메소드들

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

메소드 상세

assignRole() 추상적인 공개 메소드

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

createUser() 추상적인 공개 메소드

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

deleteUser() 추상적인 공개 메소드

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

load() 추상적인 공개 메소드

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

loadByEmail() 추상적인 공개 메소드

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

loadByLogin() 추상적인 공개 메소드

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

removeRole() 추상적인 공개 메소드

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

removeRoleAssignmentById() 추상적인 공개 메소드

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

updateUser() 추상적인 공개 메소드

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