HtmlTemplateFramework
[ class tree: HtmlTemplateFramework ] [ index: HtmlTemplateFramework ] [ all elements ]

Class: htf_com_conf

Source Location: /htf_com_conf.phl

Class Overview


htf環境設定情報を保有するクラス


Author(s):

Variables

Methods



Class Details

[line 34]
htf環境設定情報を保有するクラス

コンストラクタに指定されたファイル名をサーチ・読み込みを行い、htfの環境設定情報の 各設定値を保有します。指定したファイル名は、以下の順序でサーチされます。
(1)現在の実行ディレクトリ
(2)実行ディレクトリから上位(ドキュメントルート・またはルートディレクトリまで)
(3)PHPに設定されたインクルードディレクトリ
指定したファイルがみつからなかった場合には、初期値が設定されます。

また、内部エンコード判別(internal_encoding_distinct)がonになっている場合や エンコード指定(internal_encoding_encode)が指定されていない場合には、 PHPの設定値(mb_internal_encodingやmg_language)を参照して内部エンコード判別を行い、 internal_encoding_encodeを設定します。(EUC-JPもしくはUTF-8のどちらかになります。)




Tags:

author:  Yamauchi Shogo <htf@as-prj.com>
access:  public


[ Top ]


Class Variables

$csspath =

[line 77]

htfで管理するCSSファイル格納パス(デフォルトは空文字)。

ex)/htf/sample/css




Tags:

access:  public

Type:   string


[ Top ]

$imagepath =

[line 70]

htfで管理するイメージ格納パス(デフォルトは空文字)。

ex)/htf/sample/images




Tags:

access:  public

Type:   string


[ Top ]

$internal_encoding_distinct =

[line 56]

htfの内部エンコーディング判別方法設定値。

'off'(判別を行わない・デフォルト)もしくは'on'(判別を行う)を設定します。




Tags:

access:  public

Type:   string


[ Top ]

$internal_encoding_encode =

[line 63]

htfの内部エンコーディング文字列。

'EUC-JP'もしくは'UTF-8'を設定します(デフォルトは空文字で、htfではUTF-8と評価される)。




Tags:

access:  public

Type:   string


[ Top ]

$itemcase_attribute =

[line 49]

htmlタグ・属性の大文字小文字出力設定値。

'lower'(小文字・デフォルト)もしくは'upper'(大文字)を設定します。




Tags:

access:  public

Type:   string


[ Top ]

$itemcase_element =

[line 42]

htmlタグ・エレメントの大文字小文字出力設定値。

'lower'(小文字・デフォルト)もしくは'upper'(大文字)を設定します。




Tags:

access:  public

Type:   string


[ Top ]

$jspath =

[line 84]

htfで管理するJavaScriptファイル格納パス(デフォルトは空文字)。

ex)/htf/sample/js




Tags:

access:  public

Type:   string


[ Top ]

$rootpath =

[line 91]

htfで管理するルートパス(デフォルトは空文字)。

ex)/htf/sample




Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor htf_com_conf [line 100]

void htf_com_conf( [string $strfname = HTF_CONF_FNAME])

引数のxmlファイル名をサーチし、環境設定情報を取得します。



Tags:

access:  public


Parameters:

string   $strfname   環境設定ファイル名(初期値は'htfconf.xml')

[ Top ]


Documentation generated on Tue, 19 Sep 2006 06:20:30 +0900 by phpDocumentor 1.3.0