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...") |
(No difference)
|
Revision as of 19:18, 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.
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