DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:events

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:events [2014-02-18 01:56]
ChrisS [Registering to Receive an Event] link PHP_INT_MAX to php.net reference
devel:events [2014-05-06 19:51] (current)
Klap-in [Registering to Receive an Event]
Line 52: Line 52:
   * ''$method'' //function//, event handler function. More info at the [[Event handlers]] page.   * ''$method'' //function//, event handler function. More info at the [[Event handlers]] page.
   * ''$param'' //mixed// (optional), the data to be passed to the event handler. Default null.   * ''$param'' //mixed// (optional), the data to be passed to the event handler. Default null.
-  * ''$seq'' //int// (optional), %%[%%[[develonly]]%%]%% sequence number used to control the order in which hooks are executed. Hooks are executed in ascending $seq order.  If two or more hooks have the same $seq value, their order (relative to each other) is undefined. Hooks can use ''-PHP_INT_MAX'' or ''[[http://www.php.net/manual/en/reserved.constants.php#constant.php-int-max|PHP_INT_MAX]]'', in an attempt to be first or last. Be aware that these values provide no guarantee of being first/last as more than one plugin can use them.+  * ''$seq'' //int// (optional), sequence number used to control the order in which hooks are executed. Hooks are executed in ascending $seq order.  If two or more hooks have the same $seq value, their order (relative to each other) is undefined. Hooks can use ''-PHP_INT_MAX'' or ''[[http://www.php.net/manual/en/reserved.constants.php#constant.php-int-max|PHP_INT_MAX]]'', in an attempt to be first or last. Be aware that these values provide no guarantee of being first/last as more than one plugin can use them.
 ===== Signalling an Event ===== ===== Signalling an Event =====
  
devel/events.txt ยท Last modified: 2014-05-06 19:51 by Klap-in