public
|
#
__construct( string $htdocs, string $backend, boolean $provideAbsolutes )
Initializes the class.
Parameters
- $htdocs
- Htdocs path
- $backend
- Backend folder name
- $provideAbsolutes
- Flag whether to return absolute path, or relative ones
|
|
public
string
|
#
base( string $file )
Returns the base/root path.
Returns the base/root path.
Parameters
Returns
string string
|
|
public
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
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
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
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
string
|
#
media( string $file )
Returns the path to the media-folder.
Returns the path to the media-folder.
Parameters
Returns
string string
|
|
public
string
|
#
assets( string $file )
Returns the path to the assets folder.
Returns the path to the assets folder.
Parameters
Returns
string string
|
|
public
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
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
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
string
|
#
bin( string $file )
Returns the path to the bin folder.
Returns the path to the bin folder.
Parameters
Returns
string string
|
|
public
string
|
#
data( string $file )
Returns the path to the data folder.
Returns the path to the data folder.
Parameters
Returns
string string
|
|
public
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
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
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
string
|
#
cache( string $file )
Returns the path to the cache folder.
Returns the path to the cache folder.
Parameters
Returns
string string
|
|
public
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
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
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
string
|
#
src( string $file )
Returns the path to the src folder.
Returns the path to the src folder.
Parameters
Returns
string string
|
|
public
string
|
#
core( string $file )
Returns the path to the actual core.
Returns the path to the actual core.
Parameters
Returns
string string
|
|
public
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
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
|
|