getFormItems()

Overview

public array function getFormItems(
      required string id       
    ,          array  itemTypes
)

Retuns a form's items in an ordered array

Arguments

NameTypeRequiredDescription
idstringYesID of the form whose sections and items you wish to get
itemTypesarrayNoOptional array of item types with which to filter the returned form items