Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Dojo_View_Helper_ComboBox Class Reference

Public Member Functions

 comboBox ($id, $value=null, array $params=array(), array $attribs=array(), array $options=null)
 dijit.form.ComboBox
 
- Public Member Functions inherited from Zend_Dojo_View_Helper_Dijit
 setView (Zend_View_Interface $view)
 Set view.
 
 getRootNode ()
 Get root node type.
 
 setRootNode ($value)
 Set root node type.
 
 _createFormElement ($id, $value, array $params, array $attribs, $dijit=null)
 Create HTML representation of a dijit form element.
 
- Public Member Functions inherited from Zend_View_Helper_HtmlElement
 getClosingBracket ()
 Get the tag closing bracket.
 
- Public Member Functions inherited from Zend_View_Helper_Abstract
 setView (Zend_View_Interface $view)
 Set the View object.
 
 direct ()
 Strategy pattern: currently unutilized.
 

Protected Member Functions

 _renderStore (array $params, $id)
 Render data store element.
 
- Protected Member Functions inherited from Zend_Dojo_View_Helper_Dijit
 _useDeclarative ()
 Whether or not to use declarative dijit creation.
 
 _useProgrammatic ()
 Whether or not to use programmatic dijit creation.
 
 _useProgrammaticNoScript ()
 Whether or not to use programmatic dijit creation w/o script creation.
 
 _createLayoutContainer ($id, $content, array $params, array $attribs, $dijit=null)
 Create a layout container.
 
 _prepareDijit (array $attribs, array $params, $type, $dijit=null)
 Merge attributes and parameters.
 
 _createDijit ($dijit, $id, array $params)
 Create a dijit programmatically.
 
 _castBoolToString (&$item, $key)
 Cast a boolean to a string value.
 
 _renderHiddenElement ($id, $value)
 Render a hidden element to hold a value.
 
 _createGetParentFormFunction ()
 Create JS function for retrieving parent form.
 
- Protected Member Functions inherited from Zend_View_Helper_HtmlElement
 _isXhtml ()
 Is doctype XHTML?
 
 _isHtml5 ()
 Is doctype HTML5?
 
 _isStrictDoctype ()
 Is doctype strict?
 
 _htmlAttribs ($attribs)
 Converts an associative array to a string of tag attributes.
 
 _normalizeId ($value)
 Normalize an ID.
 

Protected Attributes

 $_dijit = 'dijit.form.ComboBox'
 
 $_elementType = 'text'
 
 $_module = 'dijit.form.ComboBox'
 
- Protected Attributes inherited from Zend_Dojo_View_Helper_Dijit
 $_dijit
 
 $_elementType
 
 $_jsonParams = array('constraints')
 
 $_module
 
 $_rootNode = 'div'
 
- Protected Attributes inherited from Zend_View_Helper_HtmlElement
 $_closingBracket = null
 

Additional Inherited Members

- Public Attributes inherited from Zend_Dojo_View_Helper_Dijit
 $dojo
 

Member Function Documentation

_renderStore ( array  $params,
  $id 
)
protected

Render data store element.

Renders to dojo view helper

Parameters
array$params
Returns
string|false
comboBox (   $id,
  $value = null,
array  $params = array(),
array  $attribs = array(),
array  $options = null 
)

dijit.form.ComboBox

Parameters
int$id
mixed$value
array$paramsParameters to use for dijit creation
array$attribsHTML attributes
array | null$optionsSelect options
Returns
string

Member Data Documentation

$_dijit = 'dijit.form.ComboBox'
protected
$_elementType = 'text'
protected
$_module = 'dijit.form.ComboBox'
protected