public function getPageTypeComposerOutputContentItems(Type $type) { $items = array(); foreach ($type->getPageTypePageTemplateObjects() as $template) { $c = $type->getPageTypePageTemplateDefaultPageObject($template); $blocks = $c->getBlocks(); foreach ($blocks as $b) { if ($b->getBlockTypeHandle() == BLOCK_HANDLE_PAGE_TYPE_OUTPUT_PROXY) { $item = new ComposerOutputContentItem($b); if ($item->getBlock()) { $items[] = $item; } } } } return $items; }
public function getPageTypePageTemplateObjects() { return parent::getPageTypePageTemplateObjects(); }