Form/Element/Image.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Form
- Subpackage
- Element
\Zend_Form_Element_Image
Package: Zend_Form\Element



Image form element
- Parent(s)
- \Zend_Form_Element_Xhtml < \Zend_Form_Element
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Properties


string $helper = 'formImage'
What view helper to use when using view helper decorator
Default value
'formImage'
Details- Type
- string
Methods


loadDefaultDecorators() : \Zend_Form_Element_Image
Load default decorators
Returns
Type | Description |
---|---|
\Zend_Form_Element_Image |


setImage(string $path) : \Zend_Form_Element_Image
Set image path
Parameters
Returns
Name | Type | Description |
---|---|---|
$path | string |
Type | Description |
---|---|
\Zend_Form_Element_Image |


setImageValue(mixed $value) : \Zend_Form_Element_Image
Set image value to use when submitted
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | mixed |
Type | Description |
---|---|
\Zend_Form_Element_Image |