Get class name to use Field objects of this type (must be class that extends Field class)
Return blank if default class (Field) should be used.
Available since version 3.0.146.
Usage
// basic usage
$string = $fieldtype->getFieldClass();
// usage with all arguments
$string = $fieldtype->getFieldClass(array $a = []);
Arguments
Name | Type(s) | Description |
---|---|---|
a (optional) | array | Field data from DB (if needed) |
Return value
string
Return class name or blank to use default Field class
Fieldtype methods and properties
API reference based on ProcessWire core version 3.0.236