function connect_DB() { return DBFactory::getDBHandler(); }
/** * 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(); }