boolean Config_Container::writeDatasrc (
mixed $datasrc
, string $configType
, array $options = array()
)
By default, this method will write a new string generated with the toString() method to a file. If a writeDatasrc() method exists in the chosen config type, this method will be called instead. This allows for more flexibility and makes it possible to add your own save handlers.
$datasrc
Info on datasource such as path to the configuraton file or dsn...
$configType
Type of configuration
$options
Options for writer
boolean
- TRUE on success
Error code | Error value | Meaning | Solution |
---|---|---|---|
" |
This function can not be called statically.