Difference between revisions of "NXSL:GetEventParameter"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Get value of event's named parameter. Function returns requested parameter's value on success or NULL if given parameter does not exist. == Syntax == GetEventParame...") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Get value of event's named parameter. Function returns requested parameter's value on success or NULL if given parameter does not exist. | Get value of event's named parameter. Function returns requested parameter's value on success or NULL if given parameter does not exist. | ||
'''Since:''' 1.1.4 | |||
== Syntax == | == Syntax == |
Revision as of 19:24, 26 July 2012
Get value of event's named parameter. Function returns requested parameter's value on success or NULL if given parameter does not exist.
Since: 1.1.4
Syntax
GetEventParameter(event, parameterName)
Parameters
event | Event object, you can use predefined variable $event to refer to current event. |
parameterName | Parameter's name. |
Return Value
String value of named parameter or NULL if no such parameter exist.
Examples
GetNamedParameter($event, "ifName") -> "eth0" GetNamedParameter($event, "bad_name") -> NULL