PHP 클래스 Phalcon\Test\Module\View\Engine\Mustache

저자: Andres Gutierrez ([email protected])
저자: Serghei Iakovlev ([email protected])
상속: extends Phalcon\Mvc\View\Engine, implements Phalcon\Mvc\View\EngineInterface
파일 보기 프로젝트 열기: phalcon/cphalcon

보호된 프로퍼티들

프로퍼티 타입 설명
$mustache Mustache_Engine The internal Mustache Engine
$params array The view params

공개 메소드들

메소드 설명
__construct ( Phalcon\Mvc\ViewBaseInterface $view, Phalcon\DiInterface $dependencyInjector = null ) Mustache constructor.
render ( string $path, mixed $params, boolean $mustClean = false ) Renders a view using the template engine

메소드 상세

__construct() 공개 메소드

Mustache constructor.
public __construct ( Phalcon\Mvc\ViewBaseInterface $view, Phalcon\DiInterface $dependencyInjector = null )
$view Phalcon\Mvc\ViewBaseInterface
$dependencyInjector Phalcon\DiInterface

render() 공개 메소드

Renders a view using the template engine
public render ( string $path, mixed $params, boolean $mustClean = false )
$path string
$params mixed
$mustClean boolean

프로퍼티 상세

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

The internal Mustache Engine
protected Mustache_Engine $mustache
리턴 Mustache_Engine

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

The view params
protected array $params
리턴 array