Formulas/Resources/Variables/FactVariable.php
private function getComponentForPath( $path, $context )
	{
		foreach ( $path as $element )
		{
			if ( ! $context ) continue;
			if ( ! isset( $context[ $element ] ) )
			{
				$context = array();
				continue;
			}
			$context = $context[ $element ];
		}

		return $context;
	}
private function getComponentForPath( $path, $context )
	{
		foreach ( $path as $element )
		{
			if ( ! $context ) continue;
			if ( ! isset( $context[ $element ] ) )
			{
				$context = array();
				continue;
			}
			$context = $context[ $element ];
		}

		return $context;
	}
private function getComponentForPath ( $ path , $ context ) { foreach ( $ path as $ element ) { if ( ! $ context ) continue ; if ( ! isset ( $ context [ $ element ] ) ) { $ context = array ( ) ; continue ; } $ context = $ context [ $ element ] ; } return $ context ; }
Get the components for the path requested
@param array $path
@param array $context
@return array
Get the components for the path requested