Function DatabaseConnector->_automatic_lang_fields

Definitions

sources/database.php

  • Work out $lang_fields from analysing the table, if needed.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$table string required parameter N/A N/A The table name
$full_table string required parameter N/A N/A The table name, with prefix too
$select array required parameter N/A N/A The SELECT map
$where_map array required parameter N/A N/A The WHERE map [will all be ANDed together]
$end string required parameter N/A N/A Something to tack onto the end of the SQL query
$lang_fields ?array required parameter N/A N/A Extra language fields to join in for cache pre-filling / Tempcode, perhaps via the find_lang_fields function. You only need to send this if you are doing a JOIN and carefully craft your query so table field names won't conflict (null: auto-detect, if not a join)