Class

eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\DoctrineStorage

class DoctrineStorage extends Gateway

Constants

EZM_POOL_TABLE

EZM_BLOCK_TABLE

Methods

Item[] getValidBlockItems(Block $block)

Return valid items (that are to be displayed), for a given block.

Item|null getLastValidBlockItem(Block $block)

Return the block item having a highest visible date, for given block.

Item[] getWaitingBlockItems(Block $block)

Return queued items (the next to be displayed), for a given block.

Item[] getArchivedBlockItems(Block $block)

Return archived items (that were previously displayed), for a given block.

int getContentIdByBlockId(string $id)

Return Content id for the given Block $id or false if Block could not be found.

__construct(Connection $connection)

Details

at line 41
public Item[] getValidBlockItems(Block $block)

Return valid items (that are to be displayed), for a given block.

Parameters

Block $block

Return Value

Item[]

at line 100
public Item|null getLastValidBlockItem(Block $block)

Return the block item having a highest visible date, for given block.

Return null if no block item is registered for block.

Parameters

Block $block

Return Value

Item|null

at line 149
public Item[] getWaitingBlockItems(Block $block)

Return queued items (the next to be displayed), for a given block.

Parameters

Block $block

Return Value

Item[]

at line 200
public Item[] getArchivedBlockItems(Block $block)

Return archived items (that were previously displayed), for a given block.

Parameters

Block $block

Return Value

Item[]

at line 248
public int getContentIdByBlockId(string $id)

Return Content id for the given Block $id or false if Block could not be found.

Parameters

string $id

Return Value

int

Exceptions

NotFoundException If block could not be found.

at line 29
public __construct(Connection $connection)

Parameters

Connection $connection