Exemplo n.º 1
0
 public function run()
 {
     if (!$this->multiple) {
         return parent::run();
     } else {
         $input = $this->renderInput($this->model->{$this->attribute}, $this->attribute);
         $res = $this->appendable ? $this->wrapAppendable($input) : $input;
     }
     return $res;
 }
Exemplo n.º 2
0
 public function init()
 {
     parent::init();
     $this->options['name'] = $this->name;
 }