Omeka_Application

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.

Parameters:
  • $environment (string) – The environment name.

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

Omeka_Application::initialize()

Bootstrap the entire application.

Omeka_Application::run()

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.

Parameters:
  • $e (Exception) –

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