예제 #1
0
파일: page.php 프로젝트: bachnx92/vemaybay
 public function __construct()
 {
     parent::__construct();
     $this->load->helper("url");
     $this->load->model("mpage");
     $this->load->library("string");
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper("url");
     $this->load->library("string");
     $this->load->helper('directory');
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper("url");
     $this->load->helper("form");
     $this->load->model("mconfig");
 }
예제 #4
0
 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);
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper("url");
     $this->load->model("mreport");
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct();
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper("url");
     $this->load->model("mcustomer_newsletter");
 }
예제 #8
0
파일: popup.php 프로젝트: bachnx92/vemaybay
 public function __construct()
 {
     parent::__construct();
     $this->load->helper("url");
     $this->load->model("mmarketing");
 }
예제 #9
0
 function __construct($studentid)
 {
     $database = new Database();
     if ($database->connect()) {
         $studentDetails = $database->getStudentDetails($studentid);
         $database->disconnect();
         unset($database);
         if ($studentDetails != NULL) {
             parent::__construct($studentid);
         }
     }
 }