ValidForm Builder

Easy and safe XHTML 1.0 strict forms with validation!

Contents

VF_GroupField→__construct

VF_GroupField→__construct — Creates a new VF_GroupField object object


Description

__construct(string  $id, string $name, integer $type, string $value[, bool $checked[, array $meta]]);

Creates a new VF_GroupField object. This function is for internal use only.

Parameters

  • id
    ID of the checkbox / radio button. Will be set by VF_Group.
  • name
    Name of the checkbox / radio button. Will also be set by VF_Group.
  • type
    The VF_Group object determines if this is a checkbox or a radio button.
  • value
    The value for this checkbox/radio button.
  • checked
    If true, the created checkbox/radio button is checked/selected. Default value: false.
  • meta
    See: Meta for all possible meta data.

Return values

A new VF_GroupField object is returned.

Examples

No examples. Internal use only.