Property | Type | Description | |
---|---|---|---|
$theme | string | The current theme if there is one. |
Method | Description | |
---|---|---|
__construct ( array $paths, string $theme = null ) | Constructor. |
Method | 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. |
return | string | The expanded path |
protected _expandPrefix ( string $path ) : string | ||
$path | string | Path to resolve |
return | string | resolved path |
protected _expandTheme ( string $file ) : string | ||
$file | string | The theme file to find. |
return | string | The expanded path |
protected string $theme | ||
return | string |