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:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

View File

@ -24,13 +24,13 @@ require_once 'Zend/Form/Element/Multi.php';
/**
* Radio form element
*
*
* @category Zend
* @package Zend_Form
* @subpackage 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: Radio.php 16218 2009-06-21 19:44:04Z thomas $
* @version $Id: Radio.php 18951 2009-11-12 16:26:19Z alexander $
*/
class Zend_Form_Element_Radio extends Zend_Form_Element_Multi
{
@ -39,4 +39,19 @@ class Zend_Form_Element_Radio extends Zend_Form_Element_Multi
* @var string
*/
public $helper = 'formRadio';
/**
* Load default decorators
*
* Disables "for" attribute of label if label decorator enabled.
*
* @return void
*/
public function loadDefaultDecorators()
{
parent::loadDefaultDecorators();
if (false !== $decorator = $this->getDecorator('Label')) {
$decorator->setOption('disableFor', true);
}
}
}