src/UI/DevOutput.php
public function printMixed( $mixed, $offset = 0, $key = NULL, $sign = NULL, $factor = NULL, $return = FALSE )
	{
		if( $return )
			ob_start();
		if( is_object( $mixed ) || gettype( $mixed ) == "object" )
			$this->printObject( $mixed, $offset, $key, $sign, $factor );
		else if( is_array( $mixed ) )
			$this->printArray( $mixed, $offset, $key, $sign, $factor );
		else if( is_string( $mixed ) )
			$this->printString( $mixed, $offset, $key, $sign, $factor );
		else if( is_int($mixed ) )
			$this->printInteger( $mixed, $offset, $key, $sign, $factor );
		else if( is_float($mixed ) )
			$this->printFloat( $mixed, $offset, $key, $sign, $factor );
		else if( is_double( $mixed ) )
			$this->printDouble( $mixed, $offset, $key, $sign, $factor );
		else if( is_resource( $mixed ) )
			$this->printResource( $mixed, $offset, $key, $sign, $factor );
		else if( is_bool($mixed ) )
			$this->printBoolean( $mixed, $offset, $key, $sign, $factor );
		else if( $mixed === NULL )
			$this->printNull( $mixed, $offset, $key, $sign, $factor );
		if( $return )
			return ob_get_clean();
	}
public function printMixed( $mixed, $offset = 0, $key = NULL, $sign = NULL, $factor = NULL, $return = FALSE )
	{
		if( $return )
			ob_start();
		if( is_object( $mixed ) || gettype( $mixed ) == "object" )
			$this->printObject( $mixed, $offset, $key, $sign, $factor );
		else if( is_array( $mixed ) )
			$this->printArray( $mixed, $offset, $key, $sign, $factor );
		else if( is_string( $mixed ) )
			$this->printString( $mixed, $offset, $key, $sign, $factor );
		else if( is_int($mixed ) )
			$this->printInteger( $mixed, $offset, $key, $sign, $factor );
		else if( is_float($mixed ) )
			$this->printFloat( $mixed, $offset, $key, $sign, $factor );
		else if( is_double( $mixed ) )
			$this->printDouble( $mixed, $offset, $key, $sign, $factor );
		else if( is_resource( $mixed ) )
			$this->printResource( $mixed, $offset, $key, $sign, $factor );
		else if( is_bool($mixed ) )
			$this->printBoolean( $mixed, $offset, $key, $sign, $factor );
		else if( $mixed === NULL )
			$this->printNull( $mixed, $offset, $key, $sign, $factor );
		if( $return )
			return ob_get_clean();
	}
public function printMixed ( $ mixed , $ offset = 0 , $ key = NULL , $ sign = NULL , $ factor = NULL , $ return = FALSE ) { if ( $ return ) ob_start ( ) ; if ( is_object ( $ mixed ) || gettype ( $ mixed ) == "object" ) $ this -> printObject ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; else if ( is_array ( $ mixed ) ) $ this -> printArray ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; else if ( is_string ( $ mixed ) ) $ this -> printString ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; else if ( is_int ( $ mixed ) ) $ this -> printInteger ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; else if ( is_float ( $ mixed ) ) $ this -> printFloat ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; else if ( is_double ( $ mixed ) ) $ this -> printDouble ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; else if ( is_resource ( $ mixed ) ) $ this -> printResource ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; else if ( is_bool ( $ mixed ) ) $ this -> printBoolean ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; else if ( $ mixed === NULL ) $ this -> printNull ( $ mixed , $ offset , $ key , $ sign , $ factor ) ; if ( $ return ) return ob_get_clean ( ) ; }
Prints out a variable by getting Type and using a suitable Method.
@access		public
@param		mixed		$mixed		variable of every kind 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
@param		boolean		$return		Flag: Return output instead of printing it
@return		void
Prints out a variable by getting Type and using a suitable Method .