FieldtypeFile::getMatchQuery()

Get match query

Usage

$databaseQuery = $fieldtypeFile->getMatchQuery($query, string $table, string $subfield, string $operator, mixed $value);

Arguments

NameType(s)Description
$queryDatabaseQuerySelect PageFinderDatabaseQuerySelect
$tablestring
$subfieldstring
$operatorstring
$valuemixed

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