Exemplo n.º 1
0
 protected function initialize(array $options = array())
 {
     parent::initialize($options);
     if ($this->resource->hasParams()) {
         $this->options['params'] = $this->resource->getParams();
     }
 }
Exemplo n.º 2
0
 public function render()
 {
     try {
         return parent::render();
     } catch (Exception $e) {
         return '<a class="link">' . $e->getMessage() . '</a>';
     }
 }