XBRL.php
public function getAllLinkbaseRoleTypes()
	{
		// Gather all role types
		return array_reduce( $this->context->importedSchemas, function( $carry, /** @var XBRL $taxonomy */ &$taxonomy )
		{
			$lrts = $taxonomy->getLinkbaseRoleTypes();

			foreach ( $lrts as $linkbase => $definition )
			{
				if ( isset( $carry[ $linkbase ] ) )
				{
					$carry = array_merge( $carry[ $linkbase ], $definition );
				}
				else
				{
					$carry[ $linkbase ] = $definition;
				}
			}

			return $carry;

		}, array() );
	}
public function getAllLinkbaseRoleTypes()
	{
		// Gather all role types
		return array_reduce( $this->context->importedSchemas, function( $carry, /** @var XBRL $taxonomy */ &$taxonomy )
		{
			$lrts = $taxonomy->getLinkbaseRoleTypes();

			foreach ( $lrts as $linkbase => $definition )
			{
				if ( isset( $carry[ $linkbase ] ) )
				{
					$carry = array_merge( $carry[ $linkbase ], $definition );
				}
				else
				{
					$carry[ $linkbase ] = $definition;
				}
			}

			return $carry;

		}, array() );
	}
public function getAllLinkbaseRoleTypes ( ) { // Gather all role types
 return array_reduce ( $ this -> context -> importedSchemas , function ( $ carry , /** @var XBRL $taxonomy */ & $ taxonomy ) { $ lrts = $ taxonomy -> getLinkbaseRoleTypes ( ) ; foreach ( $ lrts as $ linkbase => $ definition ) { if ( isset ( $ carry [ $ linkbase ] ) ) { $ carry = array_merge ( $ carry [ $ linkbase ] , $ definition ) ; } else { $ carry [ $ linkbase ] = $ definition ; } } return $ carry ; } , array ( ) ) ; }
Retrieve an array of linkbase role types across all taxonomies

@return array
Retrieve an array of linkbase role types across all taxonomies