[Horde_Yaml] element index

Package indexes

All elements
a c d e f h i l m n p r s t u y _
_
top
Variable $_allNodes
All nodes
Variable $_allParent
Array of node parents
Variable $_haveRefs
List of nodes with references
Variable $_inBlock
Is the parser inside a block?
Variable $_isInline
Variable $_lastIndent
Last indent level
Variable $_lastNode
Last node id
Variable $_lineNumber
Last line number parsed.
Variable $_nodeId
Next node id to use
Variable $_options
Method _array_kmerge
Merges two arrays, maintaining numeric keys. If two numeric keys clash, the second one will be appended to the resulting array. If string keys clash, the last one wins.
Method _buildArray
Builds the PHP array from all the YAML nodes we've gathered
Method _doLiteralBlock
Creates a literal block for dumping
Method _dumpNode
Returns YAML from a key and a value
Method _fold
Folds a string of text, if necessary
Method _gatherChildren
Finds the children of a node and aids in the building of the PHP array
Method _getIndent
Finds and returns the indentation of a YAML line
Method _inlineEscape
Used in inlines to check for more inlines or quoted strings
Method _linkRef
Helper for _linkReferences()
Method _linkReferences
Traverses node-space and sets references (& and *) accordingly
Method _makeReferences
Traverses node-space and copies references to / from this object.
Method _nodeArrayizeData
Turns a node's data and its children's data into a PHP array
Method _parseLine
Parses YAML code and returns an array for a node
Method _toType
Finds the type of the passed value, returns the value as the new type.
Method _unserialize
Handle PHP serialized data.
Method _yamlize
Attempts to convert a key / value array item to YAML
Method _yamlizeArray
Attempts to convert an array to YAML
Method __construct
The constructor assigns the node a unique ID.
Method __construct
Create a new YAML parser.
Method __construct
Method __construct
a
top
Variable $allowedClasses
Whitelist of classes that can be instantiated automatically when loading YAML docs that include serialized PHP objects.
Page AllTests.php
AllTests.php in AllTests.php
c
top
Variable $children
d
top
Variable $data
Variable $dumpfunc
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.
Method dump
Horde_Yaml::dump() in Yaml.php
Dump a PHP array to YAML.
Method dump
Dump PHP array to YAML
Page dump.php
dump.php in dump.php
Page Dumper.php
Dumper.php in Dumper.php
Page DumperTest.php
DumperTest.php in DumperTest.php
e
top
Page Exception.php
Exception.php in Exception.php
f
top
Method fixture
h
top
Class Horde_Yaml
Horde_Yaml in Yaml.php
Horde YAML parser.
Class Horde_Yaml_Dumper
Horde_Yaml_Dumper in Dumper.php
Dump PHP data structures to YAML.
Class Horde_Yaml_Exception
Horde_Yaml_Exception in Exception.php
Exception class for exceptions thrown by Horde_Yaml
Class Horde_Yaml_Loader
Horde_Yaml_Loader in Loader.php
Parse YAML strings into PHP data structures
Class Horde_Yaml_Node
Horde_Yaml_Node in Node.php
A node, used for parsing YAML.
Class Horde_Yaml_AllTests
Horde_Yaml_AllTests in AllTests.php
Class Horde_Yaml_DumperTest
Horde_Yaml_DumperTest in DumperTest.php
Class Horde_Yaml_LoaderTest
Horde_Yaml_LoaderTest in LoaderTest.php
Class Horde_Yaml_LoaderTest_MockLoader
Used to test Horde_Yaml::$loadfunc callback.
Class Horde_Yaml_NodeTest
Horde_Yaml_NodeTest in NodeTest.php
Class Horde_Yaml_Test_NotSerializable
Class Horde_Yaml_Test_Serializable
Page Helpers.php
Helpers.php in Helpers.php
i
top
Variable $id
Variable $indent
l
top
Variable $loadfunc
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.
Method load
Horde_Yaml::load() in Yaml.php
Load a string containing YAML and parse it into a PHP array.
Method loadFile
Load a file containing YAML and parse it into a PHP array.
Method loadStream
Load YAML from a PHP stream resource.
Page load.php
load.php in load.php
Page Loader.php
Loader.php in Loader.php
Page LoaderTest.php
LoaderTest.php in LoaderTest.php
m
top
Method main
n
top
Page Node.php
Node.php in Node.php
Page NodeTest.php
NodeTest.php in NodeTest.php
p
top
Variable $parent
Method parse
Parse a line of a YAML file.
Constant PHPUnit_MAIN_METHOD
PHPUnit_MAIN_METHOD in AllTests.php
Horde_Yaml test suite
r
top
Method returnArray
Method returnFalse
s
top
Method serialize
Method setUp
Method setUp
Method suite
t
top
Method toArray
Return the PHP built from all YAML parsed so far.
Method test
Method testArray
Method testCommentAtEndOfLine
Method testCommentOnEmptyLine
Method testComplexParse
Method testConstructorAssignsId
Method testDecoyCommentEmbeddedInApostrophes
Method testDecoyCommentEmbeddedInApostrophesAndEndOfLineVersion
Method testDecoyCommentEmbeddedInQuotes
Method testDecoyCommentEmbeddedInQuotesAndEndOfLineComment
Method testDoesNotThrowOnAnEmptyLineWithTabsOrSpaces
Method testDumpAlwaysStartsNewYamlDocument
Method testDumpsArrayAsMap
Method testDumpSequence
Method testDumpsTraversableAsMap
Method testFloatExponential
Method testHash
Method testInfinity
Method testInfinity
Method testInlinedSequence
Method testInlineMapping
Method testInlineMappingOneDeep
Method testInlineMappingWhenEmpty
Method testInlineMappingWhenEmptyWithWhitespace
Method testInlineMappingWithQuotesInlinedInMapping
Method testInlineMappingWithQuotesInlinedInSequence
Method testInlineSequenceOneDeep
Method testInlineSequenceOneDeepWithQuotes
Method testInlineSequenceTwoDeep
Method testInlineSequenceWhenEmpty
Method testInlineSequenceWhenEmptyWithWhitespace
Method testInlineSequenceWithQuotes
Method testKeyAsNumeric
Method testLoad
Method testLoadFile
Method testLoadFileThrowsWhenFilenameCannotBeOpened
Method testLoadFileThrowsWhenFilenameIsEmptyString
Method testLoadFileThrowsWhenFilenameIsNotString
Method testLoadReturnsEmptyArrayWhenStringCannotBeParsedAsYaml
Method testLoadStream
Method testLoadStreamThrowsWhenStreamIsNotResource
Method testLoadStreamThrowsWhenStreamIsResourceButNotStream
Method testLoadStreamUsesCallbackForParsingIfAvailable
Method testLoadThrowsWhenInputStringIsEmpty
Method testLoadThrowsWhenInputStringIsNotString
Method testLoadUsesCallbackForParsingIfAvailable
Method testMappedSequence
Method testMappedValueWithFoldedBlock
Method testMappedValueWithMapping
Method testMappingBooleanFalse
Method testMappingBooleanTrue
Method testMappingFloatValue
Method testMappingIntegerValue
Method testMappingIntegerZeroValue
Method testMappingNullValue
Method testMappingStringValue
Method testMixedArray
Method testMovedArray
Method testNan
Method testNan
Method testNegativeInfinity
Method testNegativeInfinity
Method testNegativeKeysArray
Method testNumericStrings
Method testPassThruConvenienceFunction
Method testQuotesCanBeEmptyWhenApostrophes
Method testQuotesCanBeEmptyWhenQuotes
Method testQuotesCanBeEscaped
Method testQuotesCanBeUsedForComplexKeys
Method testReferencesAssignment1
Method testReferencesAssignment2
Method testReferenceUsage
Method testSequenceBasic
Method testSequenceofMappings
Method testSequenceOfSequence
Method testSequenceWithMappedValuesStartingWithCaps
Method testSerializable
Method testSerializable
Method testThrowsAnExceptionWhenFirstCharacterOfLineIsTab
Method testThrowsExceptionWhenLineIndentContainsTab
Method testThrowsWhenOptionIndentIsNotAnInteger
Method testThrowsWhenOptionsIsNotArray
Method testThrowsWhenOptionWordwrapIsNotAnInteger
Method testWhitespaceBetweenApostrophesIsPreserved
Method testWhitespaceBetweenQuotesIsPreserved
u
top
Method unserialize
y
top
Page Yaml.php
Yaml.php in Yaml.php
a c d e f h i l m n p r s t u y _