PHP Класс Habari\FormControlCheckbox

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

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

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

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

Метод Описание
_extend ( ) Called upon construct. Sets control properties
get ( Theme $theme ) : string Produce the control for display
process ( ) Obtain the value of this control as supplied by the incoming $_POST values
set_returned_value ( mixed $returned_value ) : FormControlCheckbox Set the value returned when this control is checked
set_value ( $value, $manually = true )

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

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

Called upon construct. Sets control properties
public _extend ( )

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

Produce the control for display
public get ( Theme $theme ) : string
$theme Theme The theme that will be used to render the template
Результат string The output of the template

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

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

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

Set the value returned when this control is checked
public set_returned_value ( mixed $returned_value ) : FormControlCheckbox
$returned_value mixed The value returned when the value of this control is true;
Результат FormControlCheckbox $this

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

public set_value ( $value, $manually = true )

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

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

public $returned_value