Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Simplify AJAX context switching based on requested format
string $_contextKey = 'ajaxable'Controller property to utilize for context switching
Details__construct(
)
:
voidConstructor
Add HTML context
DetailsinitContext(
string $format
=
null
)
:
voidInitialize AJAX context switching
Checks for XHR requests; if detected, attempts to perform context switch.
Details