PHP Класс Frontend\Core\Engine\Theme

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getPath ( string $file ) : string Get the file path based on the theme.
getTheme ( ) : string Gets the active theme name

Описание методов

getPath() публичный статический Метод

If it does not exist in the theme it will return $file.
public static getPath ( string $file ) : string
$file string Path to the file.
Результат string Path to the (theme) file.

getTheme() публичный статический Метод

Gets the active theme name
public static getTheme ( ) : string
Результат string