Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 694 Bytes

geteventparameter.adoc

File metadata and controls

36 lines (29 loc) · 694 Bytes

GetEventParameter()

Important

Deprecated in 5.0.

Please use getParameter method in [class-event].

GetEventParameter(event, parameterName) => String

Get value of event’s named parameter.

Table 1. Parameters

event

[class-event]

Event object, you can use predefined variable $event to refer to current event.

parameterName

String

Parameter’s name.

Return

String value of requested parameter or null if no such parameter exist.

Example
GetEventParameter($event, "ifName")	// "eth0"
GetEventParameter($event, "bad_name")	// NULL