XBRL.php
public function fixupDefinitionRoles()
	{
		$roles = $this->getAllDefinitionRoles( true );

		return;

		// BMS 2017-04-05 This is no longer necessary because hierarchies are not used in definitions
		foreach ( $this->definitionRoleRefs as $roleKey => $refs )
		{
			// BMS 2015-03-04
			$home_taxonomy = $this->getTaxonomyForXSD( $refs['href'] );
			// $home_taxonomy = $this;
			if ( ! isset( $home_taxonomy->definitionRoleRefs[ $roleKey ] ) ||
				 ! isset( $home_taxonomy->definitionRoleRefs[ $roleKey ]['hierarchy'] )) continue;

			$home_taxonomy->definitionRoleRefs[ $roleKey ]['paths'] = $home_taxonomy->createHierarchyPaths( $home_taxonomy->definitionRoleRefs[ $roleKey ]['hierarchy'] );
		}
	}
public function fixupDefinitionRoles()
	{
		$roles = $this->getAllDefinitionRoles( true );

		return;

		// BMS 2017-04-05 This is no longer necessary because hierarchies are not used in definitions
		foreach ( $this->definitionRoleRefs as $roleKey => $refs )
		{
			// BMS 2015-03-04
			$home_taxonomy = $this->getTaxonomyForXSD( $refs['href'] );
			// $home_taxonomy = $this;
			if ( ! isset( $home_taxonomy->definitionRoleRefs[ $roleKey ] ) ||
				 ! isset( $home_taxonomy->definitionRoleRefs[ $roleKey ]['hierarchy'] )) continue;

			$home_taxonomy->definitionRoleRefs[ $roleKey ]['paths'] = $home_taxonomy->createHierarchyPaths( $home_taxonomy->definitionRoleRefs[ $roleKey ]['hierarchy'] );
		}
	}
public function fixupDefinitionRoles ( ) { $ roles = $ this -> getAllDefinitionRoles ( true ) ; return ; // BMS 2017-04-05 This is no longer necessary because hierarchies are not used in definitions
 foreach ( $ this -> definitionRoleRefs as $ roleKey => $ refs ) { // BMS 2015-03-04
 $ home_taxonomy = $ this -> getTaxonomyForXSD ( $ refs [ 'href' ] ) ; // $home_taxonomy = $this;
 if ( ! isset ( $ home_taxonomy -> definitionRoleRefs [ $ roleKey ] ) || ! isset ( $ home_taxonomy -> definitionRoleRefs [ $ roleKey ] [ 'hierarchy' ] ) ) continue ; $ home_taxonomy -> definitionRoleRefs [ $ roleKey ] [ 'paths' ] = $ home_taxonomy -> createHierarchyPaths ( $ home_taxonomy -> definitionRoleRefs [ $ roleKey ] [ 'hierarchy' ] ) ; } }
Create an index of paths for each definition role
@return void
Create an index of paths for each definition role