eZ\Publish\Core\FieldType\Page\PageStorage\Gateway\LegacyStorage::buildBlockItem PHP Метод

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
    protected function buildBlockItem(array $row)
    {
        return new Item(array('blockId' => $row['block_id'], 'contentId' => (int) $row['object_id'], 'locationId' => (int) $row['node_id'], 'priority' => (int) $row['priority'], 'publicationDate' => new DateTime("@{$row['ts_publication']}"), 'visibilityDate' => $row['ts_visible'] ? new DateTime("@{$row['ts_visible']}") : null, 'hiddenDate' => $row['ts_hidden'] ? new DateTime("@{$row['ts_hidden']}") : null, 'rotationUntilDate' => $row['rotation_until'] ? new DateTime("@{$row['rotation_until']}") : null, 'movedTo' => $row['moved_to']));
    }