import v1.1.0_RC2 | 2009-09-20
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Submit.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Button.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Button extends Zend_Form_Element_Submit
|
||||
{
|
||||
|
@ -15,35 +15,36 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Captcha.php 17616 2009-08-15 03:28:29Z yoshida@zend.co.jp $
|
||||
*/
|
||||
|
||||
/** Zend_Form_Element_Xhtml */
|
||||
/** @see Zend_Form_Element_Xhtml */
|
||||
require_once 'Zend/Form/Element/Xhtml.php';
|
||||
|
||||
/** Zend_Captcha_Adapter */
|
||||
/** @see Zend_Captcha_Adapter */
|
||||
require_once 'Zend/Captcha/Adapter.php';
|
||||
|
||||
/**
|
||||
* Generic captcha element
|
||||
*
|
||||
*
|
||||
* This element allows to insert CAPTCHA into the form in order
|
||||
* to validate that human is submitting the form. The actual
|
||||
* logic is contained in the captcha adapter.
|
||||
*
|
||||
*
|
||||
* @see http://en.wikipedia.org/wiki/Captcha
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
/**
|
||||
* @const string Captch plugin type constant
|
||||
* Captcha plugin type constant
|
||||
*/
|
||||
const CAPTCHA = 'CAPTCHA';
|
||||
|
||||
@ -53,24 +54,24 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
* @var Zend_Captcha_Adapter
|
||||
*/
|
||||
protected $_captcha;
|
||||
|
||||
|
||||
/**
|
||||
* Get captcha adapter
|
||||
*
|
||||
*
|
||||
* @return Zend_Captcha_Adapter
|
||||
*/
|
||||
public function getCaptcha()
|
||||
public function getCaptcha()
|
||||
{
|
||||
return $this->_captcha;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set captcha adapter
|
||||
*
|
||||
*
|
||||
* @param string|array|Zend_Captcha_Adapter $captcha
|
||||
* @param array $options
|
||||
*/
|
||||
public function setCaptcha($captcha, $options = array())
|
||||
public function setCaptcha($captcha, $options = array())
|
||||
{
|
||||
if ($captcha instanceof Zend_Captcha_Adapter) {
|
||||
$instance = $captcha;
|
||||
@ -99,7 +100,7 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$this->_captcha = $instance;
|
||||
$this->_captcha->setName($this->getName());
|
||||
return $this;
|
||||
@ -112,18 +113,18 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
* - string: name of element
|
||||
* - array: options with which to configure element
|
||||
* - Zend_Config: Zend_Config with options for configuring element
|
||||
*
|
||||
* @param string|array|Zend_Config $spec
|
||||
*
|
||||
* @param string|array|Zend_Config $spec
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($spec, $options = null)
|
||||
public function __construct($spec, $options = null)
|
||||
{
|
||||
parent::__construct($spec, $options);
|
||||
$this->setAllowEmpty(true)
|
||||
->setRequired(true)
|
||||
->setAutoInsertNotEmptyValidator(false)
|
||||
->addValidator($this->getCaptcha(), true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all attributes
|
||||
@ -147,8 +148,8 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
* Set options
|
||||
*
|
||||
* Overrides to allow passing captcha options
|
||||
*
|
||||
* @param array $options
|
||||
*
|
||||
* @param array $options
|
||||
* @return Zend_Form_Element_Captcha
|
||||
*/
|
||||
public function setOptions(array $options)
|
||||
@ -164,11 +165,11 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
}
|
||||
return parent::setOptions($options);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Render form element
|
||||
*
|
||||
* @param Zend_View_Interface $view
|
||||
*
|
||||
* @param Zend_View_Interface $view
|
||||
* @return string
|
||||
*/
|
||||
public function render(Zend_View_Interface $view = null)
|
||||
@ -192,13 +193,13 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
|
||||
return parent::render($view);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Retrieve plugin loader for validator or filter chain
|
||||
*
|
||||
* Support for plugin loader for Captcha adapters
|
||||
*
|
||||
* @param string $type
|
||||
* Support for plugin loader for Captcha adapters
|
||||
*
|
||||
* @param string $type
|
||||
* @return Zend_Loader_PluginLoader
|
||||
* @throws Zend_Loader_Exception on invalid type.
|
||||
*/
|
||||
@ -217,14 +218,15 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
return parent::getPluginLoader($type);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add prefix path for plugin loader for captcha adapters
|
||||
*
|
||||
* This method handles the captcha type, the rest is handled by
|
||||
* the parent
|
||||
*
|
||||
* @param string $path
|
||||
* the parent
|
||||
* @param string $prefix
|
||||
* @param string $path
|
||||
* @param string $type
|
||||
* @return Zend_Form_Element
|
||||
* @see Zend_Form_Element::addPrefixPath
|
||||
*/
|
||||
@ -246,10 +248,10 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
return parent::addPrefixPath($prefix, $path, $type);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Load default decorators
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function loadDefaultDecorators()
|
||||
@ -269,9 +271,9 @@ class Zend_Form_Element_Captcha extends Zend_Form_Element_Xhtml
|
||||
|
||||
/**
|
||||
* Is the captcha valid?
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param mixed $context
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param mixed $context
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValid($value, $context = null)
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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 9323 2008-04-25 21:13:17Z matthew $
|
||||
* @version $Id: Checkbox.php 17716 2009-08-21 15:08:31Z matthew $
|
||||
*/
|
||||
class Zend_Form_Element_Checkbox extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
@ -46,6 +46,15 @@ class Zend_Form_Element_Checkbox extends Zend_Form_Element_Xhtml
|
||||
*/
|
||||
public $helper = 'formCheckbox';
|
||||
|
||||
/**
|
||||
* Options that will be passed to the view helper
|
||||
* @var array
|
||||
*/
|
||||
public $options = array(
|
||||
'checkedValue' => '1',
|
||||
'uncheckedValue' => '0',
|
||||
);
|
||||
|
||||
/**
|
||||
* Value when checked
|
||||
* @var string
|
||||
@ -128,6 +137,7 @@ class Zend_Form_Element_Checkbox extends Zend_Form_Element_Xhtml
|
||||
public function setCheckedValue($value)
|
||||
{
|
||||
$this->_checkedValue = (string) $value;
|
||||
$this->options['checkedValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -150,6 +160,7 @@ class Zend_Form_Element_Checkbox extends Zend_Form_Element_Xhtml
|
||||
public function setUncheckedValue($value)
|
||||
{
|
||||
$this->_uncheckedValue = (string) $value;
|
||||
$this->options['uncheckedValue'] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -189,21 +200,4 @@ class Zend_Form_Element_Checkbox extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
return $this->checked;
|
||||
}
|
||||
|
||||
/**
|
||||
* Render
|
||||
*
|
||||
* Ensure that options property is set when rendering.
|
||||
*
|
||||
* @param Zend_View_Interface $view
|
||||
* @return string
|
||||
*/
|
||||
public function render(Zend_View_Interface $view = null)
|
||||
{
|
||||
$this->options = array(
|
||||
'checked' => $this->getCheckedValue(),
|
||||
'unChecked' => $this->getUncheckedValue(),
|
||||
);
|
||||
return parent::render($view);
|
||||
}
|
||||
}
|
||||
|
@ -15,8 +15,8 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: Exception.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @version $Id: Exception.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -29,7 +29,7 @@ require_once 'Zend/Form/Exception.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Form_Element_Exception extends Zend_Form_Exception
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -27,9 +27,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: File.php 15768 2009-05-25 20:34:32Z thomas $
|
||||
* @version $Id: File.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_File extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Hash.php 11332 2008-09-10 16:35:45Z matthew $
|
||||
* @version $Id: Hash.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Hash extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Hidden.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Hidden.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Hidden extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Image.php 14637 2009-04-04 13:53:25Z mcleod@spaceweb.nl $
|
||||
* @version $Id: Image.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Image extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Multi.php 16137 2009-06-18 18:38:25Z matthew $
|
||||
* @version $Id: Multi.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
abstract class Zend_Form_Element_Multi extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -32,9 +32,9 @@ require_once 'Zend/Form/Element/Multi.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: MultiCheckbox.php 8628 2008-03-07 15:04:13Z matthew $
|
||||
* @version $Id: MultiCheckbox.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_MultiCheckbox extends Zend_Form_Element_Multi
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Select.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Multiselect.php 8628 2008-03-07 15:04:13Z matthew $
|
||||
* @version $Id: Multiselect.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Multiselect extends Zend_Form_Element_Select
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Password.php 9337 2008-04-28 18:14:48Z matthew $
|
||||
* @version $Id: Password.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Password extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Multi.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Radio.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Radio.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Radio extends Zend_Form_Element_Multi
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Submit.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Reset.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Reset.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Reset extends Zend_Form_Element_Submit
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Multi.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Select.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Select.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Select extends Zend_Form_Element_Multi
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Submit.php 14637 2009-04-04 13:53:25Z mcleod@spaceweb.nl $
|
||||
* @version $Id: Submit.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Submit extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Text.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Text.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Text extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element/Xhtml.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Textarea.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
class Zend_Form_Element_Textarea extends Zend_Form_Element_Xhtml
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
@ -28,9 +28,9 @@ require_once 'Zend/Form/Element.php';
|
||||
* @category Zend
|
||||
* @package Zend_Form
|
||||
* @subpackage Element
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @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: Xhtml.php 8064 2008-02-16 10:58:39Z thomas $
|
||||
* @version $Id: Xhtml.php 16218 2009-06-21 19:44:04Z thomas $
|
||||
*/
|
||||
abstract class Zend_Form_Element_Xhtml extends Zend_Form_Element
|
||||
{
|
||||
|
Reference in New Issue
Block a user