PHP Class Horde_View_Helper_Form, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_View_Helper_Base
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
checkBox ( $objectName, $method, $options = [], $checkedValue = '1', $uncheckedValue = '0' )
fieldsFor ( $objectName )
fileField ( $objectName, $method, $options = [] )
formFor ( $objectName )
hiddenField ( $objectName, $method, $options = [] )
label ( $objectName, $method, $text, $options = [] ) Returns a label tag tailored for labelling an input field for a specified attribute (identified by $method) on an object assigned to the template (identified by $objectName).
passwordField ( $objectName, $method, $options = [] )
radioButton ( $objectName, $method, $tagValue, $options = [] )
textArea ( $objectName, $method, $options = [] )
textField ( $objectName, $method, $options = [] )

Method Details

checkBox() public method

public checkBox ( $objectName, $method, $options = [], $checkedValue = '1', $uncheckedValue = '0' )

fieldsFor() public method

public fieldsFor ( $objectName )

fileField() public method

public fileField ( $objectName, $method, $options = [] )

formFor() public method

public formFor ( $objectName )

hiddenField() public method

public hiddenField ( $objectName, $method, $options = [] )

label() public method

The text of label will default to the attribute name unless you specify it explicitly. Additional options on the label tag can be passed as a hash with $options. These options will be tagged onto the HTML as an HTML element attribute as in the example shown. Examples: $this->label('post', 'title'); => $this->label('post', 'title', 'A short title') => $this->label('post', 'title', 'A short title', array('class' => 'title_label')); =>
public label ( $objectName, $method, $text, $options = [] )

passwordField() public method

public passwordField ( $objectName, $method, $options = [] )

radioButton() public method

public radioButton ( $objectName, $method, $tagValue, $options = [] )

textArea() public method

public textArea ( $objectName, $method, $options = [] )

textField() public method

public textField ( $objectName, $method, $options = [] )