PHP Class Habari\FormControlDom

Inheritance: extends FormControl
显示文件 Open project: habari/system

Public Properties

Property Type Description
$node HTMLNode

Public Methods

Method 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 method

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

get() public method

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

set_node() public method

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

set_value() public method

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
return FormControl $this

Property Details

$node public_oe property

public HTMLNode,habari $node
return HTMLNode