Ticket #17 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Named Event Arguments

Reported by: tobias382 Owned by: tobias382
Priority: normal Component: core
Version: 1.5 Severity: normal
Keywords: Cc:

Description

If Phergie_Event_Request::getArgument() receives a non-numeric string, it should check for an internal associative equivalent of the existing enumerated arguments array. If one does not exist, it should be created. The associative indexes used and argument values with which they are associated will depend on the event type. Once the array exists, the argument value corresponding to the string value received by getArgument() should be returned if it exists.

Change History

Changed 5 years ago by tobias382

call could return these values for corresponding method calls. Ex: For a JOIN event, getChannels() would return the first argument.

Changed 5 years ago by tobias382

  • status changed from new to closed
  • resolution set to fixed

(In [83]) Fixes #17 * Added named argument support to the request event class

Note: See TracTickets for help on using tickets.