Class Crafty_Config

Description

Crafty_Config class

This class uses simplexml to parse the config xml file and features a structured object tree similar to the xml structure.
Aswell it allows navigation in this tree by $parent and $top

Located in /crafty/Crafty_Config.class.php (line 55)


	
			
Variable Summary
Method Summary
Crafty_Config __construct (string $xml, [Crafty_Compiler $compiler = NULL], [Crafty_Config $parent = NULL], [Crafty_Config $top = NULL])
Variables
Crafty_Config $parent (line 63)

Parent node object handle in the xml tree

  • access: public
Crafty_Config $top (line 70)

Top node object handle in the xml tree

  • access: public
Crafty_Compiler $_compiler (line 77)

Object handle of the compiler object

  • access: private
Methods
Constructor __construct (line 91)

Initiates a Crafty_Config object and the corresponding object/XML tree

When called for the first time this only needs the first parameter, then it will recursively parse the XML tree and create a new Crafty_Config objects for every XML tag.

  • access: public
Crafty_Config __construct (string $xml, [Crafty_Compiler $compiler = NULL], [Crafty_Config $parent = NULL], [Crafty_Config $top = NULL])

Documentation generated on Sat, 19 Feb 2005 01:43:41 +0100 by phpDocumentor 1.3.0RC3