PHP 클래스 AssetCompress\AssetScanner

상속: extends MiniAsset\AssetScanner
파일 보기 프로젝트 열기: markstory/asset_compress

보호된 프로퍼티들

프로퍼티 타입 설명
$theme string The current theme if there is one.

공개 메소드들

메소드 설명
__construct ( array $paths, string $theme = null ) Constructor.

보호된 메소드들

메소드 설명
_expandPlugin ( string $file ) : string Resolve a plugin file to its full path.
_expandPrefix ( string $path ) : string Resolve a plugin or theme path into the file path without the search paths.
_expandTheme ( string $file ) : string Resolve a themed file to its full path. The file will be found on the current theme's path.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $paths, string $theme = null )
$paths array The paths to scan.
$theme string The current theme.

_expandPlugin() 보호된 메소드

Resolve a plugin file to its full path.
protected _expandPlugin ( string $file ) : string
$file string The theme file to find.
리턴 string The expanded path

_expandPrefix() 보호된 메소드

Resolve a plugin or theme path into the file path without the search paths.
protected _expandPrefix ( string $path ) : string
$path string Path to resolve
리턴 string resolved path

_expandTheme() 보호된 메소드

Resolve a themed file to its full path. The file will be found on the current theme's path.
protected _expandTheme ( string $file ) : string
$file string The theme file to find.
리턴 string The expanded path

프로퍼티 상세

$theme 보호되어 있는 프로퍼티

The current theme if there is one.
protected string $theme
리턴 string