FormBuilderEntries::getByName() method
Get a form entry by name
Available since version 0.4.0.
Usage
// basic usage
$bool = $entries->getByName(string $name);
// usage with all arguments
$bool = $entries->getByName(string $name, string $col = '');Arguments
| Name | Type(s) | Description |
|---|---|---|
$name | string | Entry name in format "id:str" where "id" is integer ID and "str" is 30-character entry string |
$col (optional) | string | Optional DB column name or omit for entire entry |
Return value
bool arrayReturns form entry (array) on success or boolean false on fail
$entries methods and properties
API reference based on ProcessWire core version 3.0.252