Validates parsed configuration elements
package |
OCA\Gallery\Config |
---|
isConfigSafe(string $key, array $parsedConfigItem) : boolean
string
the configuration sub-section identifier
array
the configuration for a sub-section
boolean
isDesignColourSafe(array $parsedConfigItem, boolean $safe) : boolean
array
the design configuration to analyse
boolean
whether the current config has been deemed safe to use so far
boolean
isSortingSafe( $key, array $parsedConfigItem, boolean $safe) : boolean
array
the sorting configuration to analyse
boolean
whether the current config has been deemed safe to use so far
boolean
sortingValidator(string $section, string $value) : boolean
string
the section in the sorting config to be analysed
string
the value found in that section
boolean