getFormItems()
Overview
public array function getFormItems(
required string id
, array itemTypes
, numeric pageNumber = 0
)
Retuns a form's items in an ordered array
Arguments
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | ID of the form whose sections and items you wish to get |
itemTypes | array | No | Optional array of item types with which to filter the returned form items |
pageNumber | numeric | No (default=0) |