CoolCMS API

ParameterTableMap
in package

Read onlyYes
FinalYes

Physical table and column names of the parameter family of a single module.

The only module-specific input of the shared AbstractParameterRuleManager (raw-DBAL rule graph). All names derive from the prefix cms_mod_{module}; structural columns (parameter_id, parameter_rule_id, key, option_id, function, validator, action, parent_id, level, always_visible) are the same across modules (literals in the manager), so they are not in the map.

The names come from trusted leaf manager configuration, not from the request, so interpolating them into SQL is safe (the same idiom as the safeDisplayTargetColumn whitelist).

Table of Contents

Properties

$prefix  : string

Methods

__construct()  : mixed
conditionKeyFk()  : string
conditions()  : string
conditionValues()  : string
displayTargetColumns()  : array<int, string>
Whitelists display target columns (parameter or group) for the `syncDisplayTargets` interpolation.
groupFk()  : string
parameterFk()  : string
FK column "to the parameter" (shares the physical column with the ManyToOne `$parameter`).
parameterGroups()  : string
parameters()  : string
ruleFk()  : string
rules()  : string
sources()  : string
targets()  : string

Properties

Methods

__construct()

public __construct(string $prefix) : mixed
Parameters
$prefix : string

e.g. cms_mod_bazaar / cms_mod_comcat / cms_mod_eshop

displayTargetColumns()

Whitelists display target columns (parameter or group) for the `syncDisplayTargets` interpolation.

public displayTargetColumns() : array<int, string>
Return values
array<int, string>

parameterFk()

FK column "to the parameter" (shares the physical column with the ManyToOne `$parameter`).

public parameterFk() : string
Return values
string
On this page

Search results