(Yaf >=1.0.0)
はじめに
Yaf_View_Simple は Yaf の組み込みテンプレートエンジンです。 シンプルながらも高速なテンプレートエンジンで、PHP スクリプトテンプレートだけに対応しています。
クラス概要
Yaf_View_Simple implements Yaf_View_Interface {
protected
$_tpl_vars
protected
$_tpl_dir
/* メソッド */
public clear
([ string $name
] ) : bool
final public __construct
( string $template_dir
[, array $options
] )
public display
( string $tpl
[, array $tpl_vars
] ) : bool
public eval
( string $tpl_content
[, array $tpl_vars
] ) : string
public __get
([ string $name
] ) : void
public getScriptPath ( ) : string
public __isset
( string $name
) : void
public render
( string $tpl
[, array $tpl_vars
] ) : string
public setScriptPath
( string $template_dir
) : bool
}
プロパティ
_tpl_vars
_tpl_dir
目次
- Yaf_View_Simple::assign — 値を代入する
- Yaf_View_Simple::assignRef — The assignRef purpose
- Yaf_View_Simple::clear — 代入した値をクリアする
- Yaf_View_Simple::__construct — Yaf_View_Simple のコンストラクタ
- Yaf_View_Simple::display — レンダリングして表示する
- Yaf_View_Simple::eval — テンプレートをレンダリングする
- Yaf_View_Simple::__get — Retrieve assigned variable
- Yaf_View_Simple::getScriptPath — テンプレートのディレクトリを取得する
- Yaf_View_Simple::__isset — The __isset purpose
- Yaf_View_Simple::render — テンプレートをレンダリングする
- Yaf_View_Simple::__set — 値をエンジンに設定する
- Yaf_View_Simple::setScriptPath — テンプレートのディレクトリを設定する
/* プロパティ */