eZPublishCommunityProject  2013.5
eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage Class Reference
+ Inheritance diagram for eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage:
+ Collaboration diagram for eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage:

Public Member Functions

 setConnection ($dbHandler)
 Set database handler for this gateway. More...
 
- Public Member Functions inherited from eZ\Publish\Core\FieldType\Page\PageStorage\Gateway
 getArchivedBlockItems (Block $block)
 
 getLastValidBlockItem (Block $block)
 Returns the block item having a highest visible date, for given block. More...
 
 getValidBlockItems (Block $block)
 
 getWaitingBlockItems (Block $block)
 
- Public Member Functions inherited from eZ\Publish\Core\FieldType\StorageGateway
 setConnection ($connection)
 Sets the data storage connection to use. More...
 

Protected Member Functions

 buildBlockItem (array $row)
 Builds a Page object from a row returned from ezm_pool table. More...
 
 getConnection ()
 Returns the active connection. More...
 

Protected Attributes

 $dbHandler
 

Member Function Documentation

eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage::buildBlockItem ( array  $row)
protected

Builds a Page object from a row returned from ezm_pool table.

Parameters
array$rowHash representing a block item as stored in ezm_pool table.
Returns
eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage::getConnection ( )
protected

Returns the active connection.

Exceptions
\RuntimeExceptionif no connection has been set, yet.
Returns
eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage::setConnection (   $dbHandler)

Set database handler for this gateway.

Parameters
mixed$dbHandler
Returns
void
Exceptions
\RuntimeExceptionif $dbHandler is not an instance of eZ\Publish\Core\Persistence\Legacy\EzcDbHandler

Member Data Documentation

eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage::$dbHandler
protected

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