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