XBRL-Instance.php
public function getComponentDimensions( $component )
	{
		$result = array();

		if ( isset( $component['explicitMember'] ) )
			$dimensions = $component['explicitMember'];
		else if ( isset( $component['typedMember'] ) )
			$dimensions = $component['typedMember'];
		else return $result;

		foreach (  $dimensions as $dimension )
		{
			$result[ $dimension['dimension'] ] = $dimension['member'];
		}

		return $result;
	}
public function getComponentDimensions( $component )
	{
		$result = array();

		if ( isset( $component['explicitMember'] ) )
			$dimensions = $component['explicitMember'];
		else if ( isset( $component['typedMember'] ) )
			$dimensions = $component['typedMember'];
		else return $result;

		foreach (  $dimensions as $dimension )
		{
			$result[ $dimension['dimension'] ] = $dimension['member'];
		}

		return $result;
	}
public function getComponentDimensions ( $ component ) { $ result = array ( ) ; if ( isset ( $ component [ 'explicitMember' ] ) ) $ dimensions = $ component [ 'explicitMember' ] ; else if ( isset ( $ component [ 'typedMember' ] ) ) $ dimensions = $ component [ 'typedMember' ] ; else return $ result ; foreach ( $ dimensions as $ dimension ) { $ result [ $ dimension [ 'dimension' ] ] = $ dimension [ 'member' ] ; } return $ result ; }
Get a list of the dimensions and associated member for a scenario or segment context component
@param array $component
@return array
Get a list of the dimensions and associated member for a scenario or segment context component