opget_args/3—retrieve the argument list of an operation of an event
The opget_args/3
function retrieves the argument list of an operation of an event. The syntax for this function is as follows:
$ARGS=opget_args($EVENT,$SEQNR)
opget_args/3 arguments
Argument | Mode | Type | Description |
---|---|---|---|
| Input | OBJECT | Specifies the event for which to retrieve an operation |
| Input | INTEGER | Specifies the sequence number of the desired operation |
| Output | STRING | Arguments for the operation action |
Use the opget_args/3
function to obtain the argument list of operation $SEQNR
that is attached to event $EVENT
and return the value in $ARGS
.
Operations are numbered, starting from 1 for the oldest operation. The most recent operation can be obtained by indicating 0 as the sequence number $SEQNR
.
opget_args/3 example
$ARGS=opget_args($E,0);
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.