fm_get_parameter
mixed fm_get_parameter ( string $name
)
Description
Allows you to get a parameter passed to a PHPx function.
Parameters
name
(required)
The name of the parameter to get.
Return
Returns the parameter value or NULL if the named parameter doesn’t exist. The parameter value will be converted to the matching PHP type (see fm_evaluate for more info on type conversion).
Errors
There are no errors for this function.
Example 1 - Concatenate 3 strings
$url = fm_get_parameter('url'); echo $url; /* Returns: The value passed into the PHPx function in the url parameter. */
Change Log
Version | Description |
---|---|
3.0.0 | Return values are converted to the matching PHP type. |
3.0.0 | Function now supports containers. |