mixed parseInput(
[string
$datasrc = ""], [array
$feature = array( "cc" => ";")])
|
|
parses the input of the given data source
The Data Source can be a string with the file or a array of strings with the files to read, so datasrc requires a existing file. The feature-array have to contain the comment char array("cc" => Comment char)
Overrides
Config_Container::parseInput() (parses the input of the given data source)
Parameters:
object PEAR_Error writeInput(
[string
$datasrc = ""], [boolean
$preserve = true])
|
|
writes the data to the given data source or if not given to the datasource of parseInput If $datasrc was a array, the last file will used.
See parseInput for $datasrc. If the second argument $preserve is true, the implementation should try to preserve the original format and data of the source except changed or added values. This mean to preserve for example comments in files or so.
Overrides
Config_Container::writeInput() (writes the data to the given data source or if not given to the datasource of parseInput)
Parameters: