XML_Beautifier::apiVersion (Previous) (Next) XML_Beautifier::formatString

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

XML_Beautifier::formatFile()

XML_Beautifier::formatFile() -- beautify a file

Описание

Beautifies a file.

Параметр

  • string $file - filename of the original file

  • string $newFile - filename for the beautified file. If no file is given, the method will return the resulting XML document. To overwrite the original file, pass XML_BEAUTIFIER_OVERWRITE.

  • string $renderer - renderer to use, currently only a "Plain" XML renderer can be used.

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

mixed Either true, if file has been written or the XML document string.

Заметка

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

XML_Beautifier::apiVersion (Previous) (Next) XML_Beautifier::formatString

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.