PHP Class Habari\FormControlDom

Inheritance: extends FormControl
Afficher le fichier Open project: habari/system

Méthodes publiques

Свойство Type Description
$node HTMLNode

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

get() public méthode

This control shouldn't output anything
public get ( Theme $theme ) : string
$theme Theme
Résultat string

set_node() public méthode

Set the HTMLNode that this control associates with
public set_node ( HTMLNode $node ) : FormControlDom
$node HTMLNode The node that this control is associated with
Résultat FormControlDom $this

set_value() public méthode

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
Résultat FormControl $this

Property Details

$node public_oe property

public HTMLNode,habari $node
Résultat HTMLNode