PHP Class Frontend\Core\Engine\Theme

Datei anzeigen Open project: forkcms/forkcms Class Usage Examples

Public Methods

Method Description
getPath ( string $file ) : string Get the file path based on the theme.
getTheme ( ) : string Gets the active theme name

Method Details

getPath() public static method

If it does not exist in the theme it will return $file.
public static getPath ( string $file ) : string
$file string Path to the file.
return string Path to the (theme) file.

getTheme() public static method

Gets the active theme name
public static getTheme ( ) : string
return string