equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Form |
16 * @package Zend_Form |
17 * @subpackage Element |
17 * @subpackage Element |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 */ |
20 */ |
21 |
21 |
22 /** Zend_Form_Element_Xhtml */ |
22 /** Zend_Form_Element_Xhtml */ |
23 require_once 'Zend/Form/Element/Xhtml.php'; |
23 require_once 'Zend/Form/Element/Xhtml.php'; |
26 * Image form element |
26 * Image form element |
27 * |
27 * |
28 * @category Zend |
28 * @category Zend |
29 * @package Zend_Form |
29 * @package Zend_Form |
30 * @subpackage Element |
30 * @subpackage Element |
31 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
31 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
32 * @license http://framework.zend.com/license/new-bsd New BSD License |
32 * @license http://framework.zend.com/license/new-bsd New BSD License |
33 * @version $Id: Image.php 22328 2010-05-30 15:09:06Z bittarman $ |
33 * @version $Id: Image.php 24593 2012-01-05 20:35:02Z matthew $ |
34 */ |
34 */ |
35 class Zend_Form_Element_Image extends Zend_Form_Element_Xhtml |
35 class Zend_Form_Element_Image extends Zend_Form_Element_Xhtml |
36 { |
36 { |
37 /** |
37 /** |
38 * What view helper to use when using view helper decorator |
38 * What view helper to use when using view helper decorator |
53 protected $_imageValue; |
53 protected $_imageValue; |
54 |
54 |
55 /** |
55 /** |
56 * Load default decorators |
56 * Load default decorators |
57 * |
57 * |
58 * @return void |
58 * @return Zend_Form_Element_Image |
59 */ |
59 */ |
60 public function loadDefaultDecorators() |
60 public function loadDefaultDecorators() |
61 { |
61 { |
62 if ($this->loadDefaultDecoratorsIsDisabled()) { |
62 if ($this->loadDefaultDecoratorsIsDisabled()) { |
63 return $this; |
63 return $this; |