Skip to content
Snippets Groups Projects
Commit 5bea5c94 authored by Brett Bieber's avatar Brett Bieber
Browse files

Remove traces of DB_DataObject

parent f70c2563
No related branches found
No related tags found
No related merge requests found
[DB_DataObject]
database = mysql://catalog:catalog@localhost/catalog
schema_location = /home/bbieber/workspace/bulletin/Catalog
class_location = /home/bbieber/workspace/bulletin/Catalog
require_prefix = /home/bbieber/workspace/bulletin/Catalog
class_prefix = UNL_Catalog_
generator_exclude_regex = /mw_.*/
......@@ -58,18 +58,6 @@ class UNL_Catalog
$this->determineView();
}
/**
* Returns an ORM object for a table within the catalog.
*
* @param string $table Table to grab.
*
* @return object mixed.
*/
public function factory($table)
{
return DB_DataObject::factory($table);
}
/**
* Determines which view.. this is a pseudo controller for the frontend.
*/
......@@ -109,18 +97,6 @@ class UNL_Catalog
}
}
/**
* Gets an MDB2_Driver_mysql object for raw interactions with the database.
*
* @return object MDB2_Driver_mysqli
*/
public function getDatabaseConnection()
{
$c = $this->factory('courses');
$db =& $c->getDatabaseConnection();
return $db;
}
/**
* Displays search results based on $_GET['q'] parameter.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment