Lines Matching defs:previous_key
236 $previous_key = -1;
239 $string .= $this->_yamlize($key,$value,0,$previous_key, $first_key, $array);
240 $previous_key = $key;
254 private function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0, $source_array = null) {
257 return $this->_dumpNode($key, array(), $indent, $previous_key, $first_key, $source_array);
260 $string = $this->_dumpNode($key, self::REMPTY, $indent, $previous_key, $first_key, $source_array);
267 $string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key, $source_array);
282 $previous_key = -1;
285 $string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key, $array);
286 $previous_key = $key;
302 private function _dumpNode($key, $value, $indent, $previous_key = -1, $first_key = 0, $source_array = null) {
330 //if (is_int($key) && $key - 1 == $previous_key && $first_key===0) {