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

Class: Xinc_Config_File

Source Location: /Xinc/Config/File.php

Class Overview

SimpleXMLElement
   |
   --Xinc_Config_File



Methods


Inherited Methods

Class: SimpleXMLElement (Internal Class)

constructor __construct ( $data, [$options = ], [$data_is_url = ], [$ns = ], [$is_prefix = ] )
addAttribute ( $name, [$value = ], [$ns = ] )
addChild ( $name, [$value = ], [$ns = ] )
asXML ( [$filename = ] )
attributes ( [$ns = ], [$is_prefix = ] )
children ( [$ns = ], [$is_prefix = ] )
count ( )
getDocNamespaces ( [$recursve = ], [$from_root = ] )
getName ( )
getNamespaces ( [$recursve = ] )
registerXPathNamespace ( $prefix, $ns )
saveXML ( [$filename = ] )
xpath ( $path )
__toString ( )

Class Details

[line 34]


[ Top ]


Class Methods


static method load [line 55]

static void load( string $fileName)

Constructs a SimpleXMLElement



Tags:

throws:  Xinc_Config_Exception_FileNotFound
throws:  Xinc_Config_Exception_InvalidEntry
access:  public


Parameters:

string   $fileName  

[ Top ]

method _validate [line 76]

void _validate( )

validate the config file

  • make sure only allowed tags are present




Tags:

access:  protected


[ Top ]


Documentation generated on Sun, 09 Dec 2012 21:49:26 +0100 by phpDocumentor 1.4.4