Dojo/View/Helper/VerticalSlider.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: VerticalSlider.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Dojo_View_Helper_VerticalSlider

Package: Zend\Dojo\View

Dojo VerticalSlider dijit

Parent(s)
\Zend_Dojo_View_Helper_Slider < \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_Slider  

Constants

Properties

Propertyprotectedstring $_dijit = 'dijit.form.VerticalSlider'

Dijit being used

Default value'dijit.form.VerticalSlider'Details
Type
string
Propertyprotectedstring $_elementType =
Propertyprotectedarray $_jsonParams = array('constraints')
inherited

Parameters that should be JSON encoded

Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_jsonParams\Zend_Dojo_View_Helper_Slider::$$_jsonParams
Default valuearray('constraints')Details
Type
array
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_jsonParams  
Inherited_from
\Zend_Dojo_View_Helper_Slider::$$_jsonParams  
Propertyprotectedstring $_module = 'dijit.form.Slider'
inherited

Dojo module to use

Inherited from: \Zend_Dojo_View_Helper_Slider::$$_module
Default value'dijit.form.Slider'Details
Type
string
Inherited_from
\Zend_Dojo_View_Helper_Slider::$$_module  
Propertyprotectedarray $_requiredParams = array('minimum', 'maximum', 'discreteValues')
inherited

Required slider parameters

Inherited from: \Zend_Dojo_View_Helper_Slider::$$_requiredParams
Default valuearray('minimum', 'maximum', 'discreteValues')Details
Type
array
Inherited_from
\Zend_Dojo_View_Helper_Slider::$$_requiredParams  
Propertyprotectedstring $_rootNode = 'div'
inherited

Root node element type for layout elements

Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_rootNode\Zend_Dojo_View_Helper_Slider::$$_rootNode
Default value'div'Details
Type
string
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_rootNode  
Inherited_from
\Zend_Dojo_View_Helper_Slider::$$_rootNode  
Propertyprotectedstring $_sliderType = 'Vertical'

Slider type

Default value'Vertical'Details
Type
string
Propertypublic\Zend_Dojo_View_Helper_Dojo_Container $dojo =

Methods

methodprotected_castBoolToString(mixed $item, string $key) : void
Parameters
Name Type Description
$item mixed
$key string
methodprotected_createDijit(string $dijit, string $id, array $params) : void
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()\Zend_Dojo_View_Helper_Slider::_createFormElement()
Parameters
Name Type Description
$id string
$value string
$params array
$attribs array
$dijit string | null
Returns
Type Description
string
methodprotected_createGetParentFormFunction() : void
methodprotected_createLayoutContainer(int $id, string $content, array $params, array $attribs, string | null $dijit = null) : string
Parameters
Name Type Description
$id int
$content string
$params array
$attribs array
$dijit string | null
Returns
Type Description
string
methodprotected_htmlAttribs(array $attribs) : string
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_prepareDecoration(string $position, string $id, array $decInfo) : string
inherited

Prepare slider decoration

Inherited from: \Zend_Dojo_View_Helper_Slider::_prepareDecoration()
Parameters
Name Type Description
$position string
$id string
$decInfo array
Returns
Type Description
string
methodprotected_prepareDijit(array $attribs, array $params, string $type, string $dijit = null) : array

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_prepareLabelsList(string $id, array $params, array $attribs, array $labels) : string
inherited

Prepare slider label list

Inherited from: \Zend_Dojo_View_Helper_Slider::_prepareLabelsList()
Parameters
Name Type Description
$id string
$params array
$attribs array
$labels array
Returns
Type Description
string
methodprotected_renderHiddenElement(string $id, string | int | float $value) : string
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()\Zend_Dojo_View_Helper_Slider::_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()\Zend_Dojo_View_Helper_Slider::_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()\Zend_Dojo_View_Helper_Slider::_useProgrammaticNoScript()
Returns
Type Description
bool
methodpublicgetClosingBracket() : string
Returns
Type Description
string
methodpublicgetRootNode() : string
Returns
Type Description
string
methodpublicprepareSlider(int $id, mixed $value = null, array $params = array(), array $attribs = array()) : string
inherited

dijit.form.Slider

Inherited from: \Zend_Dojo_View_Helper_Slider::prepareSlider()
Parameters
Name Type Description
$id int
$value mixed
$params array

Parameters to use for dijit creation

$attribs array

HTML attributes

Returns
Type Description
string
methodpublicsetRootNode(string $value) : \Zend_Dojo_View_Helper_Dijit
Parameters
Name Type Description
$value string
Returns
Type Description
\Zend_Dojo_View_Helper_Dijit
methodpublicsetView(\Zend_View_Interface $view) : \Zend_Dojo_View_Helper_Dijit

Set view and enable dojo

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

dijit.form.VerticalSlider

Parameters
Name Type Description
$id int
$value mixed
$params array

Parameters to use for dijit creation

$attribs array

HTML attributes

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