PHP 인터페이스 Phrozn\Site\View

Site basically composed of number of views, which load configuration and tempaltes and get compiled into HTML.
저자: Victor Farazdagi
상속: extends Phrozn\Has\SiteConfig, extends Phrozn\Has\InputRootDir, extends Phrozn\Has\InputFile, extends Phrozn\Has\OutputFile, extends Phrozn\Has\OutputDir, extends Phrozn\Has\Param, extends Phrozn\Has\Processors, extends Phrozn\Has\FrontMatter, extends Phrozn\Has\Template
파일 보기 프로젝트 열기: farazdagi/phrozn

공개 메소드들

메소드 설명
compile ( array $vars = [] ) : Phrozn\Site\View Render and save static version of a concrete view
render ( array $vars = [] ) : string Render input template

메소드 상세

compile() 공개 메소드

Render and save static version of a concrete view
public compile ( array $vars = [] ) : Phrozn\Site\View
$vars array List of variables passed to text processors
리턴 Phrozn\Site\View

render() 공개 메소드

Render input template
public render ( array $vars = [] ) : string
$vars array List of variables passed to text processors
리턴 string