Formulas/Resources/Variables/FactVariable.php
private function getFactComponents( $variableSet, $fact )
	{
		// Lookup the contextRef and unitRef
		$contextRef = FactValues::getContextRef( $fact );
		$unitRef = FactValues::getUnitRef( $fact );

		return array(
			'contextRef' => $contextRef,
			'unitRef' => $unitRef,
		);
	}
private function getFactComponents( $variableSet, $fact )
	{
		// Lookup the contextRef and unitRef
		$contextRef = FactValues::getContextRef( $fact );
		$unitRef = FactValues::getUnitRef( $fact );

		return array(
			'contextRef' => $contextRef,
			'unitRef' => $unitRef,
		);
	}
private function getFactComponents ( $ variableSet , $ fact ) { // Lookup the contextRef and unitRef
 $ contextRef = FactValues :: getContextRef ( $ fact ) ; $ unitRef = FactValues :: getUnitRef ( $ fact ) ; return array ( 'contextRef' => $ contextRef , 'unitRef' => $ unitRef , ) ; }
Returns the unit and context for the fact as an array indexed by 'context' and 'unit' respectively
@param Formula $variableSet
@param DOMXPathNavigator $fact
return array
Returns the unit and context for the fact as an array indexed by context and unit respectively