ParameterTablesTrait
Names the parameter tables of one module for the shared parameter sync traits ({@see OptionsSyncTrait}, {@see ParameterRuleGraphTrait} and its wrappers).
Bazaar, Comcat and Eshop keep the same parameter schema under their own table prefix
(cms_mod_bazaar_parameters, cms_mod_eshop_parameter_rule_targets, …); the module manager
supplies only the prefix.
Table of Contents
Methods
- parameterTablePrefix() : string
- Module part of the parameter table names: `'bazaar'`, `'comcat'` or `'eshop'`.
- parameterSqlName() : string
- `cms_mod_<module>_<name>`: a parameter table, or a FK column named after one.
Methods
parameterTablePrefix()
Module part of the parameter table names: `'bazaar'`, `'comcat'` or `'eshop'`.
protected
abstract parameterTablePrefix() : string
Return values
stringparameterSqlName()
`cms_mod_<module>_<name>`: a parameter table, or a FK column named after one.
private
parameterSqlName(string $name) : string
Parameters
- $name : string