Свойство | Type | Description | |
---|---|---|---|
$theme | string | The current theme if there is one. |
Méthode | Description | |
---|---|---|
__construct ( array $paths, string $theme = null ) | Constructor. |
Méthode | Description | |
---|---|---|
_expandPlugin ( string $file ) : string | Resolve a plugin file to its full path. | |
_expandPrefix ( string $path ) : string | Resolve a plugin or theme path into the file path without the search paths. | |
_expandTheme ( string $file ) : string | Resolve a themed file to its full path. The file will be found on the current theme's path. |
public __construct ( array $paths, string $theme = null ) | ||
$paths | array | The paths to scan. |
$theme | string | The current theme. |
protected _expandPlugin ( string $file ) : string | ||
$file | string | The theme file to find. |
Résultat | string | The expanded path |
protected _expandPrefix ( string $path ) : string | ||
$path | string | Path to resolve |
Résultat | string | resolved path |
protected _expandTheme ( string $file ) : string | ||
$file | string | The theme file to find. |
Résultat | string | The expanded path |
protected string $theme | ||
Résultat | string |