Function FieldsSearchHook->_handle_date_check_runtime

Definitions

sources/database_search.php

  • Do a date range check for a known timestamp.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

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)
$compare TIME required parameter N/A N/A Timestamp to compare to

Return

  • Whether the date matches the requirements of $cutoff
  • Type: boolean
  • Set: N/A
  • Range: N/A