src/UI/HTML/Exception/TraceViewer.php
protected static function convertArrayToString( $array, $breakMode, $level = 1 )
	{
		$list = array();
		foreach( $array as $key => $value )
		{
			$string	= self::convertArgumentToString( $value, $breakMode, $level+1 );
			$list[]	= $key.":".$string;
		}
		$block	= implode( ", ", $list );
		if( $breakMode == 2 )
		{
			$level	= str_repeat( "&nbsp;", 3 * $level );
			$indent	= str_repeat( "&nbsp;", 3 );
			$list	= implode( ",<br/>".$level.$indent.$indent.$indent.$indent, $list );
			$block	= "<br/>".$level.$indent.$indent.$indent.$indent.$list."<br/>".$level.$indent.$indent.$indent;
		}
		if( $breakMode == 3 )
		{
			$block	= self::blockquote( implode( ',<br/>', $list ) );
		}
		return '{'.$block.'}';
	}
protected static function convertArrayToString( $array, $breakMode, $level = 1 )
	{
		$list = array();
		foreach( $array as $key => $value )
		{
			$string	= self::convertArgumentToString( $value, $breakMode, $level+1 );
			$list[]	= $key.":".$string;
		}
		$block	= implode( ", ", $list );
		if( $breakMode == 2 )
		{
			$level	= str_repeat( "&nbsp;", 3 * $level );
			$indent	= str_repeat( "&nbsp;", 3 );
			$list	= implode( ",<br/>".$level.$indent.$indent.$indent.$indent, $list );
			$block	= "<br/>".$level.$indent.$indent.$indent.$indent.$list."<br/>".$level.$indent.$indent.$indent;
		}
		if( $breakMode == 3 )
		{
			$block	= self::blockquote( implode( ',<br/>', $list ) );
		}
		return '{'.$block.'}';
	}
protected static function convertArrayToString ( $ array , $ breakMode , $ level = 1 ) { $ list = array ( ) ; foreach ( $ array as $ key => $ value ) { $ string = self :: convertArgumentToString ( $ value , $ breakMode , $ level + 1 ) ; $ list [ ] = $ key . ":" . $ string ; } $ block = implode ( ", " , $ list ) ; if ( $ breakMode == 2 ) { $ level = str_repeat ( "&nbsp;" , 3 * $ level ) ; $ indent = str_repeat ( "&nbsp;" , 3 ) ; $ list = implode ( ",<br/>" . $ level . $ indent . $ indent . $ indent . $ indent , $ list ) ; $ block = "<br/>" . $ level . $ indent . $ indent . $ indent . $ indent . $ list . "<br/>" . $ level . $ indent . $ indent . $ indent ; } if ( $ breakMode == 3 ) { $ block = self :: blockquote ( implode ( ',<br/>' , $ list ) ) ; } return '{' . $ block . '}' ; }
Converts Array to String.
@access		protected
@static
@param		array		$array			Array to convert to String
@return		string
Converts Array to String .