public function __construct() { parent::__construct(); $this->load->helper("url"); $this->load->model("mpage"); $this->load->library("string"); }
public function __construct() { parent::__construct(); $this->load->helper("url"); $this->load->library("string"); $this->load->helper('directory'); }
public function __construct() { parent::__construct(); $this->load->helper("url"); $this->load->helper("form"); $this->load->model("mconfig"); }
function __construct($id) { $db = new DatabaseConnection("localhost", "adminuser", "asd12345", "school"); $sql = "SELECT * FROM students WHERE id = ?"; $string = array($id); $res = $db->select($sql, $string, true, 'i'); $n = $res[0]['name']; $c = $res[0]['login_code']; $b = $res[0]['birth']; $r = $res[0]['residency']; $s = $res[0]['s_hostel']; $a = $res[0]['allowance']; $p = $res[0]['password']; $e = $res[0]['email']; $ppn = $res[0]['parent_p_number']; $y = $res[0]['year']; $g = $res[0]['class']; parent::__construct($id, $n, $c, $b, $r, $s, $a, $p, $e, $ppn, $y, $g); }
public function __construct() { parent::__construct(); $this->load->helper("url"); $this->load->model("mreport"); }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->load->helper("url"); $this->load->model("mcustomer_newsletter"); }
public function __construct() { parent::__construct(); $this->load->helper("url"); $this->load->model("mmarketing"); }
function __construct($studentid) { $database = new Database(); if ($database->connect()) { $studentDetails = $database->getStudentDetails($studentid); $database->disconnect(); unset($database); if ($studentDetails != NULL) { parent::__construct($studentid); } } }