Contents |
The VF_MultiField class
Introduction
This class is used by the ValidForm→addMultiField method. This class is for internal use only.
Class synopsis
VF_MultiField {
void __construct(string $label[, array $meta])
object addField(string $name, integer $type[, array $validationRules[, array $errorHandlers[, 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_MultiField→__construct — Creates a new VF_MultiField object
- VF_MultiField→addField — Add a new field to the VF_MultiField object
- VF_MultiField→getFields — Gets all the fields from the current object
- VF_MultiField→getId — Get the ID of the area. (Placeholder, right now it will only return NULL)
- VF_MultiField→getType — Get the type of the area. (Placeholder, right now it will only return 0 (int))
- VF_MultiField→getValue — (Placeholder, right now it will only return true (bool))
- VF_MultiField→hasFields — Checks if current object has fields
- VF_MultiField→isValid — Checks if submitted fields are valid
- VF_MultiField→toHtml — Generates the HTML for this multifield and all fields inside it
- VF_MultiField→toJS — Generates the Javascript code for this multifield and all fields inside it

