Gumbo_Config_Reader_Php
Config PHP Reader
A PHP Reader will simply include the defined PHP file, and parse an array into a Composite object
Author(s): |
Michael Luster <mluster79@yahoo.com> |
License: | New BSD License |
Copyright: | Copyright (c) 2007, iBayou, Michael Luster |
Link: | http://sourceforge.net/projects/phpgumbo |
Version: | 0.0.1 |
Implements interfaces:
Class Variables
string $_name = "config" [line 41]
Class Methods
public Gumbo_Config_Reader_Php __construct ( [string $name] )
[line 49]
Constructor
Parameter(s):
- (string) $name :: config variable name
[ Top ]
Reads the given configuration into memory, and returns the results
Parameter(s):
- (string) $file
- throws:
Gumbo_Exception - uses:
Gumbo_Converter, - Gumbo_Branch Implementation of:
[ Top ]public void setName ( string $name ) [line 107]Sets the config variable name
Parameter(s):
- (string) $name
- precondition:
valid PHP variable name - postcondition:
removes non alpha-numeric (excluding underscores) from the name
[ Top ]