PHP 인터페이스 FOF30\View\Compiler\CompilerInterface

파일 보기 프로젝트 열기: akeeba/fof

공개 메소드들

메소드 설명
compile ( array $path, array $forceParams = [] ) : mixed Compile a view template into PHP and HTML
isCacheable ( ) : mixed Are the results of this compiler engine cacheable? If the engine makes use of the forcedParams it must return false.

메소드 상세

compile() 공개 메소드

Compile a view template into PHP and HTML
public compile ( array $path, array $forceParams = [] ) : mixed
$path array The absolute filesystem path of the view template
$forceParams array Any parameters to force (only for engines returning raw HTML)
리턴 mixed

isCacheable() 공개 메소드

Are the results of this compiler engine cacheable? If the engine makes use of the forcedParams it must return false.
public isCacheable ( ) : mixed
리턴 mixed