phpDocumentor

UploadValidator extends Validator
in package

Class Validator

Checks if a theme can be opened in StyleEdit4.

theme.json

        • Must be a valid json
        • content must be an object
        • content must have an id
        • content must have a config object
                • with a basics & areas object

Table of Contents

$filesystemThemes  : FilesystemAdapter
$styleEditConfiguration  : StyleEditConfiguration
$themeCanBeOpenedInStyleEdit4  : bool
$themeName  : string
__construct()  : mixed
Validator constructor.
canBeOpenedInStyleEdit4()  : bool
for()  : Validator
getThemesFolder()  : string
validateThemeJson()  : void

Properties

$themeCanBeOpenedInStyleEdit4

protected bool $themeCanBeOpenedInStyleEdit4 = true

Methods

canBeOpenedInStyleEdit4()

public canBeOpenedInStyleEdit4() : bool
Return values
bool

getThemesFolder()

protected getThemesFolder() : string
Tags
inheritDoc
Return values
string

validateThemeJson()

protected validateThemeJson() : void
Tags
inheritDoc
Return values
void

Search results