PHP 클래스 Frontend\Core\Engine\Theme

파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

공개 메소드들

메소드 설명
getPath ( string $file ) : string Get the file path based on the theme.
getTheme ( ) : string Gets the active theme name

메소드 상세

getPath() 공개 정적인 메소드

If it does not exist in the theme it will return $file.
public static getPath ( string $file ) : string
$file string Path to the file.
리턴 string Path to the (theme) file.

getTheme() 공개 정적인 메소드

Gets the active theme name
public static getTheme ( ) : string
리턴 string