Function FieldsSearchHook->_handle_date_check

Definitions

sources/database_search.php

  • Insert a date range check into a WHERE clause.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$cutoff mixed required parameter N/A N/A Cutoff date (TIME or a pair representing the range or null)
$field string required parameter N/A N/A The field name of the timestamp field in the database
$where_clause string required parameter N/A N/A Additional where clause will be written into here