FieldtypeFile::getMatchQuery()
Get match query
Usage
$databaseQuery = $fieldtypeFile->getMatchQuery($query, string $table, string $subfield, string $operator, mixed $value);
Arguments
Name | Type(s) | Description |
---|---|---|
$query | DatabaseQuerySelect PageFinderDatabaseQuerySelect | |
$table | string | |
$subfield | string | |
$operator | string | |
$value | mixed |
Return value
DatabaseQuery
DatabaseQuerySelect
Exceptions
Method can throw exceptions on error:
PageFinderSyntaxException
WireException
FieldtypeFile methods and properties
API reference based on ProcessWire core version 3.0.251