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.
Create and send autocompletion lists
boolean $suppressExit = 'false'
Suppress exit when sendJson() called
direct(
mixed $data, bool $sendNow
=
true, bool $keepLayouts
=
false
)
:
string|void
Strategy pattern: allow calling helper as broker method
Prepares autocompletion data and, if $sendNow is true, immediately sends response.
disableLayouts(
)
:
Zend_Controller_Action_Helper_AutoComplete_Abstract
Disable layouts and view renderer
encodeJson(
mixed $data, bool $keepLayouts
=
false
)
:
string
Encode data to JSON
prepareAutoCompletion(
mixed $data, boolean $keepLayouts
=
false
)
:
mixed
Prepare autocompletion data
sendAutoCompletion(
mixed $data, bool $keepLayouts
=
false
)
:
string|void
Send autocompletion data
Calls prepareAutoCompletion, populates response body with this information, and sends response.
validateData(
mixed $data
)
:
boolean
Validate autocompletion data