Spork Code Libraries

XmlHttpRequestStrategy

Disables layouts on XML HTTP Requests

Summary

Properties

Constants

Extends
\Zend\EventManager\AbstractListenerAggregate

Methods

attach()

attach(\Zend\EventManager\EventManagerInterface  $events) 

Attach listeners

Parameters

\Zend\EventManager\EventManagerInterface $events
See also

handleXmlHttpRequest()

handleXmlHttpRequest(\Zend\Mvc\MvcEvent  $event) 

If request is an XML HTTP Request disable layouts

Parameters

\Zend\Mvc\MvcEvent $event