PHP 클래스 Gdn_Smarty, vanilla

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_Smarty The smarty object used for the template.

공개 메소드들

메소드 설명
init ( string $Path, Gdn_Controller $Controller )
render ( string $Path, Controller $Controller ) Render the given view.
smarty ( ) : Smarty
testTemplate ( type $Path ) : boolean See if the provided template causes any errors.

메소드 상세

init() 공개 메소드

public init ( string $Path, Gdn_Controller $Controller )
$Path string
$Controller Gdn_Controller

render() 공개 메소드

Render the given view.
public render ( string $Path, Controller $Controller )
$Path string The path to the view's file.
$Controller Controller The controller that is rendering the view.

smarty() 공개 메소드

public smarty ( ) : Smarty
리턴 Smarty The smarty object used for rendering.

testTemplate() 공개 메소드

See if the provided template causes any errors.
public testTemplate ( type $Path ) : boolean
$Path type Path of template file to test.
리턴 boolean TRUE if template loads successfully.

프로퍼티 상세

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

The smarty object used for the template.
protected $_Smarty