Omeka_Application_Resource_Db

Package: Application\Resource

class Omeka_Application_Resource_Db

extends Zend_Application_Resource_Db

Set up the default database connection for Omeka.

constant Omeka_Application_Resource_Db::INIT_COMMAND

Command to run at connect time; currently sets the SQL mode

Omeka_Application_Resource_Db::init()
Returns:Omeka_Db
Omeka_Application_Resource_Db::setinipath($path)

Set the path to the database configuration file.

Allows {@link $_iniPath} to be set by the app configuration.

Parameters:
  • $path (string) –