XBRL.php
private function equivalenceHash( $elementName, $linkName, $linkRole, $fromHref, $toHref, $order = 1, $weight = null, $preferredLabel = null )
	{
		if ( ! is_numeric( $order ) ) $order = null;
		if ( ! is_numeric( $weight ) ) $weight = null;

		return hash( "sha256", "$elementName-$linkName-$linkRole-$fromHref-$toHref-$order-$weight-$preferredLabel" );
	}
private function equivalenceHash( $elementName, $linkName, $linkRole, $fromHref, $toHref, $order = 1, $weight = null, $preferredLabel = null )
	{
		if ( ! is_numeric( $order ) ) $order = null;
		if ( ! is_numeric( $weight ) ) $weight = null;

		return hash( "sha256", "$elementName-$linkName-$linkRole-$fromHref-$toHref-$order-$weight-$preferredLabel" );
	}
private function equivalenceHash ( $ elementName , $ linkName , $ linkRole , $ fromHref , $ toHref , $ order = 1 , $ weight = null , $ preferredLabel = null ) { if ( ! is_numeric ( $ order ) ) $ order = null ; if ( ! is_numeric ( $ weight ) ) $ weight = null ; return hash ( "sha256" , "$elementName-$linkName-$linkRole-$fromHref-$toHref-$order-$weight-$preferredLabel" ) ; }
Create a hash for an arc

@param string $elementName		eg labelArc
@param string $linkName			eg labelLink
@param string $linkRole			eg http://www.xbrl.org/2003/role/link
@param string $fromHref			The Href
@param string $toHref			The Href
@param number $order				eg 2 defaults to 1
@param number $weight			eg 2 defaults to null
@param string $preferredLabel	defaults to null
@return string
Create a hash for an arc