API Documentation

Dojo/View/Helper/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
View
version
$Id: Dijit.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Dojo_View_Helper_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_View_Helper_Dijit

Extends from
Zend_View_Helper_HtmlElement
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
View
uses
Zend_View_Helper_Abstract
Properties
$dojo
$_dijit
$_elementType
$_jsonParams
$_module
$_rootNode
Methods
setView
getRootNode
setRootNode
_useDeclarative
_useProgrammatic
_useProgrammaticNoScript
_createLayoutContainer
_createFormElement
_prepareDijit
_createDijit
_castBoolToString
_renderHiddenElement
_createGetParentFormFunction

Description

Dojo dijit base class

Properties

$_dijit

string $_dijit = ''

Dijit being used

Details

$_dijit
string
visibility
protected
default
final
false
static
false

$_elementType

string $_elementType = ''

Element type

Details

$_elementType
string
visibility
protected
default
final
false
static
false

$_jsonParams

array $_jsonParams = 'array'

Parameters that should be JSON encoded

Details

$_jsonParams
array
visibility
protected
default
array
final
false
static
false

$_module

string $_module = ''

Dojo module to use

Details

$_module
string
visibility
protected
default
final
false
static
false

$_rootNode

string $_rootNode = 'div'

Root node element type for layout elements

Details

$_rootNode
string
visibility
protected
default
div
final
false
static
false

$dojo

Zend_Dojo_View_Helper_Dojo_Container $dojo = ''

Details

$dojo
Zend_Dojo_View_Helper_Dojo_Container
visibility
public
default
final
false
static
false

Methods

_castBoolToString

_castBoolToString( mixed $item, string $key ) : void

Cast a boolean to a string value

Arguments
$item
mixed
$key
string
Details
visibility
protected
final
false
static
false

_createDijit

_createDijit( string $dijit, string $id, array $params ) : void

Create a dijit programmatically

Arguments
$dijit
string
$id
string
$params
array
Details
visibility
protected
final
false
static
false

_createFormElement

_createFormElement( string $id, string $value, array $params, array $attribs, string|null $dijit = null ) : string

Create HTML representation of a dijit form element

Arguments
$id
string
$value
string
$params
array
$attribs
array
$dijit
stringnull
Output
string
Details
visibility
public
final
false
static
false

_createGetParentFormFunction

_createGetParentFormFunction( ) : void

Create JS function for retrieving parent form

Details
visibility
protected
final
false
static
false

_createLayoutContainer

_createLayoutContainer( int $id, string $content, array $params, array $attribs, string|null $dijit = null ) : string

Create a layout container

Arguments
$id
int
$content
string
$params
array
$attribs
array
$dijit
stringnull
Output
string
Details
visibility
protected
final
false
static
false

_prepareDijit

_prepareDijit( array $attribs, array $params, string $type, string $dijit = null ) : array

Merge attributes and parameters

Also sets up requires

Arguments
$attribs
array
$params
array
$type
string
$dijit
string
Dijit type to use (otherwise, pull from $_dijit)
Output
array
Details
visibility
protected
final
false
static
false

_renderHiddenElement

_renderHiddenElement( string $id, string|int|float $value ) : string

Render a hidden element to hold a value

Arguments
$id
string
$value
stringintfloat
Output
string
Details
visibility
protected
final
false
static
false

_useDeclarative

_useDeclarative( ) : bool

Whether or not to use declarative dijit creation

Output
bool
Details
visibility
protected
final
false
static
false

_useProgrammatic

_useProgrammatic( ) : bool

Whether or not to use programmatic dijit creation

Output
bool
Details
visibility
protected
final
false
static
false

_useProgrammaticNoScript

_useProgrammaticNoScript( ) : bool

Whether or not to use programmatic dijit creation w/o script creation

Output
bool
Details
visibility
protected
final
false
static
false

getRootNode

getRootNode( ) : string

Get root node type

Output
string
Details
visibility
public
final
false
static
false

setRootNode

setRootNode( string $value ) : Zend_Dojo_View_Helper_Dijit

Set root node type

Arguments
$value
string
Details
visibility
public
final
false
static
false

setView

setView( Zend_View_Interface $view ) : Zend_Dojo_View_Helper_Dijit

Set view

Set view and enable dojo

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