Dojo/Form/Element/Dijit.php

Show: PublicProtectedPrivateinherited
Table of Contents
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
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

>VPropertypublicarray $dijitParams = array()
Dijit parameters
Default valuearray()Details
Type
array
>VPropertypublicstring $helper
View helper to use
Details
Type
string

Methods

methodpublic__construct(mixed $spec, mixed $options = null) : void

Constructor

Parameters
NameTypeDescription
$specmixed
$optionsmixed
Details
Todo
Should we set dojo view helper paths here?  
methodpublicclearDijitParams() : \Zend_Dojo_Form_Element_Dijit

Clear all dijit parameters

Returns
TypeDescription
\Zend_Dojo_Form_Element_Dijit
methodpublicgetDijitParam(string $key) : mixed

Get a single dijit parameter

Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
mixed
methodpublicgetDijitParams() : array

Retrieve all dijit parameters

Returns
TypeDescription
array
methodpublichasDijitParam(string $key) : bool

Does the given dijit parameter exist?

Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
bool
methodpublicloadDefaultDecorators() : void

Load default decorators

methodpublicremoveDijitParam(string $key) : \Zend_Dojo_Form_Element_Dijit

Remove a single dijit parameter

Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Dijit
methodpublicsetDijitParam(string $key, mixed $value) : \Zend_Dojo_Form_Element_Dijit

Set a dijit parameter

Parameters
NameTypeDescription
$keystring
$valuemixed
Returns
TypeDescription
\Zend_Dojo_Form_Element_Dijit
methodpublicsetDijitParams(array $params) : \Zend_Dojo_Form_Element_Dijit

Set multiple dijit params at once

Parameters
NameTypeDescription
$paramsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Dijit
methodpublicsetView(\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.
Parameters
NameTypeDescription
$view\Zend_View_Interface
Returns
TypeDescription
\Zend_Dojo_Form_Element_Dijit
Documentation was generated by phpDocumentor 2.2.0 .