Form/Element/Image.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprotectedmixed $_imageValue
Image value
Details
Type
mixed
>VPropertypublicstring $helper = 'formImage'
What view helper to use when using view helper decorator
Default value'formImage'Details
Type
string
>VPropertypublicstring $src
Image source
Details
Type
string

Methods

methodpublicgetImage() : string

Get image path

Returns
TypeDescription
string
methodpublicgetImageValue() : mixed

Get image value to use when submitted

Returns
TypeDescription
mixed
methodpublicisChecked() : bool

Was this element used to submit the form?

Returns
TypeDescription
bool
methodpublicloadDefaultDecorators() : \Zend_Form_Element_Image

Load default decorators

Returns
TypeDescription
\Zend_Form_Element_Image
methodpublicsetImage(string $path) : \Zend_Form_Element_Image

Set image path

Parameters
NameTypeDescription
$pathstring
Returns
TypeDescription
\Zend_Form_Element_Image
methodpublicsetImageValue(mixed $value) : \Zend_Form_Element_Image

Set image value to use when submitted

Parameters
NameTypeDescription
$valuemixed
Returns
TypeDescription
\Zend_Form_Element_Image
Documentation was generated by phpDocumentor 2.2.0 .