src/XML/DOM/Storage.php
protected function setRecursive( $path, $value, &$array )
	{
		if( substr_count( $path, "." ) )
		{
			$parts	= explode( ".", $path );
			$step	= array_shift( $parts );
			$path	= implode( ".", $parts );
			return $this->setRecursive( $path, $value, $array[$step] );
		}
		else if( !(isset( $array[$path] ) && $array[$path] == $value ) )
		{
			$array[$path] = $value;
			return true;
		}
		return false;
	}
protected function setRecursive( $path, $value, &$array )
	{
		if( substr_count( $path, "." ) )
		{
			$parts	= explode( ".", $path );
			$step	= array_shift( $parts );
			$path	= implode( ".", $parts );
			return $this->setRecursive( $path, $value, $array[$step] );
		}
		else if( !(isset( $array[$path] ) && $array[$path] == $value ) )
		{
			$array[$path] = $value;
			return true;
		}
		return false;
	}
protected function setRecursive ( $ path , $ value , & $ array ) { if ( substr_count ( $ path , "." ) ) { $ parts = explode ( "." , $ path ) ; $ step = array_shift ( $ parts ) ; $ path = implode ( "." , $ parts ) ; return $ this -> setRecursive ( $ path , $ value , $ array [ $ step ] ) ; } else if ( ! ( isset ( $ array [ $ path ] ) && $ array [ $ path ] == $ value ) ) { $ array [ $ path ] = $ value ; return true ; } return false ; }
Recursive sets a Value in the Storage by its Path.
@access		protected
@param		string		$path			Path to value
@param		mixed		$value			Value to set at Path
@param		array		$array			Current Array in Storage
@return 	bool
Recursive sets a Value in the Storage by its Path .