示例#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
文件: View.php 项目: gr00d/admin
 function __construct($name = null, $label = null)
 {
     parent::__construct($name, $label);
     $this->view = $name;
 }