Dojo ValidationTextBox dijit tied to password input

uses
package Zend_Dojo
subpackage View
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Dojo_View_Helper_ValidationTextBox

 Methods

Create HTML representation of a dijit form element

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

Parameters

$id

string

$value

string

$params

array

$attribs

array

$dijit

stringnull

Returns

string

Strategy pattern: currently unutilized

direct() : void
Inherited
inherited_from \Zend_View_Helper_Interface::direct()

Get the tag closing bracket

getClosingBracket() : string
Inherited

Returns

string

Get root node type

getRootNode() : string
Inherited

Returns

string

dijit.form.ValidationTextBox tied to password input

passwordTextBox(string $id, mixed $value = null, array $params = array(), array $attribs = array()) : string

Parameters

$id

string

$value

mixed

$params

array

Parameters to use for dijit creation

$attribs

array

HTML attributes

Returns

string

Set root node type

setRootNode(string $value) : \Zend_Dojo_View_Helper_Dijit
Inherited

Parameters

$value

string

Returns

\Zend_Dojo_View_Helper_Dijit

Set the View object

setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Inherited
inherited_from \Zend_View_Helper_Interface::setView()

Parameters

$view

\Zend_View_Interface

Returns

\Zend_View_Helper_Abstract

dijit.form.ValidationTextBox

validationTextBox(integer $id, mixed $value = null, array $params = array(), array $attribs = array()) : string
Inherited

Parameters

$id

integer

$value

mixed

$params

array

Parameters to use for dijit creation

$attribs

array

HTML attributes

Returns

string

Cast a boolean to a string value

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

Parameters

$item

mixed

$key

string

Create a dijit programmatically

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

Parameters

$dijit

string

$id

string

$params

array

Create JS function for retrieving parent form

_createGetParentFormFunction() : void
Inherited

Create a layout container

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

Parameters

$id

integer

$content

string

$params

array

$attribs

array

$dijit

stringnull

Returns

string

Converts an associative array to a string of tag attributes.

_htmlAttribs(array $attribs) : string
Inherited
access public

Parameters

$attribs

array

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

Returns

stringThe XHTML for the attributes.

Is doctype HTML5?

_isHtml5() : boolean
Inherited

Returns

boolean

Is doctype strict?

_isStrictDoctype() : boolean
Inherited

Returns

boolean

Is doctype XHTML?

_isXhtml() : boolean
Inherited

Returns

boolean

Normalize an ID

_normalizeId(string $value) : string
Inherited

Parameters

$value

string

Returns

string

Merge attributes and parameters

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

Also sets up requires

Parameters

$attribs

array

$params

array

$type

string

$dijit

string

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

Returns

array

Render a hidden element to hold a value

_renderHiddenElement(string $id, string|integer|float $value) : string
Inherited

Parameters

$id

string

$value

stringintegerfloat

Returns

string

Whether or not to use declarative dijit creation

_useDeclarative() : boolean
Inherited

Returns

boolean

Whether or not to use programmatic dijit creation

_useProgrammatic() : boolean
Inherited

Returns

boolean

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

_useProgrammaticNoScript() : boolean
Inherited

Returns

boolean

 Properties

 

$dojo

$dojo : \Zend_Dojo_View_Helper_Dojo_Container

Default

 

View object

$view : \Zend_View_Interface

Default

null
 

The tag closing bracket

$_closingBracket : string

Default

null
 

Dijit being used

$_dijit : string

Default

 

HTML element type

$_elementType : string

Default

'password'
inherited_from \Zend_Dojo_View_Helper_ValidationTextBox::_elementType
 

Element type

$_elementType : string

Default

 

Parameters that should be JSON encoded

$_jsonParams : array

Default

array('constraints')
 

Dojo module to use

$_module : string

Default

 

Root node element type for layout elements

$_rootNode : string

Default

'div'

 Constants

 

EOL character

EOL = "\n"