src/FS/File/PHP/Parser/Array.php
private function overwriteCodeDataWithDocData( &$codeData, $docData )
	{
		foreach( $docData as $key => $value )
		{
			if( !$value )
				continue;
			if( is_string( $value ) )
			{
				if( isset( $codeData[$key] ) && is_array( $codeData[$key] ) )
					$codeData[$key][]	= $value;
				else if( isset( $codeData[$key] ) && !$codeData[$key] )
					$codeData[$key]	= $value;
			}
			else if( isset( $codeData[$key] ) )
			{
				foreach( $value as $itemKey	=> $itemValue )
				{
					if( is_string( $itemValue ) )
					{
						if( is_string( $itemKey ) )
							$codeData[$key][$itemKey]	= $itemValue;
						else if( is_int( $itemKey ) && !in_array( $itemValue, $codeData[$key] ) )
							$codeData[$key][]	= $itemValue;
					}
					else if( is_string( $itemKey ) && isset( $codeData[$key][$itemKey] ) )
					{
						foreach( $itemValue as $itemItemKey => $itemItemValue )
							if( !isset( $codeData[$key][$itemKey][$itemItemKey] ) )
								$codeData[$key][$itemKey][$itemItemKey]	= $itemItemValue;
					}
					else if( $key != "param" )
					{
						foreach( $itemValue as $itemItemKey => $itemItemValue )
							if( !isset( $codeData[$key][$itemKey][$itemItemKey] ) )
								$codeData[$key][$itemKey][$itemItemKey]	= $itemItemValue;
					}
				}
			}
		}
	}
private function overwriteCodeDataWithDocData( &$codeData, $docData )
	{
		foreach( $docData as $key => $value )
		{
			if( !$value )
				continue;
			if( is_string( $value ) )
			{
				if( isset( $codeData[$key] ) && is_array( $codeData[$key] ) )
					$codeData[$key][]	= $value;
				else if( isset( $codeData[$key] ) && !$codeData[$key] )
					$codeData[$key]	= $value;
			}
			else if( isset( $codeData[$key] ) )
			{
				foreach( $value as $itemKey	=> $itemValue )
				{
					if( is_string( $itemValue ) )
					{
						if( is_string( $itemKey ) )
							$codeData[$key][$itemKey]	= $itemValue;
						else if( is_int( $itemKey ) && !in_array( $itemValue, $codeData[$key] ) )
							$codeData[$key][]	= $itemValue;
					}
					else if( is_string( $itemKey ) && isset( $codeData[$key][$itemKey] ) )
					{
						foreach( $itemValue as $itemItemKey => $itemItemValue )
							if( !isset( $codeData[$key][$itemKey][$itemItemKey] ) )
								$codeData[$key][$itemKey][$itemItemKey]	= $itemItemValue;
					}
					else if( $key != "param" )
					{
						foreach( $itemValue as $itemItemKey => $itemItemValue )
							if( !isset( $codeData[$key][$itemKey][$itemItemKey] ) )
								$codeData[$key][$itemKey][$itemItemKey]	= $itemItemValue;
					}
				}
			}
		}
	}
private function overwriteCodeDataWithDocData ( & $ codeData , $ docData ) { foreach ( $ docData as $ key => $ value ) { if ( ! $ value ) continue ; if ( is_string ( $ value ) ) { if ( isset ( $ codeData [ $ key ] ) && is_array ( $ codeData [ $ key ] ) ) $ codeData [ $ key ] [ ] = $ value ; else if ( isset ( $ codeData [ $ key ] ) && ! $ codeData [ $ key ] ) $ codeData [ $ key ] = $ value ; } else if ( isset ( $ codeData [ $ key ] ) ) { foreach ( $ value as $ itemKey => $ itemValue ) { if ( is_string ( $ itemValue ) ) { if ( is_string ( $ itemKey ) ) $ codeData [ $ key ] [ $ itemKey ] = $ itemValue ; else if ( is_int ( $ itemKey ) && ! in_array ( $ itemValue , $ codeData [ $ key ] ) ) $ codeData [ $ key ] [ ] = $ itemValue ; } else if ( is_string ( $ itemKey ) && isset ( $ codeData [ $ key ] [ $ itemKey ] ) ) { foreach ( $ itemValue as $ itemItemKey => $ itemItemValue ) if ( ! isset ( $ codeData [ $ key ] [ $ itemKey ] [ $ itemItemKey ] ) ) $ codeData [ $ key ] [ $ itemKey ] [ $ itemItemKey ] = $ itemItemValue ; } else if ( $ key != "param" ) { foreach ( $ itemValue as $ itemItemKey => $ itemItemValue ) if ( ! isset ( $ codeData [ $ key ] [ $ itemKey ] [ $ itemItemKey ] ) ) $ codeData [ $ key ] [ $ itemKey ] [ $ itemItemKey ] = $ itemItemValue ; } } } } }
Appends all collected Documentation Information to already collected Code Information.
@access		private
@param		array		$codeData		Data collected by parsing Code
@param		string		$docData		Data collected by parsing Documentation
@return		void
Appends all collected Documentation Information to already collected Code Information .