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
Detailsdirect(
mixed $data, bool $sendNow
=
true, bool $keepLayouts
=
false
)
:
string|voidStrategy pattern: allow calling helper as broker method
Prepares autocompletion data and, if $sendNow is true, immediately sends response.
DetailsdisableLayouts(
)
:
Zend_Controller_Action_Helper_AutoComplete_AbstractDisable layouts and view renderer
DetailsencodeJson(
mixed $data, bool $keepLayouts
=
false
)
:
stringEncode data to JSON
DetailsprepareAutoCompletion(
mixed $data, boolean $keepLayouts
=
false
)
:
mixedPrepare autocompletion data
DetailssendAutoCompletion(
mixed $data, bool $keepLayouts
=
false
)
:
string|voidSend autocompletion data
Calls prepareAutoCompletion, populates response body with this information, and sends response.
DetailsvalidateData(
mixed $data
)
:
booleanValidate autocompletion data
Details