Horde YAML parser.
This class can be used to read a YAML file and convert its contents into a PHP array. The native PHP parser supports a limited subsection of the YAML spec, but if the syck extension is present, that will be used for parsing.
Located in /Yaml/lib/Horde/Yaml.php (line 28)
Whitelist of classes that can be instantiated automatically when loading YAML docs that include serialized PHP objects.
Callback used for alternate YAML dumper, typically exported by a faster PHP extension. This function's first argument must accept a mixed variable to be dumped.
Callback used for alternate YAML loader, typically exported by a faster PHP extension. This function's first argument must accept a string with YAML content.
Dump a PHP array to YAML.
The dump method, when supplied with an array, will do its best to convert the array into friendly YAML.
Load a string containing YAML and parse it into a PHP array.
Returns an empty array on failure.
Load a file containing YAML and parse it into a PHP array.
If the file cannot be opened, an exception is thrown. If the file is read but parsing fails, an empty array is returned.
Load YAML from a PHP stream resource.
Documentation generated on Sun, 30 Jan 2011 05:23:33 +0000 by phpDocumentor 1.4.3