PHP 클래스 Phlyty\View\MustacheView

상속: extends Phly\Mustache\Mustache, implements Phlyty\View\ViewInterface
파일 보기 프로젝트 열기: phly/phlyty

공개 메소드들

메소드 설명
render ( string $template, mixed $viewModel = [], mixed $partials = null ) : string Render a template

메소드 상세

render() 공개 메소드

Proxies to parent object, but provides defaults for $viewModel and $partials.
public render ( string $template, mixed $viewModel = [], mixed $partials = null ) : string
$template string Either a template string or a template file in the template path
$viewModel mixed An array or object with items to inject in the template
$partials mixed A list of partial names/template pairs for rendering as partials
리턴 string