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

Class: Config_Container_XML

Source Location: /Config-1.4/Config/Container/XML.php

Class Overview

XML_Parser
   |
   --Config_Container_XML

Config parser for XML Files


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 28]
Config parser for XML Files


[ Top ]


Class Variables

$containers = array()

[line 45]

Container objects

Type:   array


[ Top ]

$options = array()

[line 38]

This class options:

version (1.0) : XML version encoding (ISO-8859-1) : XML content encoding name (conf) : Like in phparray, name of your config global entity


Type:   array


[ Top ]



Method Detail

Config_Container_XML (Constructor)   [line 56]

Config_Container_XML Config_Container_XML( [string $options = array()])

Constructor
  • Access: public

Parameters:

string   $options     (optional)Options to be used by renderer version: (1.0) XML version encoding: (ISO-8859-1) XML content encoding name: Like in phparray, name of your config global entity

[ Top ]

cdataHandler   [line 134]

void cdataHandler( mixed $xp, mixed $cdata)


[ Top ]

parseDatasrc   [line 75]

mixed &parseDatasrc( string $datasrc, object &$obj)

Parses the data of the given configuration file
  • Return: returns a PEAR_ERROR, if error occurs or true if ok
  • Access: public

Parameters:

string   $datasrc     path to the configuration file
object   $obj     reference to a config object

[ Top ]

toString   [line 149]

string toString( object &$obj)

Returns a formatted string of the object
  • Access: public

Parameters:

object   $obj     Container object to be output as string

[ Top ]


Documentation generated on Fri, 30 Apr 2004 22:59:06 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.