Пример #1
0
 function __call($name, $arguments)
 {
     if ($name === 'list') {
         $this->list = Arr::get($arguments, 0, null);
         return $this;
     }
     return parent::__call($name, $arguments);
 }
Пример #2
0
 /**
  * @param $name
  * @param $arguments
  * @return \SleepingOwl\Admin\Models\Form\FormItem\MultiSelect|void
  * @throws MethodNotFoundException
  */
 function __call($name, $arguments)
 {
     if ($name === 'list') {
         return $this->setList(Arr::get($arguments, 0, null));
     }
     return parent::__call($name, $arguments);
 }
Пример #3
0
 function __construct($name = null, $label = null)
 {
     parent::__construct($name, $label);
     $this->view = $name;
 }