\HTML_QuickForm_bcheckbox

HTML class for a "bcheckbox" element

Summary

Methods
Properties
Constants
HTML_QuickForm_bcheckbox()
toHtml()
getFrozenHtml()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

HTML_QuickForm_bcheckbox()

HTML_QuickForm_bcheckbox(string  $elementName = null, string  $elementLabel = null, string  $text = '', mixed  $attributes = null) : void

Class constructor

Parameters

string $elementName

(optional)Input field name attribute

string $elementLabel

(optional)Input field value

string $text

(optional)Checkbox display text

mixed $attributes

(optional)Either a typical HTML attribute string or an associative array

toHtml()

toHtml() : string

Returns the checkbox element in HTML

Returns

string

getFrozenHtml()

getFrozenHtml() : string

Returns the value of field without HTML tags

Returns

string