Class: Teeple_ConfigUtils

Source Location: /ConfigUtils.php

Class Overview [line 23]


設定ファイルの内容を保持する

Author(s):

Version:

Copyright:

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods



Class Details

設定ファイルの内容を保持する

[ Top ]


Class Variables

$log

[line 54]

Loggerを格納する

Type: Logger

Overrides:

[ Top ]

$_actionKey

[line 47]

Actionフィルタの名称

Tags:

  • since - 3.2.0

Type: String

Overrides:

[ Top ]

$_configPool

[line 39]

設定情報を一時的に保存する

Tags:

  • since - 3.2.0

Type: String

Overrides:

[ Top ]


Class Methods

__construct

Teeple_ConfigUtils __construct( )

[line 68]

コンストラクタ

Parameters:

[ Top ]

clear

void clear( )

[line 80]

設定情報をクリア

Tags:

  • since - 3.0.0
  • access - public

Parameters:

[ Top ]

execute

void execute( )

[line 284]

設定ファイルを読み込む

Tags:

  • since - 3.0.0
  • access - public

Parameters:

[ Top ]

getConfig

array getConfig( )

[line 308]

セクションの設定情報を返却

Tags:

  • return - セクションの設定情報の配列
  • since - 3.0.0
  • access - public

Parameters:

[ Top ]

getSectionConfig

array getSectionConfig( string $section)

[line 321]

指定されたセクションの設定情報を返却

Tags:

  • return - 設定情報の配列
  • since - 3.0.0
  • access - public

Parameters:

  • string $section - セクション名

[ Top ]

readConfig

void readConfig( array $config, boolean $isDeepest)

[line 193]

GlobalFilterの処理も含め、 最下層かどうかも加味して、設定を読み込む

このメソッドではActionフィルタは一時保存されるだけで 登録されない

Tags:

  • since - 3.2.0

Parameters:

  • array $config -
  • boolean $isDeepest -

[ Top ]

readConfigFile

void readConfigFile( String $filename, boolean $isDeepest)

[line 227]

設定ファイルを読み込む

このメソッドではActionフィルタは一時保存されるだけで 登録されない

Tags:

  • since - 3.2.0

Parameters:

  • String $filename -
  • boolean $isDeepest -

[ Top ]

readConfigFiles

void readConfigFiles( String $actionName, [array $readerFunc = 'readConfigFile'])

[line 250]

アクションに対する全ての設定ファイルを読み込む Debugフィルタは最初に、 Actionフィルタは最後に登録する

$readerFuncはテスタビリティのための存在

Tags:

  • since - 3.2.0

Parameters:

  • String $actionName -
  • array $readerFunc - or string $readerFunc

[ Top ]

readSimpleConfig

void readSimpleConfig( array $config, [array $keys = null])

[line 162]

シンプルに設定を読み込む オプションで読み込むキーを指定することができる

このメソッドではActionフィルタは一時保存されるだけで 登録されない

Tags:

  • since - 3.2.0

Parameters:

  • array $config -
  • array $keys - [optional] keys to be read

[ Top ]

setComponent_Teeple_ActionChain

void setComponent_Teeple_ActionChain( $c)

[line 60]

Tags:

  • access - public

Parameters:

  • $c -

[ Top ]

_getPreserved

array _getPreserved( String $key)

[line 95]

一時保存された情報を取得する 存在しない場合は空の配列を返す

Tags:

  • since - 3.2.0

Parameters:

  • String $key -

[ Top ]

_isActionFilter

boolean _isActionFilter( String $key)

[line 296]

Actionフィルタの一種か調べる

Tags:

  • since - 3.2.0

Parameters:

  • String $key -

[ Top ]

_mergeOrAdd

void _mergeOrAdd( String $key, array $values)

[line 140]

既に追加されていたらマージ、 そうでなければ新規追加

Tags:

  • since - 3.2.0

Parameters:

  • String $key -
  • array $values -

[ Top ]

_mergeOrPreserve

void _mergeOrPreserve( String $key, array $values)

[line 123]

既に追加されている場合はマージ、 そうでなければ一時保存

Tags:

  • since - 3.2.0

Parameters:

  • String $key -
  • array $values -

[ Top ]

_preserve

void _preserve( String $key, array $values)

[line 107]

設定情報を一時的に保存する

Tags:

  • since - 3.2.0

Parameters:

  • String $key -
  • array $values -

[ Top ]


Class Constants


Documentation generated on Mon, 26 Apr 2010 08:59:36 +0900 by phpDocumentor 1.4.3