Class CFW_Template_SimpleTemplateTextParser

Description

簡易テンプレート展開

タグ定義はcore.ini("template.tagStart","template.tagEnd")に記述

  • author: okada

Located in /Template/SimpleTemplateTextParser.php (line 9)


	
			
Variable Summary
unknown_type $dictionary
unknown_type $tagEnd
unknown_type $tagStart
String $templateText
Method Summary
static void format ()
unknown_type __construct ([$text $text = ""])
unknown_type assign ($name $name, $value $value)
unknown_type getText ()
unknown_type setTemplateText ([$text $text = ""])
Variables
unknown_type $dictionary (line 19)

置き換えるキーワードと値の辞書

unknown_type $tagEnd (line 29)

置き換えキーワードの終了タグ

unknown_type $tagStart (line 24)

置き換えキーワードの開始タグ

String $templateText (line 14)

テンプレート文字列

Methods
static method format (line 76)
  • access: public
static void format ()
Constructor __construct (line 35)

構築

  • access: public
unknown_type __construct ([$text $text = ""])
  • $text $text: 初期テンプレート
assign (line 60)

置き換え変数設定

  • access: public
unknown_type assign ($name $name, $value $value)
  • $name $name
  • $value $value
getText (line 67)

テンプレート解析、変数置き換えの結果文字列

  • access: public
unknown_type getText ()
setTemplateText (line 51)

テンプレートを設定

  • access: public
unknown_type setTemplateText ([$text $text = ""])
  • $text $text

Documentation generated on Fri, 25 Dec 2009 22:46:06 +0900 by phpDocumentor 1.4.3