Contents |
The VF_Area class
Introduction
Description of the class
Class synopsis
VF_Area {
void __construct([string $label, [bool $interActive, [string $name, [bool $checked, [array $meta]]]]])
object addField(string $name, string $label, int $type[, array $validationRules[, array $errorHandlers[, array $meta[, bool $justRender]]]])
object addMultiField([string $label[, array $meta]])
object getFields(void)
null getId(void)
int getType(void)
boolean getValue(void)
boolean hasFields(void)
boolean isValid(void)
string toHtml([bool $isSubmitted])
string toJS(void)
}
Table of Contents
- VF_Area→__construct — Creates a new VF_Area object
- VF_Area→addField — Add a new field to the VF_Area object
- VF_Area→addMultiField — Add a multifield to the VF_Area object
- VF_Area→getFields — Gets all the fields from the current object
- VF_Area→getId — Get the ID of the area. (Placeholder, right now it will only return NULL)
- VF_Area→getType — Get the type of the area. (Placeholder, right now it will only return 0 (int))
- VF_Area→getValue — Checks if there is a submitted value
- VF_Area→hasFields — Checks if current object has
- VF_Area→isValid — Checks if submitted fields are valid
- VF_Area→toHtml — Generates the HTML for this area and all (multi)fields inside it
- VF_Area→toJS — Generates the Javascript code for this area and all (multi)fields inside it

