Function __global->_selectcode_find_ids_and_parents

Definitions

sources/selectcode.php

  • Load up all category ID/parent relationships.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$field_name string required parameter N/A N/A The ID field name in the record-set
$table_name string required parameter N/A N/A The table name of the record-set
$category_field_name ?string required parameter N/A N/A The database's field name for the record-set's container-category specifier (null: don't support subtree [*-style] searches)
$db object required parameter N/A N/A Database connector to use

Return

  • A map between record-set IDs and record-set parent-category-IDs
  • Type: array
  • Set: N/A
  • Range: N/A