PHP Класс Habari\FormControlStatic

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

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

Свойство Тип Описание
$static string The internal representation of the static HTML content

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

Метод Описание
create ( string $name, habari\FormStorage | string | null $storage = 'null:null', array $properties = [], array $settings = [] ) : FormControlStatic Create a new instance of FormControlStatic and return it, use the fluent interface
get ( Theme $theme ) : string Produce HTML output for this static text control.
set_static ( string $static ) : FormControlStatic Set the static content of this control

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

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

Create a new instance of FormControlStatic and return it, use the fluent interface
public static create ( string $name, habari\FormStorage | string | null $storage = 'null:null', array $properties = [], array $settings = [] ) : FormControlStatic
$name string The name of the control
$storage habari\FormStorage | string | null A storage location for the data collected by the control
$properties array An array of properties that apply to the output HTML
$settings array An array of settings that apply to this control object
Результат FormControlStatic An instance of the referenced FormControl with the supplied parameters

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

Produce HTML output for this static text control.
public get ( Theme $theme ) : string
$theme Theme The theme used to render this control
Результат string HTML that will render this control in the form

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

Set the static content of this control
public set_static ( string $static ) : FormControlStatic
$static string The static content of this control
Результат FormControlStatic $this

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

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

The internal representation of the static HTML content
public string $static
Результат string