Omeka_Application_Resource_Helpers

class Omeka_Application_Resource_Helpers

Package: Application\Resource

Initializes controller action helpers.

init()
_initDbHelper()
_initViewRenderer()
_initResponseContexts()

Define the custom response format contexts for Omeka.

Plugin writers should use the ‘response_contexts’ filter to modify or expand the list of formats that existing controllers may respond to.

Example of a definition of a response context through the ZF API:

$contexts->addContext(‘dc’, array(‘suffix’ => ‘dc’,’headers’ => array(‘Content-Type’ => ‘text/xml’),’callbacks’ => array(‘init’ => ‘atBeginningDoThis’,’post’ => ‘afterwardsDoThis’)));

Returns:void
getDefaultResponseContexts()

Returns the default response contexts for Omeka.

Returns:array
_initAclHelper()

Project Versions

Previous topic

Omeka_Application_Resource_Frontcontroller

Next topic

Omeka_Application_Resource_Jobs

This Page