public function __construct($id) { $this->id = $id; parent::__construct(); $path = $this->template->get_path(); $this->set_template_dir($path . DS . 'templates' . DS . 'admin_panel' . DS . 'users'); }
public function __construct($page = 1) { parent::__construct(); $path = $this->template->get_path(); $this->set_template_dir($path . DS . 'templates' . DS . 'admin_panel' . DS . 'users'); $this->add_template_dir($path . DS . 'templates' . DS . 'admin_panel' . DS . 'common'); $this->page = $page; }
public function __construct() { parent::__construct(); $path = $this->template->get_path(); $this->set_template_dir($path . DS . 'templates' . DS . 'admin_panel' . DS . 'login'); }