Class Socialveo\Core\forms\element\CheckBoxList

InheritanceSocialveo\Core\forms\element\CheckBoxList » Phalcon\Forms\Element
ImplementsPhalcon\Forms\ElementInterface

Class CheckBoxList

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$_optionsValues mixed Socialveo\Core\forms\element\CheckBoxList

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() CheckBoxList constructor. Socialveo\Core\forms\element\CheckBoxList
addOption() Adds an option to the current options Socialveo\Core\forms\element\CheckBoxList
getOptions() Returns the choices' options Socialveo\Core\forms\element\CheckBoxList
render() Renders the element widget returning html Socialveo\Core\forms\element\CheckBoxList
setOptions() Set the choice's options Socialveo\Core\forms\element\CheckBoxList

Property Details

$_optionsValues protected property
protected mixed $_optionsValues null

Method Details

__construct() public method

CheckBoxList constructor.

public void __construct ( $name, $options null, $attributes null )
$name string
$options mixed

[optional]

$attributes mixed

[optional]

addOption() public method

Adds an option to the current options

public Socialveo\Core\forms\element\CheckBoxList addOption ( $option )
$option array
getOptions() public method

Returns the choices' options

public mixed getOptions ( )
render() public method

Renders the element widget returning html

public string render ( $attributes null )
$attributes array
setOptions() public method

Set the choice's options

public Socialveo\Core\forms\element\CheckBoxList setOptions ( $options )
$options array|object