/** * Checks if the value is an array in the "scope" of the caller class. * * @param string $key The name of the key. * * @return bool TRUE if its an array, FALSE if not. */ public function checkIsArrayFromOrigin($key) { return parent::checkIsArray($key); }
/** * Displays the given block * * @param \YapepBase\View\BlockAbstract $block The block. * * @return void */ protected function renderBlock(BlockAbstract $block) { // The View Object can have a layout, so we give it to the block as well to provide access if ($this instanceof IHasLayout && $this->checkHasLayout()) { $block->setLayout($this->getLayout()); } elseif ($this instanceof LayoutAbstract) { $block->setLayout($this); } echo $block->toString(); }