to_yaml ()

Gets the current XML node as a YAML string.

Access

public

Returns

Type

Description

string

The current XML node as a YAML string.

Source

Method defined in utilities/array.class.php | Toggle source view (4 lines) | View on GitHub

public function to_yaml()
{
    return sfYaml::dump($this->getArrayCopy(), 5);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback