PHP 클래스 Habari\FormControlAggregate

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

공개 프로퍼티들

프로퍼티 타입 설명
$outpre

공개 메소드들

메소드 설명
_extend ( ) Called upon construct. Sets control properties
get ( Theme $theme ) : string Render this control Ensures that this control has an id property
get_label_id ( ) : null | string Returns the ID of any wrapping label
get_visualizer ( ) Provide the HTML id of the visualizer element, which is different from the input element that provides a value
label ( string $label ) : FormControlLabel Shortcut to wrap this control in a label This version for this control defaults to use the control.label.outsideright template
pre_out ( ) : string Return the HTML/script required for this control. Do it only once.
process ( ) Obtain the value of this control as supplied by the incoming $_POST values
set_label_id ( string $id ) : FormControlAggregate Set the HTML id of the label to change when the aggregation value changes
set_selector ( string $class ) : FormControlAggregate Set the selector used to find checkboxes whose values should be aggregated

메소드 상세

_extend() 공개 메소드

Called upon construct. Sets control properties
public _extend ( )

get() 공개 메소드

Render this control Ensures that this control has an id property
public get ( Theme $theme ) : string
$theme Theme The theme used to render the control
리턴 string The HTML output of the control

get_label_id() 공개 메소드

Returns the ID of any wrapping label
public get_label_id ( ) : null | string
리턴 null | string

get_visualizer() 공개 메소드

Provide the HTML id of the visualizer element, which is different from the input element that provides a value
public get_visualizer ( )

label() 공개 메소드

Shortcut to wrap this control in a label This version for this control defaults to use the control.label.outsideright template
public label ( string $label ) : FormControlLabel
$label string The caption of the label
리턴 FormControlLabel The label control is returned. FYI, THIS BREAKS THE FLUENT INTERFACE.

pre_out() 공개 메소드

Return the HTML/script required for this control. Do it only once.
public pre_out ( ) : string
리턴 string The HTML/javascript required for this control.

process() 공개 메소드

Obtain the value of this control as supplied by the incoming $_POST values
public process ( )

set_label_id() 공개 메소드

Set the HTML id of the label to change when the aggregation value changes
public set_label_id ( string $id ) : FormControlAggregate
$id string The HTML id of the label to update
리턴 FormControlAggregate $this

set_selector() 공개 메소드

Set the selector used to find checkboxes whose values should be aggregated
public set_selector ( string $class ) : FormControlAggregate
$class string The CSS selector to use for aggregation
리턴 FormControlAggregate $this

프로퍼티 상세

$outpre 정적으로 공개적으로 프로퍼티

static public $outpre