PHP 클래스 Habari\FormControlDom

상속: extends FormControl
파일 보기 프로젝트 열기: habari/system

공개 프로퍼티들

프로퍼티 타입 설명
$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