Exemplo n.º 1
0
 public function getScopeItems()
 {
     $items = parent::getScopeItems();
     $items['b'] = $this->block;
     $items['bt'] = $this->blockType;
     $items['a'] = $this->area;
     return $items;
 }
Exemplo n.º 2
0
 public function startRender()
 {
     $event = new \Symfony\Component\EventDispatcher\GenericEvent();
     $event->setArgument('view', $this);
     Events::dispatch('on_start', $event);
     parent::startRender();
 }