src/UI/DevOutput.php
public function printArray( $array, $offset = 0, $key = NULL, $sign = NULL, $factor = NULL )
	{
		if( is_array( $array ) )
		{
			extract( self::$channels[$this->channel] );
			$space = $this->indentSign( $offset, $sign, $factor );
			if( $key !== NULL )
				echo $space."[A] ".$key.$lineBreak;
			foreach( $array as $key => $value )
			{
				if( is_array( $value ) && count( $value ) )
					$this->printArray( $value, $offset + 1, $key, $sign, $factor );
				else
					$this->printMixed( $value, $offset + 1, $key, $sign, $factor );
			}
		}
		else
			$this->printMixed( $array, $offset, $key, $sign, $factor );
	}
public function printArray( $array, $offset = 0, $key = NULL, $sign = NULL, $factor = NULL )
	{
		if( is_array( $array ) )
		{
			extract( self::$channels[$this->channel] );
			$space = $this->indentSign( $offset, $sign, $factor );
			if( $key !== NULL )
				echo $space."[A] ".$key.$lineBreak;
			foreach( $array as $key => $value )
			{
				if( is_array( $value ) && count( $value ) )
					$this->printArray( $value, $offset + 1, $key, $sign, $factor );
				else
					$this->printMixed( $value, $offset + 1, $key, $sign, $factor );
			}
		}
		else
			$this->printMixed( $array, $offset, $key, $sign, $factor );
	}
public function printArray ( $ array , $ offset = 0 , $ key = NULL , $ sign = NULL , $ factor = NULL ) { if ( is_array ( $ array ) ) { extract ( self :: $ channels [ $ this -> channel ] ) ; $ space = $ this -> indentSign ( $ offset , $ sign , $ factor ) ; if ( $ key !== NULL ) echo $ space . "[A] " . $ key . $ lineBreak ; foreach ( $ array as $ key => $ value ) { if ( is_array ( $ value ) && count ( $ value ) ) $ this -> printArray ( $ value , $ offset + 1 , $ key , $ sign , $ factor ) ; else $ this -> printMixed ( $ value , $ offset + 1 , $ key , $ sign , $ factor ) ; } } else $ this -> printMixed ( $ array , $ offset , $ key , $ sign , $ factor ) ; }
Prints out an Array.
@access		public
@param		array		$array		Array variable to print out
@param		int			$offset		Intent Offset Level
@param		string		$key		Element Key Name
@param		string		$sign		Space Sign
@param		int			$factor		Space Factor
@return		void
Prints out an Array .