XBRL-Package.php
public function loadTaxonomy( $compiledPath = null )
	{
		if ( $this->isExtensionTaxonomy() )
		{
			return XBRL::loadExtensionXSD( $this->schemaFile, $this->getXBRLClassname(), $this->schemaNamespace, $compiledPath );
		}
		else
		{
			if ( $this->isCompiled( $compiledPath, $this->getSchemaFileBasename() ) )
			{
				return XBRL::load_taxonomy(
					"$compiledPath/" . $this->getSchemaFileBasename(".json"),
					false
				);
			}

			return XBRL::withTaxonomy( $this->schemaFile );
		}
	}
public function loadTaxonomy( $compiledPath = null )
	{
		if ( $this->isExtensionTaxonomy() )
		{
			return XBRL::loadExtensionXSD( $this->schemaFile, $this->getXBRLClassname(), $this->schemaNamespace, $compiledPath );
		}
		else
		{
			if ( $this->isCompiled( $compiledPath, $this->getSchemaFileBasename() ) )
			{
				return XBRL::load_taxonomy(
					"$compiledPath/" . $this->getSchemaFileBasename(".json"),
					false
				);
			}

			return XBRL::withTaxonomy( $this->schemaFile );
		}
	}
public function loadTaxonomy ( $ compiledPath = null ) { if ( $ this -> isExtensionTaxonomy ( ) ) { return XBRL :: loadExtensionXSD ( $ this -> schemaFile , $ this -> getXBRLClassname ( ) , $ this -> schemaNamespace , $ compiledPath ) ; } else { if ( $ this -> isCompiled ( $ compiledPath , $ this -> getSchemaFileBasename ( ) ) ) { return XBRL :: load_taxonomy ( "$compiledPath/" . $ this -> getSchemaFileBasename ( ".json" ) , false ) ; } return XBRL :: withTaxonomy ( $ this -> schemaFile ) ; } }
Load the taxonomy associated with this package
@param string $compiledPath
@return boolean|XBRL
Load the taxonomy associated with this package