XML_Query2XML
[ class tree: XML_Query2XML ] [ index: XML_Query2XML ] [ all elements ]

Class: XML_Query2XML_ConfigException

Source Location: /XML_Query2XML-0.6.0/XML/Query2XML.php

Class Overview

PEAR_Exception
   |
   --XML_Query2XML_Exception
      |
      --XML_Query2XML_ConfigException

Exception that handles configuration errors.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 2023]
Exception that handles configuration errors.

This exception handels errors in the $options array passed to XML_Query2XML::getXML() and wrong arguments passed to the constructor via XML_Query2XML::factory(). It provides the special method addConfigParents() that allows for exact specification where the error is located in the configuration array.



[ Top ]


Method Detail

addConfigParents   [line 2053]

void addConfigParents( mixed $configParents)

Add multiple parent configuration options.

Parameters:

mixed   $configParents     A single parent configuration option as a string or one or more parents as an array of strings. If the option is in [elements][albums] pass array('elements', 'albums') as argument.

[ Top ]


Documentation generated on Sun, 23 Apr 2006 11:33:25 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.