eZPublishCommunityProject  2013.9
eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion Class Reference

Base class for user gateways. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion:

Public Member Functions

 __construct (Gateway $innerGateway)
 Creates a new exception conversion gateway around $innerGateway. More...
 
 assignRole ($contentId, $roleId, array $limitation)
 Assigns role to user with given limitation. More...
 
 createUser (User $user)
 Create user. More...
 
 deleteUser ($userId)
 Delete user with the given ID. More...
 
 load ($userId)
 Loads user with user ID. More...
 
 loadByEmail ($email)
 Loads user with user email. More...
 
 loadByLogin ($login)
 Loads user with user login. More...
 
 removeRole ($contentId, $roleId)
 Remove role from user. More...
 
 updateUser (User $user)
 Update the user information specified by the user struct. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\User\Gateway
 assignRole ($contentId, $roleId, array $limitation)
 Assigns role to user with given limitation. More...
 
 createUser (User $user)
 Create user. More...
 
 deleteUser ($userId)
 Delete user with the given ID. More...
 
 load ($userId)
 Loads user with user ID. More...
 
 loadByEmail ($email)
 Loads user with user email. More...
 
 loadByLogin ($login)
 Loads user with user login. More...
 
 removeRole ($contentId, $roleId)
 Remove role from user. More...
 
 updateUser (User $user)
 Update the user information specified by the user struct. More...
 

Protected Attributes

 $innerGateway
 

Detailed Description

Base class for user gateways.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::__construct ( Gateway  $innerGateway)

Creates a new exception conversion gateway around $innerGateway.

Parameters
Gateway$innerGateway

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::assignRole (   $contentId,
  $roleId,
array  $limitation 
)

Assigns role to user with given limitation.

Parameters
mixed$contentId
mixed$roleId
array$limitation
eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::createUser ( User  $user)

Create user.

Parameters
user$user
Returns
mixed
eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::deleteUser (   $userId)

Delete user with the given ID.

Parameters
mixed$userId
eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::load (   $userId)

Loads user with user ID.

Parameters
mixed$userId
Returns
array
eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::loadByEmail (   $email)

Loads user with user email.

Parameters
string$email
Returns
array
eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::loadByLogin (   $login)

Loads user with user login.

Parameters
string$login
Returns
array
eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::removeRole (   $contentId,
  $roleId 
)

Remove role from user.

Parameters
mixed$contentId
mixed$roleId
eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::updateUser ( User  $user)

Update the user information specified by the user struct.

Parameters
User$user

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::$innerGateway
protected

The documentation for this class was generated from the following file: