Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->template = "main";
     $this->layout = "layout1";
     $this->model = new PageModel();
     $this->pk = $this->model->pk;
     $this->data['pk'] = $this->pk;
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->template = "main";
     $this->layout = "layout1";
     $this->data['add_plugin'] .= '<script src="' . URL::Base() . 'assets/js/calendar/moment.min.js"></script>';
     $this->data['add_plugin'] .= '<script src="' . URL::Base() . 'assets/js/calendar/fullcalendar.min.js"></script>';
     $this->data['add_plugin'] .= '<link href="' . URL::Base() . 'assets/js/calendar/fullcalendar.min.css" rel="stylesheet">';
 }
 public function __construct()
 {
     parent::__construct();
     $this->init();
 }