XBRL-Instance.php
public function getContextDimensions( $context )
	{
		if ( isset( $context['entity']['segment'] ) )
			return $this->getComponentDimensions( $context['entity']['segment'] );
		elseif ( isset( $context['segment'] ) )
			return $this->getComponentDimensions( $context['segment'] );
		elseif ( isset( $context['entity']['scenario'] ) )
			return $this->getComponentDimensions( $context['entity']['scenario'] );
		elseif ( isset( $context['scenario'] ) )
			return $this->getComponentDimensions( $context['scenario'] );
		else
			return array();
	}
public function getContextDimensions( $context )
	{
		if ( isset( $context['entity']['segment'] ) )
			return $this->getComponentDimensions( $context['entity']['segment'] );
		elseif ( isset( $context['segment'] ) )
			return $this->getComponentDimensions( $context['segment'] );
		elseif ( isset( $context['entity']['scenario'] ) )
			return $this->getComponentDimensions( $context['entity']['scenario'] );
		elseif ( isset( $context['scenario'] ) )
			return $this->getComponentDimensions( $context['scenario'] );
		else
			return array();
	}
public function getContextDimensions ( $ context ) { if ( isset ( $ context [ 'entity' ] [ 'segment' ] ) ) return $ this -> getComponentDimensions ( $ context [ 'entity' ] [ 'segment' ] ) ; elseif ( isset ( $ context [ 'segment' ] ) ) return $ this -> getComponentDimensions ( $ context [ 'segment' ] ) ; elseif ( isset ( $ context [ 'entity' ] [ 'scenario' ] ) ) return $ this -> getComponentDimensions ( $ context [ 'entity' ] [ 'scenario' ] ) ; elseif ( isset ( $ context [ 'scenario' ] ) ) return $ this -> getComponentDimensions ( $ context [ 'scenario' ] ) ; else return array ( ) ; }
Get a list of the dimensions and associated member for a context
@param array $context
@return array
Get a list of the dimensions and associated member for a context