Index

(dispatcher)

o2dispatch_activate

boolean o2dispatch_activate(integer $id, boolean $preserve)

Executes activation program for dispatch with requested ID.
Usually a message is removed from dispatcher when activated: if you want to preserve it from being removed pass the parameter $preserve as TRUE.
Returns TRUE on success, FALSE on fail.


Parameters:
  1. $id
  2. Dispatch ID to check
  3. $preserve
  4. Preserve dispatch from being removed