API Documentation

Dojo/Form/Element/Dijit.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Dojo
subpackage
Form_Element
Classes
Zend_Dojo_Form_Element_Dijit

Description

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.

Zend_Dojo_Form_Element_Dijit

Extends from
Zend_Form_Element
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Dojo
subpackage
Form_Element
version
$Id: Dijit.php 20096 2010-01-06 02:05:09Z bkarwin $
Properties
$dijitParams
$helper
Methods
__construct
setDijitParam
setDijitParams
hasDijitParam
getDijitParam
getDijitParams
removeDijitParam
clearDijitParams
loadDefaultDecorators
setView

Description

Base element for dijit elements

Properties

$dijitParams

array $dijitParams = 'array'

Dijit parameters

Details

$dijitParams
array
visibility
public
default
array
final
false
static
false

$helper

string $helper = ''

View helper to use

Details

$helper
string
visibility
public
default
final
false
static
false

Methods

__construct

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

Constructor

Arguments
$spec
mixed
$options
mixed
Details
visibility
public
final
false
static
false
todo
Should we set dojo view helper paths here?

clearDijitParams

clearDijitParams( ) : Zend_Dojo_Form_Element_Dijit

Clear all dijit parameters

Details
visibility
public
final
false
static
false

getDijitParam

getDijitParam( string $key ) : mixed

Get a single dijit parameter

Arguments
$key
string
Output
mixed
Details
visibility
public
final
false
static
false

getDijitParams

getDijitParams( ) : array

Retrieve all dijit parameters

Output
array
Details
visibility
public
final
false
static
false

hasDijitParam

hasDijitParam( string $key ) : bool

Does the given dijit parameter exist?

Arguments
$key
string
Output
bool
Details
visibility
public
final
false
static
false

loadDefaultDecorators

loadDefaultDecorators( ) : void

Load default decorators

Details
visibility
public
final
false
static
false

removeDijitParam

removeDijitParam( string $key ) : Zend_Dojo_Form_Element_Dijit

Remove a single dijit parameter

Arguments
$key
string
Details
visibility
public
final
false
static
false

setDijitParam

setDijitParam( string $key, mixed $value ) : Zend_Dojo_Form_Element_Dijit

Set a dijit parameter

Arguments
$key
string
$value
mixed
Details
visibility
public
final
false
static
false

setDijitParams

setDijitParams( array $params ) : Zend_Dojo_Form_Element_Dijit

Set multiple dijit params at once

Arguments
$params
array
Details
visibility
public
final
false
static
false

setView

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.

Arguments
$view
Zend_View_Interface
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.