Omeka_Application_Resource_Helpers¶
Package: Application\Resource
- class Omeka_Application_Resource_Helpers¶
extends Zend_Application_Resource_ResourceAbstract
Initializes controller action helpers.
- Omeka_Application_Resource_Helpers::init()¶
- Omeka_Application_Resource_Helpers::_initDbHelper()¶
- Omeka_Application_Resource_Helpers::_initViewRenderer()¶
- Omeka_Application_Resource_Helpers::_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
- Omeka_Application_Resource_Helpers::getDefaultResponseContexts()¶
Returns the default response contexts for Omeka.
Returns: array
- Omeka_Application_Resource_Helpers::_initAclHelper()¶