Config::isConfigTypeRegistered (Previous) (Next) Config::registerConfigType

View this page in Last updated: Sun, 07 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Config::parseConfig()

Config::parseConfig() -- データソースの内容を解析する

説明

このメソッドは、与えられたデータソースを解析し、 ルートConfig_Container オブジェクトを他のConfig_Container オブジェクトで補充します。 もし何らかの理由で行かなければ、ルートConfig_Container オブジェクトへのリファレンスか、 あるいはPEAR_Errorを返すでしょう。

パラメータ

mixed $datasrc

解析するべきデータソースです。 ほとんどのコンテナーについては、それはファイルパスです。 PHP配列パーサーについては、配列を指定します。

string $configType

解析するべき設定のタイプです。

array $options

パーサー用オプションです。

返り値

object - Config_Containerオブジェクトのリファレンスです。

注意

この関数は、スタティックにコールする ことはできません。

Config::isConfigTypeRegistered (Previous) (Next) Config::registerConfigType

Download Documentation Last updated: Sun, 07 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: info@karikas.com
Ahoy, a quick reference - values for the config type can be (as per v 1.21): apache, genericconf, inifile, inicommented, phparray, xml.