예제 #1
0
	function connect_DB()
	{		
		return DBFactory::getDBHandler();
	}
예제 #2
0
 /**
  * Constructor to create a DAO for a specific table
  * @param table Name of the table
  */
 public function __construct($table)
 {
     $this->table = $table;
     $this->dbh = DBFactory::getDBHandler();
 }