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