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