Difference between revisions of "NXSL:PostEvent"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Post event on behalf of given node. == Syntax == PostEvent(''node'', ''event'', ''tag'', ...); == Parameters == :{| |- | ''node'' || Node object to send event ...") |
|||
Line 2: | Line 2: | ||
Post event on behalf of given node. | Post event on behalf of given node. | ||
'''Since:''' 1.0.8 | |||
== Syntax == | == Syntax == |
Revision as of 21:22, 26 July 2012
Post event on behalf of given node.
Since: 1.0.8
Syntax
PostEvent(node, event, tag, ...);
Parameters
node Node object to send event on behalf of. event Event code. tag User tag associated with event. Optional, can be leaved out or set to null. ... 0 or more event-specific parameters.
Return Value
TRUE if event was posted successfully or FALSE if not.
Examples
PostEvent($node, 100000) PostEvent($node, 100000, "my tag", "param1", "param2") PostEvent($node, 100000, null, "param1")