API Documentation

Controller/Action/Helper/AjaxContext.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Controller
subpackage
Zend_Controller_Action_Helper
version
$Id: AjaxContext.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Controller_Action_Helper_AjaxContext

Description

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.

Zend_Controller_Action_Helper_AjaxContext

Extends from
Zend_Controller_Action_Helper_ContextSwitch
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Controller
subpackage
Zend_Controller_Action_Helper
uses
Zend_Controller_Action_Helper_Abstract
Properties
$_contextKey
Methods
__construct
initContext

Description

Simplify AJAX context switching based on requested format

Properties

$_contextKey

string $_contextKey = 'ajaxable'

Controller property to utilize for context switching

Details

$_contextKey
string
visibility
protected
default
ajaxable
final
false
static
false

Methods

__construct

__construct( ) : void

Constructor

Add HTML context

Details
visibility
public
final
false
static
false

initContext

initContext( string $format = null ) : void

Initialize AJAX context switching

Checks for XHR requests; if detected, attempts to perform context switch.

Arguments
$format
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.