XML_RDDL::parseRDDL()
XML_RDDL::parseRDDL() -- parse a document that contains RDDL resources
概要
require_once 'XML/RDDL.php'; |
boolean XML_RDDL::parseRDDL (string $input [, boolean $isFile = true])
説明
Parses an XML or XHTML document that contains RDDL resources and stores information
about them for retrieval by the other methods.
パラメータ
string $input - input to parse, either a string or a file. If it's a file, you have to set $isFile to true.
boolean $isFile - flag to indicate whether the $input parameter should be treated as a filename.
返り値
成功時には TRUE、
失敗時には PEAR_Error を返します。
注意
この関数は、スタティックにコールする
ことはできません。