PHP 클래스 Inpsyde\MultilingualPress\Asset\AssetLocation

부터: 3.0.0
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__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.