FieldtypeSelector class

Concept by Antti Peisa, Code by Ryan Cramer, Sponsored by Avoine

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the FieldtypeSelector class also inherits all the methods and properties of: Fieldtype, WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
FieldtypeSelector::formatValue($page, $field, $value)
None
FieldtypeSelector::getCompatibleFieldtypes($field)
None
FieldtypeSelector::getConfigInputfields($field)
None
FieldtypeSelector::getDatabaseSchema(Field $field)
array

Return the database schema in specified format

 
FieldtypeSelector::getInputfield($page, $field)
None 
FieldtypeSelector::getMatchQuery(DatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value)
DatabaseQuery DatabaseQuerySelect

Update a query to match the text with a fulltext index

 
FieldtypeSelector::getModuleInfo()
None 
FieldtypeSelector::sanitizeValue($page, $field, $value)
None 
FieldtypeSelector::sleepValue($page, $field, $value)
None
FieldtypeSelector::wakeupValue($page, $field, $value)
None

Additional methods and properties

In addition to the methods and properties above, FieldtypeSelector also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.253