Controller/Action/Helper/AutoComplete/Abstract.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Controller
- Subpackage
- Zend_Controller_Action_Helper
- Version
- $Id$
\Zend_Controller_Action_Helper_AutoComplete_Abstract
Package: Zend_Controller\Zend_Controller_Action_HelperCreate and send autocompletion lists
- Parent(s)
- \Zend_Controller_Action_Helper_Abstract
- Children
- \Zend_Controller_Action_Helper_AutoCompleteDojo
- \Zend_Controller_Action_Helper_AutoCompleteScriptaculous
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
-
Properties



boolean $suppressExit = falseSuppress exit when sendJson() called
Default valuefalseDetails- Type
- boolean
Methods



direct(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.
Parameters| Name | Type | Description |
|---|
| $data | mixed | |
|---|
| $sendNow | bool | |
|---|
| $keepLayouts | bool | |
|---|
Returns| Type | Description |
|---|
| string | void | |



prepareAutoCompletion(mixed $data, boolean $keepLayouts = false) : mixedabstractPrepare autocompletion data
Parameters| Name | Type | Description |
|---|
| $data | mixed | |
|---|
| $keepLayouts | boolean | |
|---|
Returns 


validateData(mixed $data) : booleanabstractValidate autocompletion data
Parameters| Name | Type | Description |
|---|
| $data | mixed | |
|---|
Returns