PEAR_Config::mergeConfigFile (Previous) (Next) PEAR_Config::remove

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_Config::readConfigFile()

PEAR_Config::readConfigFile() -- Reads configuration data from a file

Описание

Reads configuration data from a file. All existing values in the config layer are discarded and replaced with data from the file.

Параметр

string $file

file to read from, if NULL or not specified, the last-used file for the same layer (second param) is used

string $layer

config layer to insert data into ('user' or 'system')

Возвращаемое значение

bool - Возвращает TRUE при удаче и PEAR_Error в обратном случае.

Заметка

Эта функция не должна вызываться статически.

PEAR_Config::mergeConfigFile (Previous) (Next) PEAR_Config::remove

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.