Documentation

Horde_View_Helper_FormTag extends Horde_View_Helper_Base
in package

Abstract class for Horde_View_Helper objects.

Tags
author

Mike Naberezny mike@maintainable.com

author

Derek DeVries derek@maintainable.com

author

Chuck Hagenbuch chuck@horde.org

license

http://www.horde.org/licenses/bsd

category

Horde

subpackage

Helper

Table of Contents

$_view  : Horde_View
The parent view invoking the helper.
__call()  : mixed
Call chaining so members of the view can be called (including other helpers).
__construct()  : mixed
Creates a helper for $view.
__get()  : mixed
Proxy on undefined property access (get).
__set()  : mixed
Proxy on undefined property access (set).
checkBoxTag()  : mixed
endFormTag()  : mixed
fileFieldTag()  : mixed
formTag()  : mixed
hiddenFieldTag()  : mixed
imageSubmitTag()  : mixed
optionTag()  : mixed
passwordFieldTag()  : mixed
radioButtonTag()  : mixed
selectTag()  : mixed
submitTag()  : mixed
textAreaTag()  : mixed
textFieldTag()  : mixed
extraTagsForForm()  : mixed
formTagHtml()  : mixed
htmlOptionsForForm()  : mixed

Properties

Methods

__call()

Call chaining so members of the view can be called (including other helpers).

public __call(string $method, array<string|int, mixed> $args) : mixed
Parameters
$method : string

The method.

$args : array<string|int, mixed>

The parameters for the method.

Return values
mixed

The result of the method.

__construct()

Creates a helper for $view.

public __construct(Horde_View $view) : mixed
Parameters
$view : Horde_View

The view to help.

Return values
mixed

__get()

Proxy on undefined property access (get).

public __get(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

__set()

Proxy on undefined property access (set).

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed
Return values
mixed

checkBoxTag()

public checkBoxTag(mixed $name[, mixed $value = '1' ][, mixed $checked = false ][, mixed $options = array() ]) : mixed
Parameters
$name : mixed
$value : mixed = '1'
$checked : mixed = false
$options : mixed = array()
Return values
mixed

endFormTag()

public endFormTag() : mixed
Return values
mixed

fileFieldTag()

public fileFieldTag(mixed $name[, mixed $options = array() ]) : mixed
Parameters
$name : mixed
$options : mixed = array()
Return values
mixed

formTag()

public formTag([mixed $urlForOptions = array() ][, mixed $options = array() ]) : mixed
Parameters
$urlForOptions : mixed = array()
$options : mixed = array()
Return values
mixed

hiddenFieldTag()

public hiddenFieldTag(mixed $name[, mixed $value = null ][, mixed $options = array() ]) : mixed
Parameters
$name : mixed
$value : mixed = null
$options : mixed = array()
Return values
mixed

imageSubmitTag()

public imageSubmitTag(mixed $source[, mixed $options = array() ]) : mixed
Parameters
$source : mixed
$options : mixed = array()
Return values
mixed

optionTag()

public optionTag([mixed $value = null ][, mixed $label = null ][, mixed $selected = false ][, mixed $options = array() ]) : mixed
Parameters
$value : mixed = null
$label : mixed = null
$selected : mixed = false
$options : mixed = array()
Return values
mixed

passwordFieldTag()

public passwordFieldTag([mixed $name = 'password' ][, mixed $value = null ][, mixed $options = array() ]) : mixed
Parameters
$name : mixed = 'password'
$value : mixed = null
$options : mixed = array()
Return values
mixed

radioButtonTag()

public radioButtonTag(mixed $name, mixed $value[, mixed $checked = false ][, mixed $options = array() ]) : mixed
Parameters
$name : mixed
$value : mixed
$checked : mixed = false
$options : mixed = array()
Return values
mixed

selectTag()

public selectTag(mixed $name[, mixed $optionTags = null ][, mixed $options = array() ]) : mixed
Parameters
$name : mixed
$optionTags : mixed = null
$options : mixed = array()
Return values
mixed

submitTag()

public submitTag([mixed $value = 'Save changes' ][, mixed $options = array() ]) : mixed
Parameters
$value : mixed = 'Save changes'
$options : mixed = array()
Return values
mixed

textAreaTag()

public textAreaTag(mixed $name[, mixed $content = null ][, mixed $options = array() ]) : mixed
Parameters
$name : mixed
$content : mixed = null
$options : mixed = array()
Return values
mixed

textFieldTag()

public textFieldTag(mixed $name[, mixed $value = null ][, mixed $options = array() ]) : mixed
Parameters
$name : mixed
$value : mixed = null
$options : mixed = array()
Return values
mixed

extraTagsForForm()

private extraTagsForForm(mixed $htmlOptions) : mixed
Parameters
$htmlOptions : mixed
Return values
mixed

formTagHtml()

private formTagHtml(mixed $htmlOptions) : mixed
Parameters
$htmlOptions : mixed
Return values
mixed

htmlOptionsForForm()

private htmlOptionsForForm(mixed $urlForOptions, mixed $options) : mixed
Parameters
$urlForOptions : mixed
$options : mixed
Tags
todo

url_for

Return values
mixed

Search results