class Checkbox extends Element implements CheckableInterface

Methods

__construct($name, null $value = null, $checked = false)

Element constructor.

setName(mixed $name)

No description

from Element
mixed
getName()

No description

from Element
mixed
getValue()

No description

from Element
$this
setValue($value)

No description

from Element
mixed
render(array $attributes = array())

No description

$this
setChecked(bool $checked)

No description

bool
getChecked()

No description

bool
isChecked()

No description

Details

at line 21
__construct($name, null $value = null, $checked = false)

Element constructor.

Parameters

$name
null $value
$checked

in Element at line 38
setName(mixed $name)

Parameters

mixed $name

in Element at line 46
mixed getName()

Return Value

mixed

in Element at line 54
mixed getValue()

Return Value

mixed

in Element at line 63
$this setValue($value)

Parameters

$value

Return Value

$this

at line 58
mixed render(array $attributes = array())

Parameters

array $attributes

Return Value

mixed

at line 32
$this setChecked(bool $checked)

Parameters

bool $checked

Return Value

$this

at line 41
bool getChecked()

Return Value

bool

at line 49
bool isChecked()

Return Value

bool