Get a form entry by ID
Available since version 0.4.4.
Usage
// basic usage
$array = $forms->getEntry(int $entryID);
// usage with all arguments
$array = $forms->getEntry(int $entryID, $form = 0);
Arguments
Name | Type(s) | Description |
---|---|---|
entryID | int | The ID of the entry you want to get |
form (optional) | FormBuilderForm, string, int | Form object, name or ID, or omit to detect automatically from entry ID |
Return value
array
bool
Returns entry array on success or boolean false if not found
API reference based on ProcessWire core version 3.0.236