テンプレートの拡張子を「tpl」以外も使用する
例えば、拡張子「html」のファイルをテンプレートとする場合はコントローラにて
$this->Template->_registerTemplateHandler('html','AkPhpTemplateHandler');
を実行すればいい。
ApplicationControllerのコンストラクタ辺りでやっとけば、とりあえず全アクションに適用できるはず。
例えば、拡張子「html」のファイルをテンプレートとする場合はコントローラにて
$this->Template->_registerTemplateHandler('html','AkPhpTemplateHandler');
を実行すればいい。
ApplicationControllerのコンストラクタ辺りでやっとけば、とりあえず全アクションに適用できるはず。