PHP 인터페이스 ManaPHP\RendererInterface

파일 보기 프로젝트 열기: manaphp/manaphp

공개 메소드들

메소드 설명
appendSection ( ) : void
exists ( string $template ) : boolean
getSection ( string $section, string $default = '' ) : string Get the string contents of a section.
partial ( string $path, array $vars = [] ) : void
render ( string $template, array $vars = [], boolean $directOutput = false ) : string Checks whether view exists on registered extensions and render it
startSection ( string $section ) : void Start injecting content into a section.
stopSection ( boolean $overwrite = false ) : void Stop injecting content into a section.

메소드 상세

appendSection() 공개 메소드

public appendSection ( ) : void
리턴 void

exists() 공개 메소드

public exists ( string $template ) : boolean
$template string
리턴 boolean

getSection() 공개 메소드

Get the string contents of a section.
public getSection ( string $section, string $default = '' ) : string
$section string
$default string
리턴 string

partial() 공개 메소드

public partial ( string $path, array $vars = [] ) : void
$path string
$vars array
리턴 void

render() 공개 메소드

Checks whether view exists on registered extensions and render it
public render ( string $template, array $vars = [], boolean $directOutput = false ) : string
$template string
$vars array
$directOutput boolean
리턴 string

startSection() 공개 메소드

Start injecting content into a section.
public startSection ( string $section ) : void
$section string
리턴 void

stopSection() 공개 메소드

Stop injecting content into a section.
public stopSection ( boolean $overwrite = false ) : void
$overwrite boolean
리턴 void