PHP Класс Habari\FormControlLabel

Наследование: extends FormContainer
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$label

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

Метод Описание
_extend ( ) Be sure that the name of the label isn't added as an attribute of the label tag
get ( Theme $theme ) : string Produce HTML output for all this fieldset and all contained controls
set_for ( FormControl $for ) : FormControlLabel Apply this label to a control
set_label ( string $label ) : FormControlLabel Set the label text
wrap ( string $label, FormControl $control ) : FormControl Create a label for a control

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

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

Be sure that the name of the label isn't added as an attribute of the label tag
public _extend ( )

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

Produce HTML output for all this fieldset and all contained controls
public get ( Theme $theme ) : string
$theme Theme
Результат string HTML that will render this control in the form

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

Apply this label to a control
public set_for ( FormControl $for ) : FormControlLabel
$for FormControl The control that this label is for
Результат FormControlLabel $this

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

Set the label text
public set_label ( string $label ) : FormControlLabel
$label string The text of the label
Результат FormControlLabel $this

wrap() публичный статический Метод

Create a label for a control
public static wrap ( string $label, FormControl $control ) : FormControl
$label string The label of the control
$control FormControl The control to label
Результат FormControl The passed $control value

Описание свойств

$label публичное свойство

public $label