PHP Class Inpsyde\MultilingualPress\Asset\AssetLocation

Since: 3.0.0
Afficher le fichier Open project: inpsyde/multilingual-press

Méthodes publiques

Méthode Description
__construct ( string $file, string $path, string $url ) Constructor. Sets up the properties.
file ( ) : string Returns the relative file name (or path).
path ( ) : string Returns the local path to the directory containing the file.
url ( ) : string Returns the public URL for the directory containing the file.

Method Details

__construct() public méthode

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( string $file, string $path, string $url )
$file string The relative file name (or path).
$path string The local path to the directory containing the file.
$url string The public URL for the directory containing the file.

file() public méthode

Returns the relative file name (or path).
Since: 3.0.0
public file ( ) : string
Résultat string The relative file name (or path).

path() public méthode

Returns the local path to the directory containing the file.
Since: 3.0.0
public path ( ) : string
Résultat string The local path to the directory containing the file.

url() public méthode

Returns the public URL for the directory containing the file.
Since: 3.0.0
public url ( ) : string
Résultat string The public URL for the directory containing the file.