API Documentation

Form/Element/Image.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Form
subpackage
Element
Classes
Zend_Form_Element_Image

Description

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.

Zend_Form_Element_Image

Extends from
Zend_Form_Element_Xhtml
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Form
subpackage
Element
version
$Id: Image.php 22329 2010-05-30 15:12:58Z bittarman $
Properties
$helper
$src
$_imageValue
Methods
loadDefaultDecorators
setImage
getImage
setImageValue
getImageValue
isChecked

Description

Image form element

Properties

$_imageValue

mixed $_imageValue = ''

Image value

Details

$_imageValue
mixed
visibility
protected
default
final
false
static
false

$helper

string $helper = 'formImage'

What view helper to use when using view helper decorator

Details

$helper
string
visibility
public
default
formImage
final
false
static
false

$src

string $src = ''

Image source

Details

$src
string
visibility
public
default
final
false
static
false

Methods

getImage

getImage( ) : string

Get image path

Output
string
Details
visibility
public
final
false
static
false

getImageValue

getImageValue( ) : mixed

Get image value to use when submitted

Output
mixed
Details
visibility
public
final
false
static
false

isChecked

isChecked( ) : bool

Was this element used to submit the form?

Output
bool
Details
visibility
public
final
false
static
false

loadDefaultDecorators

loadDefaultDecorators( ) : void

Load default decorators

Details
visibility
public
final
false
static
false

setImage

setImage( string $path ) : Zend_Form_Element_Image

Set image path

Arguments
$path
string
Details
visibility
public
final
false
static
false

setImageValue

setImageValue( mixed $value ) : Zend_Form_Element_Image

Set image value to use when submitted

Arguments
$value
mixed
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.