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
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode 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 méthode

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

fieldsFor() public méthode

public fieldsFor ( $objectName )

fileField() public méthode

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

formFor() public méthode

public formFor ( $objectName )

hiddenField() public méthode

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

label() public méthode

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 méthode

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

radioButton() public méthode

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

textArea() public méthode

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

textField() public méthode

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