Dojo/Form/Element/Dijit.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_Dojo
- Subpackage
- Form_Element
\Zend_Dojo_Form_Element_Dijit
Package: Zend_Dojo\Form_Element







Returns
Base element for dijit elements
- Parent(s)
- \Zend_Form_Element
- Children
- \Zend_Dojo_Form_Element_Editor
- \Zend_Dojo_Form_Element_SimpleTextarea
- \Zend_Dojo_Form_Element_TextBox
- \Zend_Dojo_Form_Element_Button
- \Zend_Dojo_Form_Element_DijitMulti
- \Zend_Dojo_Form_Element_CheckBox
- \Zend_Dojo_Form_Element_Slider
- \Zend_Dojo_Form_Element_Textarea
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Properties
Methods


__construct(mixed $spec, mixed $options = null) : void
Constructor
Parameters
Details
Name | Type | Description |
---|---|---|
$spec | mixed | |
$options | mixed |
- Todo
- Should we set dojo view helper paths here?


clearDijitParams() : \Zend_Dojo_Form_Element_Dijit
Clear all dijit parameters
Returns
Type | Description |
---|---|
\Zend_Dojo_Form_Element_Dijit |


getDijitParam(string $key) : mixed
Get a single dijit parameter
Parameters
Returns
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
mixed |


hasDijitParam(string $key) : bool
Does the given dijit parameter exist?
Parameters
Returns
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
bool |


removeDijitParam(string $key) : \Zend_Dojo_Form_Element_Dijit
Remove a single dijit parameter
Parameters
Returns
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_Dijit |


setDijitParam(string $key, mixed $value) : \Zend_Dojo_Form_Element_Dijit
Set a dijit parameter
Parameters
Returns
Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_Dijit |


setDijitParams(array $params) : \Zend_Dojo_Form_Element_Dijit
Set multiple dijit params at once
Parameters
Returns
Name | Type | Description |
---|---|---|
$params | array |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_Dijit |


setView(\Zend_View_Interface $view = null) : \Zend_Dojo_Form_Element_Dijit
Set the view object
Ensures that the view object has the dojo view helper path set.
ParametersName | Type | Description |
---|---|---|
$view | \Zend_View_Interface |
Type | Description |
---|---|
\Zend_Dojo_Form_Element_Dijit |