phpDocumentor

Theme
in package
implements ThemeInterface

Class Theme

Interfaces, Classes and Traits

ThemeInterface
Interface ThemeInterface

Table of Contents

$directories  : ThemeDirectoriesInterface
Theme directories
$id  : ThemeId
Theme ID
$parentTheme  : null|Theme
Parent theme
__construct()  : mixed
Theme constructor.
create()  : Theme
Create theme instance
getConfig()  : ThemeDirectoryInterface
Returns the config theme directory.
getCustomHtml()  : ThemeDirectory|null
Returns the custom HTML directory.
getCustomJs()  : ThemeDirectory|null
Returns the custom scripts directory.
getCustomStyles()  : ThemeDirectory|null
Returns the custom styles directory.
getFonts()  : ThemeDirectory|null
Returns the fonts directory.
getHtml()  : ThemeDirectory|null
Returns the HTML directory.
getId()  : ThemeId
Returns the theme id
getImages()  : ThemeDirectory|null
Returns the images directory.
getJs()  : ThemeDirectory|null
Returns the scripts directory.
getJsExtensions()  : ThemeDirectory|null
Returns the script extension directory
getParentTheme()  : Theme|null
Return the parent theme
getPrefix()  : ThemeDirectoriesInterface|null
Returns the variants directory
getRoot()  : ThemeDirectoryRootInterface
Returns the directory. root
getStyleEdit()  : ThemeDirectory|null
Returns the style edit theme directory.
getStyles()  : ThemeDirectory|null
Returns the styles directory.
getVariants()  : ThemeDirectoriesInterface|null
Returns the variants directory
hasParent()  : bool
Return whether there is a parent theme
toMainTheme()  : MainThemeInterface
Convert to main theme

Properties

Methods

getParentTheme()

Return the parent theme

public getParentTheme() : Theme|null
Return values
Theme|null

hasParent()

Return whether there is a parent theme

public hasParent() : bool
Return values
bool

Search results