Dojo/View/Helper/SimpleTextarea.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 [email protected] 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
View  
Version
$Id: SimpleTextarea.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Dojo_View_Helper_SimpleTextarea

Package: Zend\Dojo\View

dijit.form.SimpleTextarea view helper

Parent(s)
\Zend_Dojo_View_Helper_Dijit < \Zend_View_Helper_HtmlElement < \Zend_View_Helper_Abstract
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
\global\Zend_Dojo_View_Helper_Dijit  
Version
$Id: SimpleTextarea.php 24593 2012-01-05 20:35:02Z matthew $  

Constants

Constant  EOL = "\n"

Properties

Propertyprotectedstring $_closingBracket = null
Default valuenullDetails
Type
string
Inherited_from
\Zend_View_Helper_HtmlElement::$$_closingBracket  
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_closingBracket  
Propertyprotectedstring $_dijit = 'dijit.form.SimpleTextarea'
<p>Dijit type</p>

Dijit being used

Default value'dijit.form.SimpleTextarea'Details
Type
string
Propertyprotectedstring $_elementType = 'textarea'
<p>HTML element type</p>

Element type

Default value'textarea'Details
Type
string
Propertyprotectedarray $_jsonParams = array('constraints')
inherited

Parameters that should be JSON encoded

Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_jsonParams
Default valuearray('constraints')Details
Type
array
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_jsonParams  
Propertyprotectedstring $_module = 'dijit.form.SimpleTextarea'
<p>Dojo module</p>

Dojo module to use

Default value'dijit.form.SimpleTextarea'Details
Type
string
Propertyprotectedstring $_rootNode = 'div'
inherited

Root node element type for layout elements

Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_rootNode
Default value'div'Details
Type
string
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_rootNode  
Propertypublic\Zend_Dojo_View_Helper_Dojo_Container $dojo =
inherited

Inherited from: \Zend_Dojo_View_Helper_Dijit::$$dojo
Propertypublic\Zend_View_Interface $view = null
Default valuenullDetails
Type
\Zend_View_Interface
Inherited_from
\Zend_View_Helper_Abstract::$$view  
Inherited_from
\Zend_View_Helper_HtmlElement::$$view  
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$view  

Methods

methodprotected_castBoolToString(mixed $item, string $key) : void
inherited

Cast a boolean to a string value

Inherited from: \Zend_Dojo_View_Helper_Dijit::_castBoolToString()
Parameters
Name Type Description
$item mixed
$key string
methodprotected_createDijit(string $dijit, string $id, array $params) : void
inherited

Create a dijit programmatically

Inherited from: \Zend_Dojo_View_Helper_Dijit::_createDijit()
Parameters
Name Type Description
$dijit string
$id string
$params array
methodpublic_createFormElement(string $id, string $value, array $params, array $attribs, string | null $dijit = null) : string
inherited

Create HTML representation of a dijit form element

Inherited from: \Zend_Dojo_View_Helper_Dijit::_createFormElement()
Parameters
Name Type Description
$id string
$value string
$params array
$attribs array
$dijit string | null
Returns
Type Description
string
methodprotected_createGetParentFormFunction() : void
inherited

Create JS function for retrieving parent form

Inherited from: \Zend_Dojo_View_Helper_Dijit::_createGetParentFormFunction()
methodprotected_createLayoutContainer(int $id, string $content, array $params, array $attribs, string | null $dijit = null) : string
inherited

Create a layout container

Inherited from: \Zend_Dojo_View_Helper_Dijit::_createLayoutContainer()
Parameters
Name Type Description
$id int
$content string
$params array
$attribs array
$dijit string | null
Returns
Type Description
string
methodprotected_htmlAttribs(array $attribs) : string
inherited

Converts an associative array to a string of tag attributes.

Inherited from: \Zend_View_Helper_HtmlElement::_htmlAttribs()\Zend_Dojo_View_Helper_Dijit::_htmlAttribs()
Parameters
Name Type Description
$attribs array

From this array, each key-value pair is converted to an attribute name and value.

Returns
Type Description
string The XHTML for the attributes.
Details
Access
public  
methodprotected_isStrictDoctype() : boolean
Returns
Type Description
boolean
methodprotected_isXhtml() : boolean
Returns
Type Description
boolean
methodprotected_normalizeId(string $value) : string
Parameters
Name Type Description
$value string
Returns
Type Description
string
methodprotected_prepareDijit(array $attribs, array $params, string $type, string $dijit = null) : array
inherited

Merge attributes and parameters

Inherited from: \Zend_Dojo_View_Helper_Dijit::_prepareDijit()

Also sets up requires

Parameters
Name Type Description
$attribs array
$params array
$type string
$dijit string

Dijit type to use (otherwise, pull from $_dijit)

Returns
Type Description
array
methodprotected_renderHiddenElement(string $id, string | int | float $value) : string
inherited

Render a hidden element to hold a value

Inherited from: \Zend_Dojo_View_Helper_Dijit::_renderHiddenElement()
Parameters
Name Type Description
$id string
$value string | int | float
Returns
Type Description
string
methodprotected_useDeclarative() : bool
inherited

Whether or not to use declarative dijit creation

Inherited from: \Zend_Dojo_View_Helper_Dijit::_useDeclarative()
Returns
Type Description
bool
methodprotected_useProgrammatic() : bool
inherited

Whether or not to use programmatic dijit creation

Inherited from: \Zend_Dojo_View_Helper_Dijit::_useProgrammatic()
Returns
Type Description
bool
methodprotected_useProgrammaticNoScript() : bool
inherited

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

Inherited from: \Zend_Dojo_View_Helper_Dijit::_useProgrammaticNoScript()
Returns
Type Description
bool
methodpublicdirect() : void
methodpublicgetClosingBracket() : string
Returns
Type Description
string
methodpublicgetRootNode() : string
inherited

Get root node type

Inherited from: \Zend_Dojo_View_Helper_Dijit::getRootNode()
Returns
Type Description
string
methodpublicsetRootNode(string $value) : \Zend_Dojo_View_Helper_Dijit
inherited

Set root node type

Inherited from: \Zend_Dojo_View_Helper_Dijit::setRootNode()
Parameters
Name Type Description
$value string
Returns
Type Description
\Zend_Dojo_View_Helper_Dijit
methodpublicsetView(\Zend_View_Interface $view) : \Zend_Dojo_View_Helper_Dijit
inherited

Set view

Inherited from: \Zend_Dojo_View_Helper_Dijit::setView()

Set view and enable dojo

Parameters
Name Type Description
$view \Zend_View_Interface
Returns
Type Description
\Zend_Dojo_View_Helper_Dijit
methodpublicsimpleTextarea(string $id, string $value = null, array $params = array(), array $attribs = array()) : string

dijit.form.SimpleTextarea

Parameters
Name Type Description
$id string
$value string
$params array

Parameters to use for dijit creation

$attribs array

HTML attributes

Returns
Type Description
string
Documentation was generated by phpDocumentor 2.0.0a8.