Lines Matching full:spyc
3 * Spyc -- A Simple PHP YAML Class
7 * @link http://code.google.com/p/spyc/
10 * @package Spyc
20 return Spyc::YAMLLoadString($string);
31 return Spyc::YAMLLoad($file);
44 * $Spyc = new Spyc;
45 * $array = $Spyc->load($file);
49 * $array = Spyc::YAMLLoad($file);
55 * @package Spyc
57 class Spyc { class
106 * Load a valid YAML string to Spyc.
115 * Load a valid YAML file to Spyc.
131 * $array = Spyc::YAMLLoad('lucky.yaml');
139 $Spyc = new Spyc;
140 return $Spyc->__load($input);
155 * $array = Spyc::YAMLLoadString("---\n0: hello world\n");
163 $Spyc = new Spyc;
164 return $Spyc->__loadString($input);
188 $spyc = new Spyc;
189 return $spyc->dump($array,$indent,$wordwrap);
1034 // Enable use of Spyc from command line
1035 // The syntax is the following: php spyc.php spyc.yaml
1042 if (empty ($_SERVER['PHP_SELF']) || $_SERVER['PHP_SELF'] != 'spyc.php') break;
1044 printf ("Spyc loading file: %s\n", $file);