ARSperl Programmer's Manual

## `ars_GetListField(control,schema,changedsince=0,fieldType)`

Fetches the Field ID's for all fields in the schema specified. `changedsince` is an optional unix timestamp and defaults to 0.

3.x and above

In 3.x and above, the `fieldType` parameter allows you to specify what field type(s) to retrieve. This is a bitmask.

1 = Retrieve data fields
2 = Retrieve trim fields
4 = Retrieve control fields

Ergo, fieldType = 6 will return trim and control fields.

On success
  Returns an array of field ids.
On failure
  Returns `undef`.

Example:

          @fields = ars_GetListField($c, "User");

Back to Table of Contents