XBRL.php
public function getTaxonomyForPrefix( $prefix )
	{
		if ( ! $prefix ) return null;

		$taxonomies = array_filter(
			$this->getImportedSchemas(),
			function( $taxonomy ) use( $prefix ) { return $taxonomy->getPrefix() == $prefix; }
		);
		if ( ! $taxonomies ) return null;
		return reset( $taxonomies );
	}
public function getTaxonomyForPrefix( $prefix )
	{
		if ( ! $prefix ) return null;

		$taxonomies = array_filter(
			$this->getImportedSchemas(),
			function( $taxonomy ) use( $prefix ) { return $taxonomy->getPrefix() == $prefix; }
		);
		if ( ! $taxonomies ) return null;
		return reset( $taxonomies );
	}
public function getTaxonomyForPrefix ( $ prefix ) { if ( ! $ prefix ) return null ; $ taxonomies = array_filter ( $ this -> getImportedSchemas ( ) , function ( $ taxonomy ) use ( $ prefix ) { return $ taxonomy -> getPrefix ( ) == $ prefix ; } ) ; if ( ! $ taxonomies ) return null ; return reset ( $ taxonomies ) ; }
Get the taxonomy for the prefix.  Taxonomies have unique prefixes.
@param string $prefix
@return XBRL
Get the taxonomy for the prefix . Taxonomies have unique prefixes .