예제 #1
0
 public function __construct()
 {
     $connection = new DBconfig();
     // database connection
     $this->connection = $connection->connectToDatabase();
     $this->helper = new helper();
     // calling helper class
 }
예제 #2
0
파일: home.php 프로젝트: azfarahmed/easyphp
 public function __construct()
 {
     $connection = new DBconfig();
     $this->connection = $connection->connectToDatabase();
 }