uses |
|
category |
Zend |
package |
Zend_Controller |
subpackage |
Zend_Controller_Action_Helper |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_Controller_Action_Helper_AutoComplete_Abstract |
Methods
Strategy pattern: allow calling helper as broker method
direct(mixed $data, boolean $sendNow = true
, boolean $keepLayouts = false
) : string | void
Inherited
Prepares autocompletion data and, if $sendNow is true, immediately sends
response.
Parameters
$data
mixed
$sendNow
boolean
$keepLayouts
boolean
Returns
string
void
Disable layouts and view renderer
disableLayouts() : \Zend_Controller_Action_Helper_AutoComplete_Abstract
Inherited
Returns
\Zend_Controller_Action_Helper_AutoComplete_Abstract
Provides a fluent interface
Encode data to JSON
encodeJson(mixed $data, boolean $keepLayouts = false
) : string
Inherited
Parameters
$data
mixed
$keepLayouts
boolean
Exceptions
\Zend_Controller_Action_Exception |
|
Returns
string
Retrieve current action controller
getActionController() : \Zend_Controller_Action
Inherited
Returns
\Zend_Controller_Action
Retrieve front controller instance
getFrontController() : \Zend_Controller_Front
Inherited
Returns
\Zend_Controller_Front
getName()
getName() : string
Inherited
getRequest() -
getRequest() : \Zend_Controller_Request_Abstract
Inherited
Returns
\Zend_Controller_Request_Abstract
$request
getResponse() -
getResponse() : \Zend_Controller_Response_Abstract
Inherited
Returns
\Zend_Controller_Response_Abstract
$response
Hook into action controller initialization
init() : void
Inherited
Hook into action controller postDispatch() workflow
postDispatch() : void
Inherited
Hook into action controller preDispatch() workflow
preDispatch() : void
Inherited
Prepare data for autocompletion
prepareAutoCompletion(mixed $data, boolean $keepLayouts = false
) : string
inherited_from |
\Zend_Controller_Action_Helper_AutoComplete_Abstract::prepareAutoCompletion() |
Parameters
$data
mixed
$keepLayouts
boolean
Exceptions
\Zend_Controller_Action_Exception |
|
Returns
string
Prepare autocompletion data
prepareAutoCompletion(mixed $data, boolean $keepLayouts = false
) : mixed
Inherited
Parameters
$data
mixed
$keepLayouts
boolean
Returns
mixed
Send autocompletion data
sendAutoCompletion(mixed $data, boolean $keepLayouts = false
) : string | void
Inherited
Calls prepareAutoCompletion, populates response body with this
information, and sends response.
Parameters
$data
mixed
$keepLayouts
boolean
Returns
string
void
setActionController()
setActionController(\Zend_Controller_Action $actionController = null
) : \Zend_Controller_ActionHelper_Abstract
Inherited
Parameters
$actionController
\Zend_Controller_Action
Returns
\Zend_Controller_ActionHelper_Abstract
Provides a fluent interface
Validate data for autocompletion
validateData(mixed $data) : boolean
inherited_from |
\Zend_Controller_Action_Helper_AutoComplete_Abstract::validateData() |
Parameters
$data
mixed
Returns
boolean
Validate autocompletion data
validateData(mixed $data) : boolean
Inherited
Parameters
$data
mixed
Returns
boolean
Properties
Suppress exit when sendJson() called
$suppressExit : boolean
$_actionController
$_actionController : \Zend_Controller_Action
$_frontController
$_frontController : mixed