public function __construct(\App\Tour $model, \App\TourSchedule $schedule_model) { parent::__construct(); $this->model = $model; $this->schedule_model = $schedule_model; $this->layout->view_name = $this->view_name; $this->layout->route_name = $this->route_name; $this->page_base_dir .= $this->view_name . '.'; $this->layout->content_title = strtoupper($this->view_name); }
public function __construct() { parent::__construct(); }