Function __global->in_memory_search_match

Definitions

sources/database_search.php

  • Perform a database-style in-memory boolean search on single item.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$filter array required parameter N/A N/A A map of POST data in search-form style. May contain 'only_titles' and 'content' (the critical one!)
$title string required parameter N/A N/A The title to try and match
$post ?string Null N/A N/A The post to try and match (null: not used)

Return

  • Whether we have a match
  • Type: boolean
  • Set: N/A
  • Range: N/A