Property | Type | Description | |
---|---|---|---|
$dbHandler | eZ\Publish\Core\Persistence\Database\DatabaseHandler |
Method | Description | |
---|---|---|
getArchivedBlockItems ( |
Returns archived items (that were previously displayed), for a given block. | |
getContentIdByBlockId ( integer | string $id ) : integer | Returns Content id for the given Block $id, or false if Block could not be found. | |
getLastValidBlockItem ( |
Returns the block item having a highest visible date, for given block. | |
getValidBlockItems ( |
Returns valid items (that are to be displayed), for a given block. | |
getWaitingBlockItems ( |
Returns queued items (the next to be displayed), for a given block. | |
setConnection ( mixed $dbHandler ) | Set database handler for this gateway. |
Method | Description | |
---|---|---|
buildBlockItem ( array $row ) : |
Builds a Page\Parts\Item object from a row returned from ezm_pool table. | |
getConnection ( ) : eZ\Publish\Core\Persistence\Database\DatabaseHandler | Returns the active connection. |
protected buildBlockItem ( array $row ) : |
||
$row | array | Hash representing a block item as stored in ezm_pool table. |
return |
public getArchivedBlockItems ( |
||
$block | ||
return |
protected getConnection ( ) : eZ\Publish\Core\Persistence\Database\DatabaseHandler | ||
return | eZ\Publish\Core\Persistence\Database\DatabaseHandler |
public getLastValidBlockItem ( |
||
$block | ||
return |
public getValidBlockItems ( |
||
$block | ||
return |
public getWaitingBlockItems ( |
||
$block | ||
return |
public setConnection ( mixed $dbHandler ) | ||
$dbHandler | mixed |