public function addRawFromAssocArray($lines, $indentation = 0)
	{
		foreach ($lines as $key => $value)
		{
			if (is_array($value))
			{
				$this->addLine($key . ': [', array("indentation"=>$indentation));
				$this->addRawFromAssocArray($value, $indentation + 1);
				$this->addLine(']', array("indentation"=>$indentation));
			}
			else
			{
				$this->addLine($key . ': ' . $value, array("indentation"=>$indentation));
			}
		}
	}
public function addRawFromAssocArray($lines, $indentation = 0)
	{
		foreach ($lines as $key => $value)
		{
			if (is_array($value))
			{
				$this->addLine($key . ': [', array("indentation"=>$indentation));
				$this->addRawFromAssocArray($value, $indentation + 1);
				$this->addLine(']', array("indentation"=>$indentation));
			}
			else
			{
				$this->addLine($key . ': ' . $value, array("indentation"=>$indentation));
			}
		}
	}
public function addRawFromAssocArray ( $ lines , $ indentation = 0 ) { foreach ( $ lines as $ key => $ value ) { if ( is_array ( $ value ) ) { $ this -> addLine ( $ key . ': [' , array ( "indentation" => $ indentation ) ) ; $ this -> addRawFromAssocArray ( $ value , $ indentation + 1 ) ; $ this -> addLine ( ']' , array ( "indentation" => $ indentation ) ) ; } else { $ this -> addLine ( $ key . ': ' . $ value , array ( "indentation" => $ indentation ) ) ; } } }
Helper method to add an associative array to the output buffer.

@param array $lines The lines to add
@return void
Helper method to add an associative array to the output buffer .