XBRL-Equality.php
private static function xequalElementType( $types, $localName, $prefix )
	{
		$element = $types->getElement( $localName, $prefix );
		if ( ! $element || ! isset( $element['types'] ) || ! count( $element['types'] ) ) return XBRL_Equality::$EQUALITY_TYPE_STRING;

		return XBRL_Equality::xEqualComparisonType( array( 'type' => $element['types'][0] ), $types);
	}
private static function xequalElementType( $types, $localName, $prefix )
	{
		$element = $types->getElement( $localName, $prefix );
		if ( ! $element || ! isset( $element['types'] ) || ! count( $element['types'] ) ) return XBRL_Equality::$EQUALITY_TYPE_STRING;

		return XBRL_Equality::xEqualComparisonType( array( 'type' => $element['types'][0] ), $types);
	}
private static function xequalElementType ( $ types , $ localName , $ prefix ) { $ element = $ types -> getElement ( $ localName , $ prefix ) ; if ( ! $ element || ! isset ( $ element [ 'types' ] ) || ! count ( $ element [ 'types' ] ) ) return XBRL_Equality :: $ EQUALITY_TYPE_STRING ; return XBRL_Equality :: xEqualComparisonType ( array ( 'type' => $ element [ 'types' ] [ 0 ] ) , $ types ) ; }
Get the xequal comparison type an element
@param XBRL_Types $types
@param string $localName
@param string|null $prefix
@return number
Get the xequal comparison type an element