eZPublishCommunityProject  2013.5
eZ\Bundle\EzPublishCoreBundle\FieldType\Page\PageService Class Reference
+ Inheritance diagram for eZ\Bundle\EzPublishCoreBundle\FieldType\Page\PageService:
+ Collaboration diagram for eZ\Bundle\EzPublishCoreBundle\FieldType\Page\PageService:

Public Member Functions

 getValidBlockItemsAsContentInfo (Block $block)
 Returns valid block items as content objects. More...
 
 setRepository (Repository $repository)
 
- Public Member Functions inherited from eZ\Publish\Core\FieldType\Page\PageService
 __construct (array $zoneDefinition=array(), array $blockDefinition=array())
 Constructor. More...
 
 getArchivedBlockItems (Block $block)
 Returns archived items (that were previously displayed), for a given block. More...
 
 getAvailableZoneLayouts ()
 Returns list of available zone layouts. More...
 
 getBlockDefinition ()
 Returns block definition as an array. More...
 
 getBlockDefinitionByIdentifier ($blockIdentifier)
 Returns a block definition for a given block identifier. More...
 
 getLastValidBlockItem (Block $block)
 Returns the last valid item, for a given block. More...
 
 getLayoutTemplate ($layoutIdentifier)
 Returns the template to use for given layout. More...
 
 getValidBlockItems (Block $block)
 Returns valid items (that are to be displayed), for a given block. More...
 
 getWaitingBlockItems (Block $block)
 Returns queued items (the next to be displayed), for a given block. More...
 
 getZoneDefinition ()
 Returns zone definition as an array. More...
 
 getZoneDefinitionByLayout ($layoutIdentifier)
 Returns a zone definition for a given layout. More...
 
 hasBlockDefinition ($blockIdentifier)
 Checks if block definition contains a block having $blockIdentifier as identifier. More...
 
 hasStorageGateway ()
 Checks if storage gateway has already been injected or not. More...
 
 hasZoneLayout ($layoutIdentifier)
 Checks if zone definition contains a layout having $layoutIdentifier as identifier. More...
 
 setStorageGateway (Gateway $storageGateway)
 Injects the storage gateway to interact with. More...
 

Protected Attributes

 $repository
 
- Protected Attributes inherited from eZ\Publish\Core\FieldType\Page\PageService
 $archivedBlockItems
 
 $blockDefinition
 
 $lastValidItems
 
 $storageGateway
 
 $validBlockItems
 
 $waitingBlockItems
 
 $zoneDefinition
 

Additional Inherited Members

- Protected Member Functions inherited from eZ\Publish\Core\FieldType\Page\PageService
 getStorageGateway ()
 

Member Function Documentation

eZ\Bundle\EzPublishCoreBundle\FieldType\Page\PageService::getValidBlockItemsAsContentInfo ( Block  $block)

Returns valid block items as content objects.

Parameters
\eZ\Publish\Core\FieldType\Page\Parts\Block$block
Returns
[]
eZ\Bundle\EzPublishCoreBundle\FieldType\Page\PageService::setRepository ( Repository  $repository)
Parameters
\eZ\Publish\API\Repository\Repository$repository
Returns
void

Implements eZ\Publish\Core\MVC\RepositoryAwareInterface.

Member Data Documentation

eZ\Bundle\EzPublishCoreBundle\FieldType\Page\PageService::$repository
protected

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