Parses string hash files. File format is as such:
DefaultKeyValue KEY: Value KEY2: Value2 --MULTILINE-KEY-- Multiline value.
Which would output something similar to:
array( 'ID' => 'DefaultKeyValue', 'KEY' => 'Value', 'KEY2' => 'Value2', 'MULTILINE-KEY' => "Multiline\nvalue.\n", )
We use this as an easy to use file-format for configuration schema files, but the class itself is usage agnostic.
You can use ---- to forcibly terminate parsing of a single string-hash; this marker is used in multi string-hashes to delimit boundaries.
Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 6496)
Parses a file that contains a single string-hash.
Internal parser that acepts a file handle.
Parses a file that contains multiple string-hashes delimited by '----'
Documentation generated on Sun, 06 Mar 2011 00:24:10 -0500 by phpDocumentor 1.4.3