Inheritance diagram for ConditionalField:

Definition at line 8 of file conditional-field.inc.php.
Public Member Functions | |
| __construct ($name, Form &$parentForm, array $attribs=array()) | |
| Constructor. | |
| __set ($name, $value) | |
| Magic setter. | |
| drawInput () | |
| Draw the HTML for the field. | |
| getJs () | |
| Get the JavaScript for the conditional field. | |
Protected Member Functions | |
| subFieldsToJsArray () | |
| Get the list of sub fields (except the checkbox) as a javascript array. | |
Static Protected Attributes | |
| $jsDrawn = false | |
| Boolean flag if the drawJs method had been called yet. | |
Private Attributes | |
| $activeOn | |
| What condition the field will be active on. | |
|
||||||||||||||||
|
Constructor.
Reimplemented from CollectionField. Definition at line 19 of file conditional-field.inc.php. |
|
||||||||||||
|
Magic setter.
Reimplemented from CollectionField. Definition at line 40 of file conditional-field.inc.php. |
|
|
Draw the HTML for the field.
Reimplemented from CollectionField. Definition at line 52 of file conditional-field.inc.php. References subFieldsToJsArray(). |
|
|
Get the JavaScript for the conditional field.
Reimplemented from CollectionField. Definition at line 63 of file conditional-field.inc.php. |
|
|
Get the list of sub fields (except the checkbox) as a javascript array.
Definition at line 95 of file conditional-field.inc.php. Referenced by drawInput(). |
|
|
What condition the field will be active on.
Definition at line 10 of file conditional-field.inc.php. |
|
|
Boolean flag if the drawJs method had been called yet.
Reimplemented from CollectionField. Definition at line 11 of file conditional-field.inc.php. |
1.3.9.1