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:
@ -17,7 +17,7 @@
|
||||
* @subpackage Helper
|
||||
* @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: FormCheckbox.php 17716 2009-08-21 15:08:31Z matthew $
|
||||
* @version $Id: FormCheckbox.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
|
||||
@ -89,7 +89,7 @@ class Zend_View_Helper_FormCheckbox extends Zend_View_Helper_FormElement
|
||||
|
||||
// build the element
|
||||
$xhtml = '';
|
||||
if (!strstr($name, '[]')) {
|
||||
if (!$disable && !strstr($name, '[]')) {
|
||||
$xhtml = $this->_hidden($name, $checkedOptions['uncheckedValue']);
|
||||
}
|
||||
$xhtml .= '<input type="checkbox"'
|
||||
@ -106,10 +106,10 @@ class Zend_View_Helper_FormCheckbox extends Zend_View_Helper_FormElement
|
||||
|
||||
/**
|
||||
* Determine checkbox information
|
||||
*
|
||||
* @param string $value
|
||||
* @param bool $checked
|
||||
* @param array|null $checkedOptions
|
||||
*
|
||||
* @param string $value
|
||||
* @param bool $checked
|
||||
* @param array|null $checkedOptions
|
||||
* @return array
|
||||
*/
|
||||
public static function determineCheckboxInfo($value, $checked, array $checkedOptions = null)
|
||||
|
Reference in New Issue
Block a user