dmBridge PHP API
DMCheckboxField Class Reference

Encapsulates an HTML <input type="checkbox"> element. More...

Inheritance diagram for DMCheckboxField:

Public Member Functions


Detailed Description

Encapsulates an HTML <input type="checkbox"> element.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 15 of file DMCheckboxField.php.


Constructor & Destructor Documentation

DMCheckboxField::__construct ( name)
Parameters:
stringname
Since:
0.4

Reimplemented from DMAbstractFormField.

Definition at line 25 of file DMCheckboxField.php.


Member Function Documentation

DMCheckboxField::getHTMLTag ( )
Returns:
HTML input element
Since:
0.4

Implements DMFormField.

Definition at line 49 of file DMCheckboxField.php.

DMCheckboxField::isChecked ( )
Returns:
bool

Definition at line 33 of file DMCheckboxField.php.

Referenced by getHTMLTag().

DMCheckboxField::setChecked ( bool)
Parameters:
bool
Since:
0.4

Definition at line 41 of file DMCheckboxField.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables