abstract class Gateway extends StorageGateway
Main abstract storage gateway for Page field type.
Methods
Item[] |
getValidBlockItems(Block $block)
|
|
Item|null |
getLastValidBlockItem(Block $block)
Returns the block item having a highest visible date, for given block. |
|
Item[] |
getWaitingBlockItems(Block $block)
|
|
Item[] |
getArchivedBlockItems(Block $block)
|
|
int|string |
getContentIdByBlockId(int|string $id)
Returns Content id for the given Block $id, or false if Block could not be found. |
Details
at line 24
abstract public Item[]
getValidBlockItems(Block $block)
at line 34
abstract public Item|null
getLastValidBlockItem(Block $block)
Returns the block item having a highest visible date, for given block.
Will return null if no block item is registered for block.
at line 41
abstract public Item[]
getWaitingBlockItems(Block $block)
at line 48
abstract public Item[]
getArchivedBlockItems(Block $block)
at line 60
abstract public int|string
getContentIdByBlockId(int|string $id)
Returns Content id for the given Block $id, or false if Block could not be found.