public function __construct($id, $module = null) { parent::__construct($id, $module); $this->model = new TouristInfo(); $this->model->unsetAttributes(); $this->model->with('Category'); }
public function __construct($id, $module = null) { parent::__construct($id, $module); $this->model = new \KeycontactCategory(); $this->model->unsetAttributes(); }