eZPublishCommunityProject  2013.4
eZ\Publish\Core\Persistence\InMemory\TrashHandler Class Reference
+ Inheritance diagram for eZ\Publish\Core\Persistence\InMemory\TrashHandler:
+ Collaboration diagram for eZ\Publish\Core\Persistence\InMemory\TrashHandler:

Public Member Functions

 __construct (Handler $handler, Backend $backend)
 Setups current handler instance with reference to Handler object that created it. More...
 
 deleteTrashItem ($trashedId)
 
 emptyTrash ()
 
 findTrashItems (Criterion $criterion=null, $offset=0, $limit=null, array $sort=null)
 Limited implementation (no criterion/sort support). More...
 
 loadTrashItem ($id)
 
 recover ($trashedId, $newParentId)
 
 trashSubtree ($locationId)
 

Protected Attributes

 $backend
 
 $handler
 

Detailed Description

See Also
eZ

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\InMemory\TrashHandler::__construct ( Handler  $handler,
Backend  $backend 
)

Setups current handler instance with reference to Handler object that created it.

Parameters
Handler$handler
Backend$backendThe storage engine backend

Member Function Documentation

eZ\Publish\Core\Persistence\InMemory\TrashHandler::deleteTrashItem (   $trashedId)
eZ\Publish\Core\Persistence\InMemory\TrashHandler::emptyTrash ( )
eZ\Publish\Core\Persistence\InMemory\TrashHandler::findTrashItems ( Criterion  $criterion = null,
  $offset = 0,
  $limit = null,
array  $sort = null 
)

Limited implementation (no criterion/sort support).

Will return all trashed locations, regardless criterion filter or sort clauses provided. Offset/Limit is however supported

See Also
eZ

Implements eZ\Publish\SPI\Persistence\Content\Location\Trash\Handler.

eZ\Publish\Core\Persistence\InMemory\TrashHandler::recover (   $trashedId,
  $newParentId 
)
See Also
eZ
Todo:
Handle field types actions

Implements eZ\Publish\SPI\Persistence\Content\Location\Trash\Handler.

eZ\Publish\Core\Persistence\InMemory\TrashHandler::trashSubtree (   $locationId)
See Also
eZ
Todo:
Handle field types actions

Implements eZ\Publish\SPI\Persistence\Content\Location\Trash\Handler.

Member Data Documentation

eZ\Publish\Core\Persistence\InMemory\TrashHandler::$backend
protected
eZ\Publish\Core\Persistence\InMemory\TrashHandler::$handler
protected

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