XBRL-Instance.php
private function normalizePrefix( $localPrefix )
	{
		if ( $localPrefix == 'xml' )
			return $localPrefix;
		$namespace = $this->getInstanceNamespaces()[ $localPrefix ];
		$taxonomy = $this->getInstanceTaxonomy()->getTaxonomyForNamespace( $namespace );
		return $taxonomy
			? $taxonomy->getPrefix()
			: $localPrefix;
	}
private function normalizePrefix( $localPrefix )
	{
		if ( $localPrefix == 'xml' )
			return $localPrefix;
		$namespace = $this->getInstanceNamespaces()[ $localPrefix ];
		$taxonomy = $this->getInstanceTaxonomy()->getTaxonomyForNamespace( $namespace );
		return $taxonomy
			? $taxonomy->getPrefix()
			: $localPrefix;
	}
private function normalizePrefix ( $ localPrefix ) { if ( $ localPrefix == 'xml' ) return $ localPrefix ; $ namespace = $ this -> getInstanceNamespaces ( ) [ $ localPrefix ] ; $ taxonomy = $ this -> getInstanceTaxonomy ( ) -> getTaxonomyForNamespace ( $ namespace ) ; return $ taxonomy ? $ taxonomy -> getPrefix ( ) : $ localPrefix ; }
Return the schema prefix corresponding to the prefix used locally
@param string $localPrefix
@return string The updated prefix or the local one if there is no schema
Return the schema prefix corresponding to the prefix used locally