Omeka_Application_Resource_Db

class Omeka_Application_Resource_Db

Package: Application\Resource

Set up the default database connection for Omeka.

property _iniPath

Path to the database configuration file. Set in application.ini

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

Set the path to the database configuration file.

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

Parameters:
  • $path (string) –