Lines Matching defs:string

16    * @param string $string YAML string.
19 function spyc_load ($string) {
20 return Spyc::YAMLLoadString($string);
27 * @param string $file Path to YAML file.
64 * Setting this to true will force YAMLDump to enclose any string value in
106 * Load a valid YAML string to Spyc.
107 * @param string $input
116 * @param string $file
126 * The load method, when supplied with a YAML stream (string or file),
136 * @param string $input Path of YAML file or string containing YAML
144 * Load a string of YAML into a PHP array statically
146 * The load method, when supplied with a YAML string, will do its best
147 * to convert YAML in a string into a PHP array. Pretty simple.
151 * about security whose input is from a string.
160 * @param string $input String containing YAML
172 * save the returned string as nothing.yaml and pass it around.
182 * @return string
198 * save the returned string as tasteful.yaml and pass it around.
208 * @return string
231 $string = "---\n";
239 $string .= $this->_yamlize($key,$value,0,$previous_key, $first_key, $array);
243 return $string;
249 * @return string
260 $string = $this->_dumpNode($key, self::REMPTY, $indent, $previous_key, $first_key, $source_array);
264 $string .= $this->_yamlizeArray($value,$indent);
267 $string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key, $source_array);
269 return $string;
275 * @return string
281 $string = '';
285 $string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key, $array);
288 return $string;
297 * @return string
333 $string = $spaces.'- '.$value."\n";
338 $string = rtrim ($spaces.$key.': '.$value)."\n";
340 return $string;
346 * @return string
369 * Folds a string of text, if necessary
371 * @return string
372 * @param $value The string you wish to fold
483 * @param string $line A line from the YAML file
518 * @param string $value
785 // Adding string or numeric key to the innermost level or $this->arr.
988 // Set the type of the value. Int, string, etc