Exemplo n.º 1
0
 public function processRender(\blaze\web\application\BlazeContext $context)
 {
     if ($this->getRendered() === false) {
         return;
     }
     $decoratorName = $this->getDecorator();
     if ($decoratorName == null) {
         parent::processRender($context);
     } else {
         $decorator = $context->getApplication()->getDecorator($decoratorName);
         $decorator->renderBegin($context, $this);
         parent::processRender($context);
         $decorator->renderEnd($context, $this);
     }
 }
Exemplo n.º 2
0
 public function processRender(\blaze\web\application\BlazeContext $context)
 {
     parent::processRender($context);
     $this->clearEvents();
 }