fm_get_defined_variables
array fm_get_defined_variables ( void
)
Description
Allows you to get the variables that have been set using fm_set_variable (with the exception of hidden variables that have been prefixed with double underscores “__”).
Parameters
There are no parameters for this function.
Return
Returns an array of the defined variables. An empty array will be returned if there are no defined variables.
Errors
There are no errors for this function.
Example 1 - Get defined variables
fm_set_variable('foo', 'bar'); fm_set_variable('bar', 'foo'); print_r(fm_get_defined_variables()); /* Returns: Array ( [foo] => bar [bar] => foo ) */