PHP Class eZ\Publish\Core\FieldType\Page\PageStorage\Gateway

Inheritance: extends eZ\Publish\Core\FieldType\StorageGateway
Exibir arquivo Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
getArchivedBlockItems ( Block $block ) : Item[]
getContentIdByBlockId ( integer | string $id ) : integer | string Returns Content id for the given Block $id, or false if Block could not be found.
getLastValidBlockItem ( Block $block ) : Item | null Returns the block item having a highest visible date, for given block.
getValidBlockItems ( Block $block ) : Item[]
getWaitingBlockItems ( Block $block ) : Item[]

Method Details

getArchivedBlockItems() abstract public method

abstract public getArchivedBlockItems ( Block $block ) : Item[]
$block eZ\Publish\Core\FieldType\Page\Parts\Block
return eZ\Publish\Core\FieldType\Page\Parts\Item[]

getContentIdByBlockId() abstract public method

Returns Content id for the given Block $id, or false if Block could not be found.
abstract public getContentIdByBlockId ( integer | string $id ) : integer | string
$id integer | string
return integer | string

getLastValidBlockItem() abstract public method

Will return null if no block item is registered for block.
abstract public getLastValidBlockItem ( Block $block ) : Item | null
$block eZ\Publish\Core\FieldType\Page\Parts\Block
return eZ\Publish\Core\FieldType\Page\Parts\Item | null

getValidBlockItems() abstract public method

abstract public getValidBlockItems ( Block $block ) : Item[]
$block eZ\Publish\Core\FieldType\Page\Parts\Block
return eZ\Publish\Core\FieldType\Page\Parts\Item[]

getWaitingBlockItems() abstract public method

abstract public getWaitingBlockItems ( Block $block ) : Item[]
$block eZ\Publish\Core\FieldType\Page\Parts\Block
return eZ\Publish\Core\FieldType\Page\Parts\Item[]