PHP Класс Habari\FormControlDom

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

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

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

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

Метод Описание
__construct ( $name, $storage = 'null:null', array $properties = [], array $settings = [] )
get ( Theme $theme ) : string This control shouldn't output anything
set_node ( HTMLNode $node ) : FormControlDom Set the HTMLNode that this control associates with
set_value ( mixed $value, boolean $manually = true ) : FormControl Set the value of this control

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

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

public __construct ( $name, $storage = 'null:null', array $properties = [], array $settings = [] )
$properties array
$settings array

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

This control shouldn't output anything
public get ( Theme $theme ) : string
$theme Theme
Результат string

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

Set the HTMLNode that this control associates with
public set_node ( HTMLNode $node ) : FormControlDom
$node HTMLNode The node that this control is associated with
Результат FormControlDom $this

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

Set the value of this control
public set_value ( mixed $value, boolean $manually = true ) : FormControl
$value mixed The value to set
$manually boolean True if this value is set internally rather than being POSTed in the form
Результат FormControl $this

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

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

public HTMLNode,habari $node
Результат HTMLNode