3 if (!defined('_ECRIRE_INC_VERSION')) return;
6 function yaml_decode($input) {
7 require_once dirname(__FILE__
).'/../lib/yaml/sfYaml.php';
8 require_once dirname(__FILE__
).'/../lib/yaml/sfYamlParser.php';
10 $yaml = new sfYamlParser();
14 return $yaml->parse($input);