PHP Класс Horde_View_Helper_Form, horde

Автор: Mike Naberezny ([email protected])
Автор: Derek DeVries ([email protected])
Автор: Chuck Hagenbuch ([email protected])
Наследование: extends Horde_View_Helper_Base
Показать файл Открыть проект

Открытые методы

Метод Описание
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 = [] )

Описание методов

checkBox() публичный Метод

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

fieldsFor() публичный Метод

public fieldsFor ( $objectName )

fileField() публичный Метод

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

formFor() публичный Метод

public formFor ( $objectName )

hiddenField() публичный Метод

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

label() публичный Метод

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 passwordField ( $objectName, $method, $options = [] )

radioButton() публичный Метод

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

textArea() публичный Метод

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

textField() публичный Метод

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