import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -29,15 +29,15 @@ require_once 'Zend/Form/Decorator/Abstract.php';
|
||||
* Accepts the following options:
|
||||
* - helper: the name of the view helper to use
|
||||
*
|
||||
* Assumes the view helper accepts four parameters, the id, content, dijit
|
||||
* Assumes the view helper accepts four parameters, the id, content, dijit
|
||||
* parameters, and (X)HTML attributes; these will be provided by the element.
|
||||
*
|
||||
*
|
||||
* @uses Zend_Form_Decorator_Abstract
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Decorator
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: DijitContainer.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: DijitContainer.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorator_Abstract
|
||||
{
|
||||
@ -48,7 +48,7 @@ abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorat
|
||||
protected $_helper;
|
||||
|
||||
/**
|
||||
* Element attributes
|
||||
* Element attributes
|
||||
* @var array
|
||||
*/
|
||||
protected $_attribs;
|
||||
@ -67,7 +67,7 @@ abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorat
|
||||
|
||||
/**
|
||||
* Get view helper for rendering container
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getHelper()
|
||||
@ -80,8 +80,8 @@ abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorat
|
||||
}
|
||||
|
||||
/**
|
||||
* Get element attributes
|
||||
*
|
||||
* Get element attributes
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getAttribs()
|
||||
@ -98,7 +98,7 @@ abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorat
|
||||
|
||||
/**
|
||||
* Get dijit option parameters
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDijitParams()
|
||||
@ -128,7 +128,7 @@ abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorat
|
||||
|
||||
/**
|
||||
* Get title
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTitle()
|
||||
@ -162,8 +162,8 @@ abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorat
|
||||
* Render a dijit layout container
|
||||
*
|
||||
* Replaces $content entirely from currently set element.
|
||||
*
|
||||
* @param string $content
|
||||
*
|
||||
* @param string $content
|
||||
* @return string
|
||||
*/
|
||||
public function render($content)
|
||||
@ -195,6 +195,6 @@ abstract class Zend_Dojo_Form_Decorator_DijitContainer extends Zend_Form_Decorat
|
||||
} while ($view->dojo()->hasDijit($id));
|
||||
}
|
||||
|
||||
return $view->$helper($id, $content, $dijitParams, $attribs);
|
||||
return $view->$helper($id, $content, $dijitParams, $attribs);
|
||||
}
|
||||
}
|
||||
|
@ -31,14 +31,14 @@ require_once 'Zend/Form/Decorator/ViewHelper.php';
|
||||
* - placement: whether to append or prepend the generated content to the passed in content
|
||||
* - helper: the name of the view helper to use
|
||||
*
|
||||
* Assumes the view helper accepts three parameters, the name, value, and
|
||||
* Assumes the view helper accepts three parameters, the name, value, and
|
||||
* optional attributes; these will be provided by the element.
|
||||
*
|
||||
*
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Decorator
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: DijitElement.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: DijitElement.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelper
|
||||
{
|
||||
@ -67,7 +67,7 @@ class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelp
|
||||
|
||||
/**
|
||||
* Get element attributes
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getElementAttribs()
|
||||
@ -85,9 +85,9 @@ class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelp
|
||||
|
||||
/**
|
||||
* Set a single dijit option parameter
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @return Zend_Dojo_Form_Decorator_DijitContainer
|
||||
*/
|
||||
public function setDijitParam($key, $value)
|
||||
@ -98,8 +98,8 @@ class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelp
|
||||
|
||||
/**
|
||||
* Set dijit option parameters
|
||||
*
|
||||
* @param array $params
|
||||
*
|
||||
* @param array $params
|
||||
* @return Zend_Dojo_Form_Decorator_DijitContainer
|
||||
*/
|
||||
public function setDijitParams(array $params)
|
||||
@ -110,8 +110,8 @@ class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelp
|
||||
|
||||
/**
|
||||
* Retrieve a single dijit option parameter
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @param string $key
|
||||
* @return mixed|null
|
||||
*/
|
||||
public function getDijitParam($key)
|
||||
@ -127,7 +127,7 @@ class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelp
|
||||
|
||||
/**
|
||||
* Get dijit option parameters
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDijitParams()
|
||||
@ -139,10 +139,10 @@ class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelp
|
||||
/**
|
||||
* Render an element using a view helper
|
||||
*
|
||||
* Determine view helper from 'helper' option, or, if none set, from
|
||||
* the element type. Then call as
|
||||
* Determine view helper from 'helper' option, or, if none set, from
|
||||
* the element type. Then call as
|
||||
* helper($element->getName(), $element->getValue(), $element->getAttribs())
|
||||
*
|
||||
*
|
||||
* @param string $content
|
||||
* @return string
|
||||
* @throws Zend_Form_Decorator_Exception if element or view are not registered
|
||||
@ -177,11 +177,11 @@ class Zend_Dojo_Form_Decorator_DijitElement extends Zend_Form_Decorator_ViewHelp
|
||||
} while ($view->dojo()->hasDijit($id));
|
||||
}
|
||||
$attribs['id'] = $id;
|
||||
|
||||
|
||||
if (array_key_exists('options', $attribs)) {
|
||||
$options = $attribs['options'];
|
||||
$options = $attribs['options'];
|
||||
}
|
||||
|
||||
|
||||
$elementContent = $view->$helper($name, $value, $dijitParams, $attribs, $options);
|
||||
switch ($this->getPlacement()) {
|
||||
case self::APPEND:
|
||||
|
@ -33,7 +33,7 @@ require_once 'Zend/Dojo/Form/Decorator/DijitContainer.php';
|
||||
* @subpackage Form_Decorator
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: DijitForm.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: DijitForm.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Decorator_DijitForm extends Zend_Dojo_Form_Decorator_DijitContainer
|
||||
{
|
||||
@ -41,8 +41,8 @@ class Zend_Dojo_Form_Decorator_DijitForm extends Zend_Dojo_Form_Decorator_DijitC
|
||||
* Render a form
|
||||
*
|
||||
* Replaces $content entirely from currently set element.
|
||||
*
|
||||
* @param string $content
|
||||
*
|
||||
* @param string $content
|
||||
* @return string
|
||||
*/
|
||||
public function render($content)
|
||||
@ -56,6 +56,6 @@ class Zend_Dojo_Form_Decorator_DijitForm extends Zend_Dojo_Form_Decorator_DijitC
|
||||
$dijitParams = $this->getDijitParams();
|
||||
$attribs = array_merge($this->getAttribs(), $this->getOptions());
|
||||
|
||||
return $view->form($element->getName(), $attribs, $content);
|
||||
return $view->form($element->getName(), $attribs, $content);
|
||||
}
|
||||
}
|
||||
|
@ -24,22 +24,22 @@ require_once 'Zend/Form/DisplayGroup.php';
|
||||
|
||||
/**
|
||||
* Dijit-enabled DisplayGroup
|
||||
*
|
||||
*
|
||||
* @uses Zend_Form_DisplayGroup
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: DisplayGroup.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: DisplayGroup.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_DisplayGroup extends Zend_Form_DisplayGroup
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*
|
||||
* @param string $name
|
||||
* @param Zend_Loader_PluginLoader $loader
|
||||
* @param array|Zend_Config|null $options
|
||||
* @param array|Zend_Config|null $options
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($name, Zend_Loader_PluginLoader $loader, $options = null)
|
||||
@ -52,8 +52,8 @@ class Zend_Dojo_Form_DisplayGroup extends Zend_Form_DisplayGroup
|
||||
* Set the view object
|
||||
*
|
||||
* Ensures that the view object has the dojo view helper path set.
|
||||
*
|
||||
* @param Zend_View_Interface $view
|
||||
*
|
||||
* @param Zend_View_Interface $view
|
||||
* @return Zend_Dojo_Form_Element_Dijit
|
||||
*/
|
||||
public function setView(Zend_View_Interface $view = null)
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
|
||||
/**
|
||||
* Button dijit
|
||||
*
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Button.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: Button.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_Button extends Zend_Dojo_Form_Element_Dijit
|
||||
{
|
||||
@ -42,7 +42,7 @@ class Zend_Dojo_Form_Element_Button extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*
|
||||
* @param string|array|Zend_Config $spec Element name or configuration
|
||||
* @param string|array|Zend_Config $options Element value or configuration
|
||||
* @return void
|
||||
@ -62,7 +62,7 @@ class Zend_Dojo_Form_Element_Button extends Zend_Dojo_Form_Element_Dijit
|
||||
* If no label is present, returns the currently set name.
|
||||
*
|
||||
* If a translator is present, returns the translated label.
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLabel()
|
||||
@ -82,7 +82,7 @@ class Zend_Dojo_Form_Element_Button extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Has this submit button been selected?
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isChecked()
|
||||
@ -103,7 +103,7 @@ class Zend_Dojo_Form_Element_Button extends Zend_Dojo_Form_Element_Dijit
|
||||
* Default decorators
|
||||
*
|
||||
* Uses only 'DijitElement' and 'DtDdWrapper' decorators by default.
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function loadDefaultDecorators()
|
||||
|
@ -26,13 +26,13 @@ require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
* CheckBox dijit
|
||||
*
|
||||
* Note: this would be easier with mixins or traits...
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_Dijit
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CheckBox.php 17716 2009-08-21 15:08:31Z matthew $
|
||||
* @version $Id: CheckBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
{
|
||||
@ -78,10 +78,10 @@ class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
/**
|
||||
* Set options
|
||||
*
|
||||
* Intercept checked and unchecked values and set them early; test stored
|
||||
* Intercept checked and unchecked values and set them early; test stored
|
||||
* value against checked and unchecked values after configuration.
|
||||
*
|
||||
* @param array $options
|
||||
*
|
||||
* @param array $options
|
||||
* @return Zend_Form_Element_Checkbox
|
||||
*/
|
||||
public function setOptions(array $options)
|
||||
@ -111,11 +111,11 @@ class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
* If value matches checked value, sets to that value, and sets the checked
|
||||
* flag to true.
|
||||
*
|
||||
* Any other value causes the unchecked value to be set as the current
|
||||
* Any other value causes the unchecked value to be set as the current
|
||||
* value, and the checked flag to be set as false.
|
||||
*
|
||||
*
|
||||
* @param mixed $value
|
||||
*
|
||||
* @param mixed $value
|
||||
* @return Zend_Form_Element_Checkbox
|
||||
*/
|
||||
public function setValue($value)
|
||||
@ -132,8 +132,8 @@ class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set checked value
|
||||
*
|
||||
* @param string $value
|
||||
*
|
||||
* @param string $value
|
||||
* @return Zend_Form_Element_Checkbox
|
||||
*/
|
||||
public function setCheckedValue($value)
|
||||
@ -145,7 +145,7 @@ class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get value when checked
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCheckedValue()
|
||||
@ -155,8 +155,8 @@ class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set unchecked value
|
||||
*
|
||||
* @param string $value
|
||||
*
|
||||
* @param string $value
|
||||
* @return Zend_Form_Element_Checkbox
|
||||
*/
|
||||
public function setUncheckedValue($value)
|
||||
@ -168,7 +168,7 @@ class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get value when not checked
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getUncheckedValue()
|
||||
@ -178,8 +178,8 @@ class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set checked flag
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return Zend_Form_Element_Checkbox
|
||||
*/
|
||||
public function setChecked($flag)
|
||||
@ -195,7 +195,7 @@ class Zend_Dojo_Form_Element_CheckBox extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get checked flag
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isChecked()
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/DijitMulti.php';
|
||||
|
||||
/**
|
||||
* ComboBox dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_DijitMulti
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: ComboBox.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: ComboBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
{
|
||||
@ -47,8 +47,8 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
protected $_registerInArrayValidator = false;
|
||||
|
||||
/**
|
||||
* Get datastore information
|
||||
*
|
||||
* Get datastore information
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getStoreInfo()
|
||||
@ -61,8 +61,8 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
|
||||
/**
|
||||
* Set datastore identifier
|
||||
*
|
||||
* @param string $identifier
|
||||
*
|
||||
* @param string $identifier
|
||||
* @return Zend_Dojo_Form_Element_ComboBox
|
||||
*/
|
||||
public function setStoreId($identifier)
|
||||
@ -74,8 +74,8 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
}
|
||||
|
||||
/**
|
||||
* Get datastore identifier
|
||||
*
|
||||
* Get datastore identifier
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getStoreId()
|
||||
@ -89,8 +89,8 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
|
||||
/**
|
||||
* Set datastore dijit type
|
||||
*
|
||||
* @param string $dojoType
|
||||
*
|
||||
* @param string $dojoType
|
||||
* @return Zend_Dojo_Form_Element_ComboBox
|
||||
*/
|
||||
public function setStoreType($dojoType)
|
||||
@ -102,8 +102,8 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
}
|
||||
|
||||
/**
|
||||
* Get datastore dijit type
|
||||
*
|
||||
* Get datastore dijit type
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getStoreType()
|
||||
@ -117,8 +117,8 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
|
||||
/**
|
||||
* Set datastore parameters
|
||||
*
|
||||
* @param array $params
|
||||
*
|
||||
* @param array $params
|
||||
* @return Zend_Dojo_Form_Element_ComboBox
|
||||
*/
|
||||
public function setStoreParams(array $params)
|
||||
@ -131,7 +131,7 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
|
||||
/**
|
||||
* Get datastore params
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getStoreParams()
|
||||
@ -145,8 +145,8 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
|
||||
/**
|
||||
* Set autocomplete flag
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return Zend_Dojo_Form_Element_ComboBox
|
||||
*/
|
||||
public function setAutocomplete($flag)
|
||||
@ -157,7 +157,7 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
|
||||
/**
|
||||
* Get autocomplete flag
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getAutocomplete()
|
||||
@ -170,9 +170,9 @@ class Zend_Dojo_Form_Element_ComboBox extends Zend_Dojo_Form_Element_DijitMulti
|
||||
|
||||
/**
|
||||
* Is the value valid?
|
||||
*
|
||||
* @param string $value
|
||||
* @param mixed $context
|
||||
*
|
||||
* @param string $value
|
||||
* @param mixed $context
|
||||
* @return bool
|
||||
*/
|
||||
public function isValid($value, $context = null)
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/NumberTextBox.php';
|
||||
|
||||
/**
|
||||
* CurrencyTextBox dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_NumberTextBox
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CurrencyTextBox.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: CurrencyTextBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_CurrencyTextBox extends Zend_Dojo_Form_Element_NumberTextBox
|
||||
{
|
||||
@ -110,7 +110,7 @@ class Zend_Dojo_Form_Element_CurrencyTextBox extends Zend_Dojo_Form_Element_Numb
|
||||
|
||||
/**
|
||||
* Get whether or not to present fractional values
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getFractional()
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/ValidationTextBox.php';
|
||||
|
||||
/**
|
||||
* DateTextBox dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_ValidationTextBox
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: DateTextBox.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: DateTextBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_DateTextBox extends Zend_Dojo_Form_Element_ValidationTextBox
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Form/Element.php';
|
||||
|
||||
/**
|
||||
* Base element for dijit elements
|
||||
*
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Dijit.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: Dijit.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
{
|
||||
@ -48,10 +48,10 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*
|
||||
* @todo Should we set dojo view helper paths here?
|
||||
* @param mixed $spec
|
||||
* @param mixed $options
|
||||
* @param mixed $spec
|
||||
* @param mixed $options
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($spec, $options = null)
|
||||
@ -62,9 +62,9 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Set a dijit parameter
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @return Zend_Dojo_Form_Element_Dijit
|
||||
*/
|
||||
public function setDijitParam($key, $value)
|
||||
@ -76,8 +76,8 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Set multiple dijit params at once
|
||||
*
|
||||
* @param array $params
|
||||
*
|
||||
* @param array $params
|
||||
* @return Zend_Dojo_Form_Element_Dijit
|
||||
*/
|
||||
public function setDijitParams(array $params)
|
||||
@ -88,8 +88,8 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Does the given dijit parameter exist?
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @param string $key
|
||||
* @return bool
|
||||
*/
|
||||
public function hasDijitParam($key)
|
||||
@ -99,8 +99,8 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Get a single dijit parameter
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @param string $key
|
||||
* @return mixed
|
||||
*/
|
||||
public function getDijitParam($key)
|
||||
@ -114,7 +114,7 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Retrieve all dijit parameters
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDijitParams()
|
||||
@ -124,8 +124,8 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Remove a single dijit parameter
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @param string $key
|
||||
* @return Zend_Dojo_Form_Element_Dijit
|
||||
*/
|
||||
public function removeDijitParam($key)
|
||||
@ -139,7 +139,7 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Clear all dijit parameters
|
||||
*
|
||||
*
|
||||
* @return Zend_Dojo_Form_Element_Dijit
|
||||
*/
|
||||
public function clearDijitParams()
|
||||
@ -150,7 +150,7 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
|
||||
/**
|
||||
* Load default decorators
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function loadDefaultDecorators()
|
||||
@ -173,8 +173,8 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
|
||||
* Set the view object
|
||||
*
|
||||
* Ensures that the view object has the dojo view helper path set.
|
||||
*
|
||||
* @param Zend_View_Interface $view
|
||||
*
|
||||
* @param Zend_View_Interface $view
|
||||
* @return Zend_Dojo_Form_Element_Dijit
|
||||
*/
|
||||
public function setView(Zend_View_Interface $view = null)
|
||||
|
@ -26,13 +26,13 @@ require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
* CheckBox dijit
|
||||
*
|
||||
* Note: this would be easier with mixins or traits...
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_Dijit
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: DijitMulti.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: DijitMulti.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_Dijit
|
||||
{
|
||||
@ -84,7 +84,7 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Retrieve options array
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function _getMultiOptions()
|
||||
@ -98,8 +98,8 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Add an option
|
||||
*
|
||||
* @param string $option
|
||||
*
|
||||
* @param string $option
|
||||
* @param string $value
|
||||
* @return Zend_Form_Element_Multi
|
||||
*/
|
||||
@ -116,14 +116,14 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Add many options at once
|
||||
*
|
||||
* @param array $options
|
||||
*
|
||||
* @param array $options
|
||||
* @return Zend_Form_Element_Multi
|
||||
*/
|
||||
public function addMultiOptions(array $options)
|
||||
{
|
||||
foreach ($options as $option => $value) {
|
||||
if (is_array($value)
|
||||
if (is_array($value)
|
||||
&& array_key_exists('key', $value)
|
||||
&& array_key_exists('value', $value)
|
||||
) {
|
||||
@ -149,8 +149,8 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Retrieve single multi option
|
||||
*
|
||||
* @param string $option
|
||||
*
|
||||
* @param string $option
|
||||
* @return mixed
|
||||
*/
|
||||
public function getMultiOption($option)
|
||||
@ -181,8 +181,8 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Remove a single multi option
|
||||
*
|
||||
* @param string $option
|
||||
*
|
||||
* @param string $option
|
||||
* @return bool
|
||||
*/
|
||||
public function removeMultiOption($option)
|
||||
@ -202,7 +202,7 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Clear all options
|
||||
*
|
||||
*
|
||||
* @return Zend_Form_Element_Multi
|
||||
*/
|
||||
public function clearMultiOptions()
|
||||
@ -214,8 +214,8 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Set flag indicating whether or not to auto-register inArray validator
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return Zend_Form_Element_Multi
|
||||
*/
|
||||
public function setRegisterInArrayValidator($flag)
|
||||
@ -226,7 +226,7 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Get status of auto-register inArray validator flag
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function registerInArrayValidator()
|
||||
@ -238,9 +238,9 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
* Is the value provided valid?
|
||||
*
|
||||
* Autoregisters InArray validator if necessary.
|
||||
*
|
||||
* @param string $value
|
||||
* @param mixed $context
|
||||
*
|
||||
* @param string $value
|
||||
* @param mixed $context
|
||||
* @return bool
|
||||
*/
|
||||
public function isValid($value, $context = null)
|
||||
@ -260,8 +260,8 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
|
||||
/**
|
||||
* Translate an option
|
||||
*
|
||||
* @param string $option
|
||||
*
|
||||
* @param string $option
|
||||
* @param string $value
|
||||
* @return bool
|
||||
*/
|
||||
@ -274,15 +274,15 @@ abstract class Zend_Dojo_Form_Element_DijitMulti extends Zend_Dojo_Form_Element_
|
||||
}
|
||||
$this->_translated[$option] = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Translate a value
|
||||
*
|
||||
* @param array|string $value
|
||||
*
|
||||
* @param array|string $value
|
||||
* @return array|string
|
||||
*/
|
||||
protected function _translateValue($value)
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Editor.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: Editor.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/** Zend_Dojo_Form_Element_Dijit */
|
||||
@ -25,7 +25,7 @@ require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
|
||||
/**
|
||||
* Editor dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_Dijit
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
@ -42,8 +42,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Add a single event to connect to the editing area
|
||||
*
|
||||
* @param string $event
|
||||
*
|
||||
* @param string $event
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function addCaptureEvent($event)
|
||||
@ -61,8 +61,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Add multiple capture events
|
||||
*
|
||||
* @param array $events
|
||||
*
|
||||
* @param array $events
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function addCaptureEvents(array $events)
|
||||
@ -75,8 +75,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Overwrite many capture events at once
|
||||
*
|
||||
* @param array $events
|
||||
*
|
||||
* @param array $events
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setCaptureEvents(array $events)
|
||||
@ -88,7 +88,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get all capture events
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getCaptureEvents()
|
||||
@ -101,7 +101,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Is a given capture event registered?
|
||||
*
|
||||
*
|
||||
* @param string $event
|
||||
* @return bool
|
||||
*/
|
||||
@ -113,7 +113,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Remove a given capture event
|
||||
*
|
||||
*
|
||||
* @param string $event
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
@ -131,7 +131,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Clear all capture events
|
||||
*
|
||||
*
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function clearCaptureEvents()
|
||||
@ -141,8 +141,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Add a single event to the dijit
|
||||
*
|
||||
* @param string $event
|
||||
*
|
||||
* @param string $event
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function addEvent($event)
|
||||
@ -160,8 +160,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Add multiple events
|
||||
*
|
||||
* @param array $events
|
||||
*
|
||||
* @param array $events
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function addEvents(array $events)
|
||||
@ -174,8 +174,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Overwrite many events at once
|
||||
*
|
||||
* @param array $events
|
||||
*
|
||||
* @param array $events
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setEvents(array $events)
|
||||
@ -187,7 +187,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get all events
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getEvents()
|
||||
@ -200,7 +200,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Is a given event registered?
|
||||
*
|
||||
*
|
||||
* @param string $event
|
||||
* @return bool
|
||||
*/
|
||||
@ -212,7 +212,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Remove a given event
|
||||
*
|
||||
*
|
||||
* @param string $event
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
@ -229,7 +229,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Clear all events
|
||||
*
|
||||
*
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function clearEvents()
|
||||
@ -239,8 +239,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Add a single editor plugin
|
||||
*
|
||||
* @param string $plugin
|
||||
*
|
||||
* @param string $plugin
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function addPlugin($plugin)
|
||||
@ -258,8 +258,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Add multiple plugins
|
||||
*
|
||||
* @param array $plugins
|
||||
*
|
||||
* @param array $plugins
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function addPlugins(array $plugins)
|
||||
@ -272,8 +272,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Overwrite many plugins at once
|
||||
*
|
||||
* @param array $plugins
|
||||
*
|
||||
* @param array $plugins
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setPlugins(array $plugins)
|
||||
@ -285,7 +285,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get all plugins
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getPlugins()
|
||||
@ -298,7 +298,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Is a given plugin registered?
|
||||
*
|
||||
*
|
||||
* @param string $plugin
|
||||
* @return bool
|
||||
*/
|
||||
@ -310,7 +310,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Remove a given plugin
|
||||
*
|
||||
*
|
||||
* @param string $plugin
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
@ -327,7 +327,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Clear all plugins
|
||||
*
|
||||
*
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function clearPlugins()
|
||||
@ -337,8 +337,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set edit action interval
|
||||
*
|
||||
* @param int $interval
|
||||
*
|
||||
* @param int $interval
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setEditActionInterval($interval)
|
||||
@ -348,7 +348,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get edit action interval; defaults to 3
|
||||
*
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getEditActionInterval()
|
||||
@ -361,8 +361,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set focus on load flag
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setFocusOnLoad($flag)
|
||||
@ -372,7 +372,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Retrieve focus on load flag
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getFocusOnLoad()
|
||||
@ -385,8 +385,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set editor height
|
||||
*
|
||||
* @param string|int $height
|
||||
*
|
||||
* @param string|int $height
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setHeight($height)
|
||||
@ -403,7 +403,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Retrieve height
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getHeight()
|
||||
@ -416,8 +416,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set whether or not to inherit parent's width
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setInheritWidth($flag)
|
||||
@ -427,7 +427,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Whether or not to inherit the parent's width
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getInheritWidth()
|
||||
@ -440,8 +440,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set minimum height of editor
|
||||
*
|
||||
* @param string|int $minHeight
|
||||
*
|
||||
* @param string|int $minHeight
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setMinHeight($minHeight)
|
||||
@ -458,7 +458,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get minimum height of editor
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getMinHeight()
|
||||
@ -471,8 +471,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Add a custom stylesheet
|
||||
*
|
||||
* @param string $styleSheet
|
||||
*
|
||||
* @param string $styleSheet
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function addStyleSheet($styleSheet)
|
||||
@ -493,8 +493,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Add multiple custom stylesheets
|
||||
*
|
||||
* @param array $styleSheets
|
||||
*
|
||||
* @param array $styleSheets
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function addStyleSheets(array $styleSheets)
|
||||
@ -507,8 +507,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Overwrite all stylesheets
|
||||
*
|
||||
* @param array $styleSheets
|
||||
*
|
||||
* @param array $styleSheets
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setStyleSheets(array $styleSheets)
|
||||
@ -519,7 +519,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get all stylesheets
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStyleSheets()
|
||||
@ -532,8 +532,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Is a given stylesheet registered?
|
||||
*
|
||||
* @param string $styleSheet
|
||||
*
|
||||
* @param string $styleSheet
|
||||
* @return bool
|
||||
*/
|
||||
public function hasStyleSheet($styleSheet)
|
||||
@ -545,8 +545,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Remove a single stylesheet
|
||||
*
|
||||
* @param string $styleSheet
|
||||
*
|
||||
* @param string $styleSheet
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function removeStyleSheet($styleSheet)
|
||||
@ -562,7 +562,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Clear all stylesheets
|
||||
*
|
||||
*
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function clearStyleSheets()
|
||||
@ -575,8 +575,8 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Set update interval
|
||||
*
|
||||
* @param int $interval
|
||||
*
|
||||
* @param int $interval
|
||||
* @return Zend_Dojo_Form_Element_Editor
|
||||
*/
|
||||
public function setUpdateInterval($interval)
|
||||
@ -586,7 +586,7 @@ class Zend_Dojo_Form_Element_Editor extends Zend_Dojo_Form_Element_Dijit
|
||||
|
||||
/**
|
||||
* Get update interval
|
||||
*
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getUpdateInterval()
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/ComboBox.php';
|
||||
|
||||
/**
|
||||
* FilteringSelect dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_ComboBox
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: FilteringSelect.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: FilteringSelect.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_FilteringSelect extends Zend_Dojo_Form_Element_ComboBox
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/Slider.php';
|
||||
|
||||
/**
|
||||
* HorizontalSlider dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_Slider
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: HorizontalSlider.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: HorizontalSlider.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Slider
|
||||
{
|
||||
@ -42,7 +42,7 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Get top decoration data
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getTopDecoration()
|
||||
@ -55,8 +55,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set dijit to use with top decoration
|
||||
*
|
||||
* @param mixed $dijit
|
||||
*
|
||||
* @param mixed $dijit
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setTopDecorationDijit($dijit)
|
||||
@ -69,8 +69,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set container to use with top decoration
|
||||
*
|
||||
* @param mixed $container
|
||||
*
|
||||
* @param mixed $container
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setTopDecorationContainer($container)
|
||||
@ -83,8 +83,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set labels to use with top decoration
|
||||
*
|
||||
* @param array $labels
|
||||
*
|
||||
* @param array $labels
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setTopDecorationLabels(array $labels)
|
||||
@ -97,8 +97,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set params to use with top decoration
|
||||
*
|
||||
* @param array $params
|
||||
*
|
||||
* @param array $params
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setTopDecorationParams(array $params)
|
||||
@ -111,8 +111,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set attribs to use with top decoration
|
||||
*
|
||||
* @param array $attribs
|
||||
*
|
||||
* @param array $attribs
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setTopDecorationAttribs(array $attribs)
|
||||
@ -125,7 +125,7 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Get bottom decoration data
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getBottomDecoration()
|
||||
@ -138,8 +138,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set dijit to use with bottom decoration
|
||||
*
|
||||
* @param mixed $dijit
|
||||
*
|
||||
* @param mixed $dijit
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setBottomDecorationDijit($dijit)
|
||||
@ -152,8 +152,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set container to use with bottom decoration
|
||||
*
|
||||
* @param mixed $container
|
||||
*
|
||||
* @param mixed $container
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setBottomDecorationContainer($container)
|
||||
@ -166,8 +166,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set labels to use with bottom decoration
|
||||
*
|
||||
* @param array $labels
|
||||
*
|
||||
* @param array $labels
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setBottomDecorationLabels(array $labels)
|
||||
@ -180,8 +180,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set params to use with bottom decoration
|
||||
*
|
||||
* @param array $params
|
||||
*
|
||||
* @param array $params
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setBottomDecorationParams(array $params)
|
||||
@ -194,8 +194,8 @@ class Zend_Dojo_Form_Element_HorizontalSlider extends Zend_Dojo_Form_Element_Sli
|
||||
|
||||
/**
|
||||
* Set attribs to use with bottom decoration
|
||||
*
|
||||
* @param array $attribs
|
||||
*
|
||||
* @param array $attribs
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setBottomDecorationAttribs(array $attribs)
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/ValidationTextBox.php';
|
||||
|
||||
/**
|
||||
* NumberSpinner dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_ValidationTextBox
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: NumberSpinner.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: NumberSpinner.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_NumberSpinner extends Zend_Dojo_Form_Element_ValidationTextBox
|
||||
{
|
||||
@ -177,8 +177,8 @@ class Zend_Dojo_Form_Element_NumberSpinner extends Zend_Dojo_Form_Element_Valida
|
||||
|
||||
/**
|
||||
* Set minimum value
|
||||
*
|
||||
* @param int $value
|
||||
*
|
||||
* @param int $value
|
||||
* @return Zend_Dojo_Form_Element_NumberSpinner
|
||||
*/
|
||||
public function setMin($value)
|
||||
@ -194,7 +194,7 @@ class Zend_Dojo_Form_Element_NumberSpinner extends Zend_Dojo_Form_Element_Valida
|
||||
|
||||
/**
|
||||
* Get minimum value
|
||||
*
|
||||
*
|
||||
* @return null|int
|
||||
*/
|
||||
public function getMin()
|
||||
@ -211,8 +211,8 @@ class Zend_Dojo_Form_Element_NumberSpinner extends Zend_Dojo_Form_Element_Valida
|
||||
|
||||
/**
|
||||
* Set maximum value
|
||||
*
|
||||
* @param int $value
|
||||
*
|
||||
* @param int $value
|
||||
* @return Zend_Dojo_Form_Element_NumberSpinner
|
||||
*/
|
||||
public function setMax($value)
|
||||
@ -228,7 +228,7 @@ class Zend_Dojo_Form_Element_NumberSpinner extends Zend_Dojo_Form_Element_Valida
|
||||
|
||||
/**
|
||||
* Get maximum value
|
||||
*
|
||||
*
|
||||
* @return null|int
|
||||
*/
|
||||
public function getMax()
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/ValidationTextBox.php';
|
||||
|
||||
/**
|
||||
* NumberTextBox dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_ValidationTextBox
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: NumberTextBox.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: NumberTextBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_NumberTextBox extends Zend_Dojo_Form_Element_ValidationTextBox
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/ValidationTextBox.php';
|
||||
|
||||
/**
|
||||
* ValidationTextBox dijit tied to password input
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_ValidationTextBox
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: PasswordTextBox.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: PasswordTextBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_PasswordTextBox extends Zend_Dojo_Form_Element_ValidationTextBox
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/DijitMulti.php';
|
||||
|
||||
/**
|
||||
* RadioButton dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_DijitMulti
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RadioButton.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: RadioButton.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_RadioButton extends Zend_Dojo_Form_Element_DijitMulti
|
||||
{
|
||||
|
@ -24,14 +24,14 @@ require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
|
||||
/**
|
||||
* dijit.form.SimpleTextArea
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_Dijit
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SimpleTextarea.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: SimpleTextarea.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_SimpleTextarea extends Zend_Dojo_Form_Element_Dijit
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
|
||||
/**
|
||||
* Abstract Slider dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_Dijit
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Slider.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: Slider.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
abstract class Zend_Dojo_Form_Element_Slider extends Zend_Dojo_Form_Element_Dijit
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/Button.php';
|
||||
|
||||
/**
|
||||
* Submit button dijit
|
||||
*
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SubmitButton.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: SubmitButton.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_SubmitButton extends Zend_Dojo_Form_Element_Button
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
|
||||
/**
|
||||
* TextBox dijit
|
||||
*
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: TextBox.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: TextBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_TextBox extends Zend_Dojo_Form_Element_Dijit
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/Dijit.php';
|
||||
|
||||
/**
|
||||
* Textarea dijit
|
||||
*
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Textarea.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: Textarea.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_Textarea extends Zend_Dojo_Form_Element_Dijit
|
||||
{
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/DateTextBox.php';
|
||||
|
||||
/**
|
||||
* TimeTextBox dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_DateTextBox
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: TimeTextBox.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: TimeTextBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_TimeTextBox extends Zend_Dojo_Form_Element_DateTextBox
|
||||
{
|
||||
@ -42,8 +42,8 @@ class Zend_Dojo_Form_Element_TimeTextBox extends Zend_Dojo_Form_Element_DateText
|
||||
|
||||
/**
|
||||
* Validate ISO 8601 time format
|
||||
*
|
||||
* @param string $format
|
||||
*
|
||||
* @param string $format
|
||||
* @return true
|
||||
* @throws Zend_Form_Element_Exception
|
||||
*/
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/TextBox.php';
|
||||
|
||||
/**
|
||||
* ValidationTextBox dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_TextBox
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: ValidationTextBox.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: ValidationTextBox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_TextBox
|
||||
{
|
||||
@ -108,9 +108,9 @@ class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_Te
|
||||
|
||||
/**
|
||||
* Set an individual constraint
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @return Zend_Dojo_Form_Element_ValidationTextBox
|
||||
*/
|
||||
public function setConstraint($key, $value)
|
||||
@ -124,10 +124,10 @@ class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_Te
|
||||
/**
|
||||
* Set validation constraints
|
||||
*
|
||||
* Refer to Dojo dijit.form.ValidationTextBox documentation for valid
|
||||
* Refer to Dojo dijit.form.ValidationTextBox documentation for valid
|
||||
* structure.
|
||||
*
|
||||
* @param array $constraints
|
||||
*
|
||||
* @param array $constraints
|
||||
* @return Zend_Dojo_Form_Element_ValidationTextBox
|
||||
*/
|
||||
public function setConstraints(array $constraints)
|
||||
@ -139,8 +139,8 @@ class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_Te
|
||||
|
||||
/**
|
||||
* Is the given constraint set?
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @param string $key
|
||||
* @return bool
|
||||
*/
|
||||
public function hasConstraint($key)
|
||||
@ -151,8 +151,8 @@ class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_Te
|
||||
|
||||
/**
|
||||
* Get an individual constraint
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @param string $key
|
||||
* @return mixed
|
||||
*/
|
||||
public function getConstraint($key)
|
||||
@ -166,7 +166,7 @@ class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_Te
|
||||
|
||||
/**
|
||||
* Get constraints
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getConstraints()
|
||||
@ -179,8 +179,8 @@ class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_Te
|
||||
|
||||
/**
|
||||
* Remove a single constraint
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @param string $key
|
||||
* @return Zend_Dojo_Form_Element_ValidationTextBox
|
||||
*/
|
||||
public function removeConstraint($key)
|
||||
@ -194,7 +194,7 @@ class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_Te
|
||||
|
||||
/**
|
||||
* Clear all constraints
|
||||
*
|
||||
*
|
||||
* @return Zend_Dojo_Form_Element_ValidationTextBox
|
||||
*/
|
||||
public function clearConstraints()
|
||||
@ -204,9 +204,9 @@ class Zend_Dojo_Form_Element_ValidationTextBox extends Zend_Dojo_Form_Element_Te
|
||||
|
||||
/**
|
||||
* Cast a boolean value to a string
|
||||
*
|
||||
* @param mixed $item
|
||||
* @param string $key
|
||||
*
|
||||
* @param mixed $item
|
||||
* @param string $key
|
||||
* @return void
|
||||
*/
|
||||
protected function _castBoolToString(&$item, $key)
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Dojo/Form/Element/Slider.php';
|
||||
|
||||
/**
|
||||
* VerticalSlider dijit
|
||||
*
|
||||
*
|
||||
* @uses Zend_Dojo_Form_Element_Slider
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form_Element
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: VerticalSlider.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: VerticalSlider.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slider
|
||||
{
|
||||
@ -42,7 +42,7 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Get left decoration data
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getLeftDecoration()
|
||||
@ -55,8 +55,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set dijit to use with left decoration
|
||||
*
|
||||
* @param mixed $dijit
|
||||
*
|
||||
* @param mixed $dijit
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setLeftDecorationDijit($dijit)
|
||||
@ -69,8 +69,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set container to use with left decoration
|
||||
*
|
||||
* @param mixed $container
|
||||
*
|
||||
* @param mixed $container
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setLeftDecorationContainer($container)
|
||||
@ -83,8 +83,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set labels to use with left decoration
|
||||
*
|
||||
* @param array $labels
|
||||
*
|
||||
* @param array $labels
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setLeftDecorationLabels(array $labels)
|
||||
@ -97,8 +97,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set params to use with left decoration
|
||||
*
|
||||
* @param array $params
|
||||
*
|
||||
* @param array $params
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setLeftDecorationParams(array $params)
|
||||
@ -111,8 +111,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set attribs to use with left decoration
|
||||
*
|
||||
* @param array $attribs
|
||||
*
|
||||
* @param array $attribs
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setLeftDecorationAttribs(array $attribs)
|
||||
@ -125,7 +125,7 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Get right decoration data
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getRightDecoration()
|
||||
@ -138,8 +138,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set dijit to use with right decoration
|
||||
*
|
||||
* @param mixed $dijit
|
||||
*
|
||||
* @param mixed $dijit
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setRightDecorationDijit($dijit)
|
||||
@ -152,8 +152,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set container to use with right decoration
|
||||
*
|
||||
* @param mixed $container
|
||||
*
|
||||
* @param mixed $container
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setRightDecorationContainer($container)
|
||||
@ -166,8 +166,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set labels to use with right decoration
|
||||
*
|
||||
* @param array $labels
|
||||
*
|
||||
* @param array $labels
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setRightDecorationLabels(array $labels)
|
||||
@ -180,8 +180,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set params to use with right decoration
|
||||
*
|
||||
* @param array $params
|
||||
*
|
||||
* @param array $params
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setRightDecorationParams(array $params)
|
||||
@ -194,8 +194,8 @@ class Zend_Dojo_Form_Element_VerticalSlider extends Zend_Dojo_Form_Element_Slide
|
||||
|
||||
/**
|
||||
* Set attribs to use with right decoration
|
||||
*
|
||||
* @param array $attribs
|
||||
*
|
||||
* @param array $attribs
|
||||
* @return Zend_Dojo_Form_Element_HorizontalSlider
|
||||
*/
|
||||
public function setRightDecorationAttribs(array $attribs)
|
||||
|
@ -24,13 +24,13 @@ require_once 'Zend/Form/SubForm.php';
|
||||
|
||||
/**
|
||||
* Dijit-enabled SubForm
|
||||
*
|
||||
*
|
||||
* @uses Zend_Form_SubForm
|
||||
* @package Zend_Dojo
|
||||
* @subpackage Form
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SubForm.php 16204 2009-06-21 18:58:29Z thomas $
|
||||
* @version $Id: SubForm.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
class Zend_Dojo_Form_SubForm extends Zend_Form_SubForm
|
||||
{
|
||||
@ -42,8 +42,8 @@ class Zend_Dojo_Form_SubForm extends Zend_Form_SubForm
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param array|Zend_Config|null $options
|
||||
*
|
||||
* @param array|Zend_Config|null $options
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($options = null)
|
||||
@ -58,7 +58,7 @@ class Zend_Dojo_Form_SubForm extends Zend_Form_SubForm
|
||||
|
||||
/**
|
||||
* Load the default decorators
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function loadDefaultDecorators()
|
||||
@ -76,8 +76,8 @@ class Zend_Dojo_Form_SubForm extends Zend_Form_SubForm
|
||||
}
|
||||
|
||||
/**
|
||||
* Get view
|
||||
*
|
||||
* Get view
|
||||
*
|
||||
* @return Zend_View_Interface
|
||||
*/
|
||||
public function getView()
|
||||
|
Reference in New Issue
Block a user