XBRL-Equality.php
public static function xequalAttributeType( $types, $localName, $prefix )
	{
		$attribute = $types->getAttribute( $localName, $prefix );
		if ( ! $attribute || ! isset( $attribute['types'] ) || ! count( $attribute['types'] ) ) return XBRL_Equality::$EQUALITY_TYPE_STRING;

		return XBRL_Equality::xEqualComparisonType( array( 'type' => $attribute['types'][0] ), $types);
	}
public static function xequalAttributeType( $types, $localName, $prefix )
	{
		$attribute = $types->getAttribute( $localName, $prefix );
		if ( ! $attribute || ! isset( $attribute['types'] ) || ! count( $attribute['types'] ) ) return XBRL_Equality::$EQUALITY_TYPE_STRING;

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