PHP Класс Inpsyde\MultilingualPress\Asset\AssetLocation

С версии: 3.0.0
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный метод

Constructor. Sets up the properties.
С версии: 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() публичный метод

Returns the relative file name (or path).
С версии: 3.0.0
public file ( ) : string
Результат string The relative file name (or path).

path() публичный метод

Returns the local path to the directory containing the file.
С версии: 3.0.0
public path ( ) : string
Результат string The local path to the directory containing the file.

url() публичный метод

Returns the public URL for the directory containing the file.
С версии: 3.0.0
public url ( ) : string
Результат string The public URL for the directory containing the file.