PHP 클래스 eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage

상속: extends eZ\Publish\Core\FieldType\Page\PageStorage\Gateway
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$dbHandler eZ\Publish\Core\Persistence\Database\DatabaseHandler

공개 메소드들

메소드 설명
getArchivedBlockItems ( Block $block ) : Item[] 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 ( Block $block ) : Item | null Returns the block item having a highest visible date, for given block.
getValidBlockItems ( Block $block ) : Item[] Returns valid items (that are to be displayed), for a given block.
getWaitingBlockItems ( Block $block ) : Item[] Returns queued items (the next to be displayed), for a given block.
setConnection ( mixed $dbHandler ) Set database handler for this gateway.

보호된 메소드들

메소드 설명
buildBlockItem ( array $row ) : Item 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.

메소드 상세

buildBlockItem() 보호된 메소드

Builds a Page\Parts\Item object from a row returned from ezm_pool table.
protected buildBlockItem ( array $row ) : Item
$row array Hash representing a block item as stored in ezm_pool table.
리턴 eZ\Publish\Core\FieldType\Page\Parts\Item

getArchivedBlockItems() 공개 메소드

Returns archived items (that were previously displayed), for a given block.
public getArchivedBlockItems ( Block $block ) : Item[]
$block eZ\Publish\Core\FieldType\Page\Parts\Block
리턴 eZ\Publish\Core\FieldType\Page\Parts\Item[]

getConnection() 보호된 메소드

Returns the active connection.
protected getConnection ( ) : eZ\Publish\Core\Persistence\Database\DatabaseHandler
리턴 eZ\Publish\Core\Persistence\Database\DatabaseHandler

getContentIdByBlockId() 공개 메소드

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

getLastValidBlockItem() 공개 메소드

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

getValidBlockItems() 공개 메소드

Returns valid items (that are to be displayed), for a given block.
public getValidBlockItems ( Block $block ) : Item[]
$block eZ\Publish\Core\FieldType\Page\Parts\Block
리턴 eZ\Publish\Core\FieldType\Page\Parts\Item[]

getWaitingBlockItems() 공개 메소드

Returns queued items (the next to be displayed), for a given block.
public getWaitingBlockItems ( Block $block ) : Item[]
$block eZ\Publish\Core\FieldType\Page\Parts\Block
리턴 eZ\Publish\Core\FieldType\Page\Parts\Item[]

setConnection() 공개 메소드

Set database handler for this gateway.
public setConnection ( mixed $dbHandler )
$dbHandler mixed

프로퍼티 상세

$dbHandler 보호되어 있는 프로퍼티

protected DatabaseHandler,eZ\Publish\Core\Persistence\Database $dbHandler
리턴 eZ\Publish\Core\Persistence\Database\DatabaseHandler