Get names of all forms (indexed by form ID)
Available since version 0.4.0.
Usage
// basic usage
$array = $forms->getFormNames();
// usage with all arguments
$array = $forms->getFormNames(int $id = 0);
Arguments
Name | Type(s) | Description |
---|---|---|
id (optional) | int | Optional form ID to get the name for only form having this ID (default=0) |
Return value
array
string
API reference based on ProcessWire core version 3.0.236