PHP Class Frontend\Core\Engine\Theme

Afficher le fichier Open project: forkcms/forkcms Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getTheme() public static méthode

Gets the active theme name
public static getTheme ( ) : string
Résultat string