XBRL-US-GAAP-2015.php
public function getTaxonomyDescriptionForId( $href, $roles = null, $lang = null, $extendedLinkRole = null )
	{
		$result = parent::getTaxonomyDescriptionForId( $href, $roles, $lang, $extendedLinkRole );
		if ( ! $result )
		{
			// Swap the labels with those of the base taxonomy
			if ( parent::swapLabelsFromBackup() )
			{
				// Try looking for the label
				$result = parent::getTaxonomyDescriptionForId( $href, $roles, $lang );

				// Swap the labels back
				parent::swapLabelsFromBackup();
			}

			// Last resort
			if ( ! $result && $this->getBaseTaxonomy() !== null )
			{
				// Swap the labels with those of the base taxonomy
				if ( parent::swapLabelsFromBackup() )
				{
					// Try looking for the label
					$result = parent::getTaxonomyDescriptionForId( $this->getBaseTaxonomy() . '#' . $href, $roles, $lang );

					// Swap the labels back
					parent::swapLabelsFromBackup();
				}
			}

		}

		return $result;
	}
public function getTaxonomyDescriptionForId( $href, $roles = null, $lang = null, $extendedLinkRole = null )
	{
		$result = parent::getTaxonomyDescriptionForId( $href, $roles, $lang, $extendedLinkRole );
		if ( ! $result )
		{
			// Swap the labels with those of the base taxonomy
			if ( parent::swapLabelsFromBackup() )
			{
				// Try looking for the label
				$result = parent::getTaxonomyDescriptionForId( $href, $roles, $lang );

				// Swap the labels back
				parent::swapLabelsFromBackup();
			}

			// Last resort
			if ( ! $result && $this->getBaseTaxonomy() !== null )
			{
				// Swap the labels with those of the base taxonomy
				if ( parent::swapLabelsFromBackup() )
				{
					// Try looking for the label
					$result = parent::getTaxonomyDescriptionForId( $this->getBaseTaxonomy() . '#' . $href, $roles, $lang );

					// Swap the labels back
					parent::swapLabelsFromBackup();
				}
			}

		}

		return $result;
	}
public function getTaxonomyDescriptionForId ( $ href , $ roles = null , $ lang = null , $ extendedLinkRole = null ) { $ result = parent :: getTaxonomyDescriptionForId ( $ href , $ roles , $ lang , $ extendedLinkRole ) ; if ( ! $ result ) { // Swap the labels with those of the base taxonomy
 if ( parent :: swapLabelsFromBackup ( ) ) { // Try looking for the label
 $ result = parent :: getTaxonomyDescriptionForId ( $ href , $ roles , $ lang ) ; // Swap the labels back
 parent :: swapLabelsFromBackup ( ) ; } // Last resort
 if ( ! $ result && $ this -> getBaseTaxonomy ( ) !== null ) { // Swap the labels with those of the base taxonomy
 if ( parent :: swapLabelsFromBackup ( ) ) { // Try looking for the label
 $ result = parent :: getTaxonomyDescriptionForId ( $ this -> getBaseTaxonomy ( ) . '#' . $ href , $ roles , $ lang ) ; // Swap the labels back
 parent :: swapLabelsFromBackup ( ) ; } } } return $ result ; }
Returns a description for an element identified by href
@param string $href  The id of the element for which a description is to be retrieved.  If only the fragment is provided, its assumed to be from the current taxonomy.
@param null|array[string] (optional) $roles If true include the element text in the result.  If the argument is an array it will be an array of preferred labels.
@param null|string $lang (optional) a language locale
@param string $extendedLinkRole (optional) The ELR to apply when calling the parent getTaxonomyDescriptionForId
@return bool|string A description string or false
Returns a description for an element identified by href