public static
|
#
init( mixed $pathprovider )
Initializes the class.
Parameters
- $pathprovider
- A path provider
|
public static
string
|
#
base( string $file = '' )
Returns the base/root path.
Returns the base/root path.
Parameters
Returns
string string
|
public static
string
|
#
frontend( string $file = '' )
Returns the path to the frontend (the document root).
Returns the path to the frontend (the document root).
Parameters
Returns
string string
|
public static
string
|
#
frontendController( )
Returns the path to the frontend-controller (index.php from frontend).
Returns the path to the frontend-controller (index.php from frontend).
Returns
string string
|
public static
string
|
#
backend( string $file = '' )
Returns the path to the backend (folder where the backend controller is
placed).
Returns the path to the backend (folder where the backend controller is
placed).
Parameters
Returns
string string
|
public static
string
|
#
backendController( )
Returns the path to the backend-controller (index.php from backend).
Returns the path to the backend-controller (index.php from backend).
Returns
string string
|
public static
string
|
#
media( string $file = '' )
Returns the path to the media-folder.
Returns the path to the media-folder.
Parameters
Returns
string string
|
public static
string
|
#
assets( string $file = '' )
Returns the path to the assets folder.
Returns the path to the assets folder.
Parameters
Returns
string string
|
public static
string
|
#
coreAssets( string $file = '' )
Returns the path to the assets folder of the core, which contains all assets
required by the core to work properly.
Returns the path to the assets folder of the core, which contains all assets
required by the core to work properly.
Parameters
Returns
string string
|
public static
string
|
#
addonAssets( string $addon, string $file = '' )
Returns the path to the assets folder of the given addon, which contains all
assets required by the addon to work properly.
Returns the path to the assets folder of the given addon, which contains all
assets required by the addon to work properly.
Parameters
Returns
string string
See
|
public static
string
|
#
pluginAssets( string $addon, string $plugin, string $file = '' )
Returns the path to the assets folder of the given plugin of the given
addon.
Returns the path to the assets folder of the given plugin of the given
addon.
Parameters
- $addon
- Addon
- $plugin
- Plugin
- $file
- File
Returns
string string
See
|
public static
string
|
#
bin( string $file = '' )
Returns the path to the bin folder.
Returns the path to the bin folder.
Parameters
Returns
string string
|
public static
string
|
#
data( string $file = '' )
Returns the path to the data folder.
Returns the path to the data folder.
Parameters
Returns
string string
|
public static
string
|
#
coreData( string $file = '' )
Returns the path to the data folder of the core.
Returns the path to the data folder of the core.
Parameters
Returns
string string
|
public static
string
|
#
addonData( string $addon, string $file = '' )
Returns the path to the data folder of the given addon.
Returns the path to the data folder of the given addon.
Parameters
Returns
string string
|
public static
string
|
#
pluginData( string $addon, string $plugin, string $file = '' )
Returns the path to the data folder of the given plugin of the given
addon.
Returns the path to the data folder of the given plugin of the given
addon.
Parameters
- $addon
- Addon
- $plugin
- Plugin
- $file
- File
Returns
string string
|
public static
string
|
#
cache( string $file = '' )
Returns the path to the cache folder.
Returns the path to the cache folder.
Parameters
Returns
string string
|
public static
string
|
#
coreCache( string $file = '' )
Returns the path to the cache folder of the core.
Returns the path to the cache folder of the core.
Parameters
Returns
string string
|
public static
string
|
#
addonCache( string $addon, string $file = '' )
Returns the path to the cache folder of the given addon.
Returns the path to the cache folder of the given addon.
Parameters
Returns
string string
|
public static
string
|
#
pluginCache( string $addon, string $plugin, string $file = '' )
Returns the path to the cache folder of the given plugin.
Returns the path to the cache folder of the given plugin.
Parameters
- $addon
- Addon
- $plugin
- Plugin
- $file
- File
Returns
string string
|
public static
string
|
#
src( string $file = '' )
Returns the path to the src folder.
Returns the path to the src folder.
Parameters
Returns
string string
|
public static
string
|
#
core( string $file = '' )
Returns the path to the actual core.
Returns the path to the actual core.
Parameters
Returns
string string
|
public static
string
|
#
addon( string $addon, string $file = '' )
Returns the base path to the folder of the given addon.
Returns the base path to the folder of the given addon.
Parameters
Returns
string string
|
public static
string
|
#
plugin( string $addon, string $plugin, string $file = '' )
Returns the base path to the folder of the plugin of the given addon.
Returns the base path to the folder of the plugin of the given addon.
Parameters
- $addon
- Addon
- $plugin
- Plugin
- $file
- File
Returns
string string
|
public static
string
|
#
absolute( string $relPath )
Converts a relative path to an absolute.
Converts a relative path to an absolute.
Parameters
- $relPath
- The relative path
Returns
string Absolute path
|
public static
string
|
#
basename( string $path )
Returns the basename (filename) of the path independent of directory
separator (/ or ).
Returns the basename (filename) of the path independent of directory
separator (/ or ).
This method should be used to secure incoming GET/POST parameters containing
a filename.
Parameters
Returns
string string
|