XBRL-Formulas.php
private function addNamespaces( $additionalNamespaces )
	{
		// Load any additional namespaces
		foreach ( $additionalNamespaces as $namespaces )
		{
			if ( is_null( $namespaces ) || ! is_array( $namespaces ) )
			{
				continue;
			}

			foreach ( $namespaces as $prefix => $namespace )
			{
				if ( empty( $prefix ) ) continue;
				$this->nsMgr->addNamespace( $prefix, $namespace );
			}
		}
	}
private function addNamespaces( $additionalNamespaces )
	{
		// Load any additional namespaces
		foreach ( $additionalNamespaces as $namespaces )
		{
			if ( is_null( $namespaces ) || ! is_array( $namespaces ) )
			{
				continue;
			}

			foreach ( $namespaces as $prefix => $namespace )
			{
				if ( empty( $prefix ) ) continue;
				$this->nsMgr->addNamespace( $prefix, $namespace );
			}
		}
	}
private function addNamespaces ( $ additionalNamespaces ) { // Load any additional namespaces
 foreach ( $ additionalNamespaces as $ namespaces ) { if ( is_null ( $ namespaces ) || ! is_array ( $ namespaces ) ) { continue ; } foreach ( $ namespaces as $ prefix => $ namespace ) { if ( empty ( $ prefix ) ) continue ; $ this -> nsMgr -> addNamespace ( $ prefix , $ namespace ) ; } } }
Creates a namespace manager for a formula processor
@param array $additionalNamespaces An array of namespace arrays (which is an array of namespaces indexed by prefix)
Creates a namespace manager for a formula processor