|
MediaWiki REL1_35
|
An object to represent a path to a JavaScript/CSS file, along with a remote and local base path, for use with ResourceLoaderFileModule. More...
Public Member Functions | |
| __construct ( $path, $localBasePath='', $remoteBasePath='') | |
| getLocalBasePath () | |
| getLocalPath () | |
| getPath () | |
| getRemoteBasePath () | |
| getRemotePath () | |
Protected Attributes | |
| string | $localBasePath |
| Local base path. | |
| string | $path |
| Path to the file. | |
| string | $remoteBasePath |
| Remote base path. | |
An object to represent a path to a JavaScript/CSS file, along with a remote and local base path, for use with ResourceLoaderFileModule.
Definition at line 28 of file ResourceLoaderFilePath.php.
| ResourceLoaderFilePath::__construct | ( | $path, | |
$localBasePath = '', |
|||
$remoteBasePath = '' |
|||
| ) |
| string | $path | Path to the file. |
| string | $localBasePath | Base path to prepend when generating a local path. |
| string | $remoteBasePath | Base path to prepend when generating a remote path. |
Definition at line 43 of file ResourceLoaderFilePath.php.
References $localBasePath, $path, and $remoteBasePath.
| ResourceLoaderFilePath::getLocalBasePath | ( | ) |
| ResourceLoaderFilePath::getLocalPath | ( | ) |
Definition at line 50 of file ResourceLoaderFilePath.php.
| ResourceLoaderFilePath::getPath | ( | ) |
| ResourceLoaderFilePath::getRemoteBasePath | ( | ) |
| ResourceLoaderFilePath::getRemotePath | ( | ) |
Definition at line 57 of file ResourceLoaderFilePath.php.
|
protected |
Local base path.
Definition at line 30 of file ResourceLoaderFilePath.php.
Referenced by __construct(), and getLocalBasePath().
|
protected |
Path to the file.
Definition at line 36 of file ResourceLoaderFilePath.php.
Referenced by __construct(), and getPath().
|
protected |
Remote base path.
Definition at line 33 of file ResourceLoaderFilePath.php.
Referenced by __construct(), and getRemoteBasePath().