コード例 #1
0
 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);
 }
コード例 #2
0
 public function compile(JsUtils $js = NULL, &$view = NULL)
 {
     if (isset($this->_popup)) {
         $this->_popup->compile();
     }
     return parent::compile($js, $view);
 }