Свойство | Type | Description | |
---|---|---|---|
$handler | eZ\Publish\Core\Persistence\Database\DatabaseHandler | Database handler. |
Méthode | Description | |
---|---|---|
__construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $handler ) | Construct from database handler. | |
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. |
public __construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $handler ) | ||
$handler | eZ\Publish\Core\Persistence\Database\DatabaseHandler |
public createUser ( eZ\Publish\SPI\Persistence\User $user ) : mixed | ||
$user | eZ\Publish\SPI\Persistence\User | |
Résultat | mixed |
public deleteUser ( mixed $userId ) | ||
$userId | mixed |
public loadByEmail ( string $email ) : array | ||
string | ||
Résultat | array |
public loadByLogin ( string $login ) : array | ||
$login | string | |
Résultat | array |
public removeRole ( mixed $contentId, mixed $roleId ) | ||
$contentId | mixed | |
$roleId | mixed |
public removeRoleAssignmentById ( mixed $roleAssignmentId ) | ||
$roleAssignmentId | mixed |
public updateUser ( eZ\Publish\SPI\Persistence\User $user ) | ||
$user | eZ\Publish\SPI\Persistence\User |