getModel() public static method

Get the model instance being queried.
public static getModel ( ) : Model
return Illuminate\Database\Eloquent\Model
示例#1
0
文件: FormFilter.php 项目: larakit/lk
 function __construct($model)
 {
     $this->model = $model::select();
     $this->base_url = \URL::current();
     $this->form = new LaraForm('filter_' . $this->model->getModel()->getEntity(), 'get');
 }