public function compile(JsUtils $js = NULL, $view = NULL) { $this->content = array(); if (isset($this->default)) { $default = new HtmlOption("", $this->default); $this->content[] = $default; } foreach ($this->options as $option) { $this->content[] = $option; } return parent::compile($js, $view); }
public function compile(JsUtils $js = NULL, &$view = NULL) { if (isset($this->_popup)) { $this->_popup->compile(); } return parent::compile($js, $view); }