Function __global->_fields_api_filtercode

Definitions

sources/filtercode.php

  • Find field by checking fields API, by field ID.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$db object required parameter N/A N/A Database connector
$info array required parameter N/A N/A Content type info
$catalogue_name ?ID_TEXT required parameter N/A N/A Name of the catalogue (null: unknown; reduces performance)
$extra_join array required parameter N/A N/A List of joins (passed as reference)
$filter_key ID_TEXT required parameter N/A N/A The field to get
$filter_val string required parameter N/A N/A The field value for this
$db_fields array required parameter N/A N/A Database field data
$table_join_code string required parameter N/A N/A What the database will join the table with

Return

  • A triple: Proper database field name to access with, The fields API table type (blank: no special table), The new filter value (null: error)
  • Type: ?array
  • Set: N/A
  • Range: N/A