Function __global->_members_filtercode
Definitions
sources/cns_members2.php
- Make sure we are doing necessary join to be able to access the given field.
- 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 |
$context | ?ID_TEXT | required parameter | N/A | N/A | Context (unused) (null: none) |
$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 |
$field_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