FieldtypeDatetime::getMatchQuery()

Match a date/time value in the database, as used by PageFinder

Usage

$databaseQuerySelect = $fieldtypeDatetime->getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, $value);

Arguments

NameType(s)Description
$queryPageFinderDatabaseQuerySelect
$tablestring
$subfieldstring
$operatorstring
$valueint string

Return value

Exceptions

Method can throw exceptions on error:

  • WireException - if given invalid operator


FieldtypeDatetime methods and properties

API reference based on ProcessWire core version 3.0.251