Yaf_View_Interface クラス

(Yaf >=1.0.0)

はじめに

Yaf では、組み込みのビューエンジン Yaf_View_Simple のかわりにカスタムビューを自作できるようになっています。 その実例は、 Yaf_Dispatcher::setView() を参照ください。

クラス概要

class Yaf_View_Interface {
/* メソッド */
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
}

目次

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /