Field Properties

  • (string) $field

    Casting a Field as a string returns the field's name

  • $field->id

    Numeric ID of this field

  • $field->name

    Name of this field (name string)

  • $field->label

    Text label for this field, appears as the

  • $field->type

    The type of field, refers to a Fieldtype plugin module

  • $field->flags

    Bitwise flags of the field: if($field->flags & Field::flagAutojoin) // field has the "autojoin" flag set if($field->flags & Field::flagGlobal) // field has the "global" flag set.