/** * get's the block type controller * * @return BlockTypeController */ public function getController() { return parent::getController(); }
/** * {@inheritDoc} */ public function getController() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getController', array()); return parent::getController(); }
public function publish(Batch $batch, BlockType $bt, Page $page, Area $area, BlockValue $value) { $btc = $bt->getController(); $bx = simplexml_load_string($value->getValue()); return $btc->import($page, $area->getName(), $bx); }