MediaWiki  REL1_24
ResourceLoaderFilePath Class Reference

An object to represent a path to a JavaScript/CSS file, along with a remote and local base path, for use with ResourceLoaderFileModule. More...

Collaboration diagram for ResourceLoaderFilePath:

List of all members.

Public Member Functions

 __construct ($path, $localBasePath, $remoteBasePath)
 getLocalPath ()
 getPath ()
 getRemotePath ()

Protected Attributes

string $localBasePath
 Local base path *.
string $path
 Path to the file *.
string $remoteBasePath
 Remote base path *.

Detailed Description

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.


Constructor & Destructor Documentation

ResourceLoaderFilePath::__construct ( path,
localBasePath,
remoteBasePath 
)
Parameters:
string$pathPath to the file.
string$localBasePathBase path to prepend when generating a local path.
string$remoteBasePathBase path to prepend when generating a remote path.

Definition at line 45 of file ResourceLoaderFilePath.php.


Member Function Documentation

Returns:
string

Definition at line 54 of file ResourceLoaderFilePath.php.

Returns:
string

Definition at line 68 of file ResourceLoaderFilePath.php.

Referenced by ResourcesTest\provideResourceFiles().

Returns:
string

Definition at line 61 of file ResourceLoaderFilePath.php.


Member Data Documentation

string ResourceLoaderFilePath::$localBasePath [protected]

Local base path *.

Definition at line 31 of file ResourceLoaderFilePath.php.

string ResourceLoaderFilePath::$path [protected]

Path to the file *.

Definition at line 36 of file ResourceLoaderFilePath.php.

string ResourceLoaderFilePath::$remoteBasePath [protected]

Remote base path *.

Definition at line 33 of file ResourceLoaderFilePath.php.


The documentation for this class was generated from the following file: