PEAR Manual
Prev |  | Next

# Config_Container::toString()

Config_Container::toString() -- Return string representation

## Synopsis

    require_once 'Config/Container.php';

``string Config_Container::toString` (string $configType [, array $options = array()])`

## Description

This method will call the toString() method in the choosen config type. It will return a string representation of the Config_Container and its children.

## Parameter

string `$configType`

  Type of configuration used to generate the string

array `$options`

  Specify special options used by the parser

## Return value

`string` - the generated string

## Throws

Table 31-1. Possible PEAR_Error values

Error code | Error value | Meaning | Solution
--- | --- | --- | ---
| "" |  |

## Note

This function can not be called statically.

Prev | Home | Next
Config_Container::toArray() | Up | Config_Container::updateAttributes()