API Documentation

Zend/Form/Element/Image.php

Show: inherited
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-2012 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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id: Image.php 24594 2012-01-05 21:27:01Z matthew $  

Properties

Propertyprotectedmixed  $_imageValue= ''

Image value

Details
Type
mixed
Propertypublicstring  $helper= ''formImage''

What view helper to use when using view helper decorator

Default value'formImage'Details
Type
string
Propertypublicstring  $src= ''

Image source

Details
Type
string

Methods

methodpublicgetImage( ) : string

Get image path

Returns
Type Description
string
methodpublicgetImageValue( ) : mixed

Get image value to use when submitted

Returns
Type Description
mixed
methodpublicisChecked( ) : bool

Was this element used to submit the form?

Returns
Type Description
bool
methodpublicloadDefaultDecorators( ) : \Zend_Form_Element_Image

Load default decorators

Returns
Type Description
\Zend_Form_Element_Image
methodpublicsetImage( string $path ) : \Zend_Form_Element_Image

Set image path

Parameters
Name Type Description
$path string
Returns
Type Description
\Zend_Form_Element_Image
methodpublicsetImageValue( mixed $value ) : \Zend_Form_Element_Image

Set image value to use when submitted

Parameters
Name Type Description
$value mixed
Returns
Type Description
\Zend_Form_Element_Image
Documentation was generated by DocBlox 0.15.1.