Formulas/Resources/Variables/VariableSet.php
public function getParametersAsVars( $vars = array() )
	{
		foreach ( $this->parameters as $qname => $parameter )
		{
			$vars[ $qname ] = $parameter->result;
		}

		return $vars;
	}
public function getParametersAsVars( $vars = array() )
	{
		foreach ( $this->parameters as $qname => $parameter )
		{
			$vars[ $qname ] = $parameter->result;
		}

		return $vars;
	}
public function getParametersAsVars ( $ vars = array ( ) ) { foreach ( $ this -> parameters as $ qname => $ parameter ) { $ vars [ $ qname ] = $ parameter -> result ; } return $ vars ; }
Return an array of parameter values
@param array $vars (optional) An array of existing vars
@return array
Return an array of parameter values