Package: Application

class Omeka_Application

extends Zend_Application

Core class used to bootstrap the Omeka environment.

Various duties include, but are not limited to setting up class autoload, database, configuration files, logging, plugins, front controller, etc.

When any core resource returns from init(), the result is stored in the bootstrap container. Other parts of the application can get the resources from the bootstrap when needed.

Omeka_Application::__construct($environment, $options = null)

Initialize the application.

  • $environment (string) – The environment name.
  • $options (string|array|Zend_Config) – Application configuration.

Bootstrap the entire application.


Display the generic error page for all otherwise-uncaught exceptions.

Omeka_Application::_displayErrorPage($e, $title = null)

Print an HTML page to display errors when starting the application.

  • $e (Exception) –
  • $title (string) – The title of the error page.