define_action_contexts
Filters the array of action contexts as passed to Zend Framework's ContextSwitch::addActionContexts().
Arguments:
- $contexts: Array of action contexts
- $contextSwitcher: Zend ContextSwitch object
Example
The $contexts array looks like this:
array( 'some-action' => array('xml'), 'another-action' => array('xml', 'json') );
The array specifies which response contexts are available for each controller action. For information about defining response contexts themselves, see the documentation for define_response_contexts.
