symfony API

sfYamlInline Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.1 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.1 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfYamlInline implements a YAML parser/dumper for the YAML inline syntax.

Method Summary

Method Details

  • (string) dump () Browse code

    Dumps PHP array to YAML.

    returns YAML

  • (string) dumpArray () Browse code

    Dumps PHP array to YAML

    returns YAML

  • (string) evaluateScalar ($scalar) Browse code

    Evaluates scalars and replaces magic values.

    returns YAML

  • getTimestampRegex () Browse code

  • (array) load () Browse code

    Load YAML into a PHP array.

    returns PHP array

  • (string) parseMapping ($mapping, $i) Browse code

    Parses mapping.

    returns YAML

  • (string) parseQuotedScalar ($scalar, $i) Browse code

    Parses quotes scalar

    returns YAML

  • (string) parseScalar ($scalar, $delimiters, , $i, $evaluate) Browse code

    Parses scalar to yaml

    returns YAML

  • (string) parseSequence ($sequence, $i) Browse code

    Parse sequence to yaml

    returns YAML