/** @depricated Only used if no database connection has been made before ::forwardRequest. * does not support PntPdoDao */ function initDatabaseConnection() { $dbc = new DatabaseConnection(); $dbc->setUserName($this->dbUser); $dbc->setPassword($this->dbPwd); $dbc->setHost($this->dbAddress); $dbc->setPort($this->dbPort); $dbc->setDatabaseName($this->dbName); $dbc->makeConnection(); } |