API Documentation

Zend/Dojo/Form/Element/Dijit.php

Show: inherited
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-2012 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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Used_by
\Zend_Dojo_Form_Element_Editor  
Used_by
\Zend_Dojo_Form_Element_SimpleTextarea  
Used_by
\Zend_Dojo_Form_Element_DijitMulti  
Used_by
\Zend_Dojo_Form_Element_CheckBox  
Used_by
\Zend_Dojo_Form_Element_Slider  
Version
$Id: Dijit.php 24594 2012-01-05 21:27:01Z matthew $  

Properties

Propertypublicarray  $dijitParams= 'array()'

Dijit parameters

Default valuearray()Details
Type
array
Propertypublicstring  $helper= ''

View helper to use

Details
Type
string

Methods

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

Constructor

Parameters
Name Type Description
$spec mixed
$options mixed
Details
Todo
Should we set dojo view helper paths here?  
methodpublicclearDijitParams( ) : \Zend_Dojo_Form_Element_Dijit

Clear all dijit parameters

Returns
Type Description
\Zend_Dojo_Form_Element_Dijit
methodpublicgetDijitParam( string $key ) : mixed

Get a single dijit parameter

Parameters
Name Type Description
$key string
Returns
Type Description
mixed
methodpublicgetDijitParams( ) : array

Retrieve all dijit parameters

Returns
Type Description
array
methodpublichasDijitParam( string $key ) : bool

Does the given dijit parameter exist?

Parameters
Name Type Description
$key string
Returns
Type Description
bool
methodpublicloadDefaultDecorators( ) : void

Load default decorators

methodpublicremoveDijitParam( string $key ) : \Zend_Dojo_Form_Element_Dijit

Remove a single dijit parameter

Parameters
Name Type Description
$key string
Returns
Type Description
\Zend_Dojo_Form_Element_Dijit
methodpublicsetDijitParam( string $key, mixed $value ) : \Zend_Dojo_Form_Element_Dijit

Set a dijit parameter

Parameters
Name Type Description
$key string
$value mixed
Returns
Type Description
\Zend_Dojo_Form_Element_Dijit
methodpublicsetDijitParams( array $params ) : \Zend_Dojo_Form_Element_Dijit

Set multiple dijit params at once

Parameters
Name Type Description
$params array
Returns
Type Description
\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
Name Type Description
$view \Zend_View_Interface
Returns
Type Description
\Zend_Dojo_Form_Element_Dijit
Documentation was generated by DocBlox 0.15.1.