Yet Another Framework Yaf_View_Interface 클래스

(Yaf >=1.0.0)


소개

Yaf는 개발자가 Yaf_View_Simple인 내장 엔진 대신 사용자 정의 보기 엔진을 사용할 수 있는 기능을 제공합니다. 이를 수행하는 방법을 설명하는 예제가 있습니다. Yaf_Dispatcher::setView()를 참조하십시오.


클래스 개요

                  
class Yaf_View_Interface {

  /* Methods */
  abstract public assign(string $name, string $value = ?): bool
  abstract public display(string $tpl, array $tpl_vars = ?): bool
  abstract public getScriptPath(): void
  abstract public render(string $tpl, array $tpl_vars = ?): string
  abstract public setScriptPath(string $template_dir): void
}
                  
                

목차