eZPublishCommunityProject  2013.9
eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationConverter Class Reference

Limitation Handler. More...

Public Member Functions

 __construct (array $limitationHandlers)
 Construct from LimitationConverter. More...
 
 toLegacy (Policy $policy)
 
 toSPI (Policy $policy)
 

Protected Attributes

 $limitationHandlers
 

Detailed Description

Limitation Handler.

Takes care of Converting a Policy limitation from Legacy value to spi value accepted by API.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationConverter::__construct ( array  $limitationHandlers)

Construct from LimitationConverter.

Parameters
\eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler[]$limitationHandlers

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationConverter::toLegacy ( Policy  $policy)
Parameters
Policy$policy
eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationConverter::toSPI ( Policy  $policy)
Parameters
Policy$policy

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationConverter::$limitationHandlers
protected

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