Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [12-2007 Date Index] [Date Next] || [Thread Prev] [12-2007 Thread Index] [Thread Next]

[dokuwiki] Doku Event and Hooks

  • From: Danjer <Danjer@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 18 Dec 2007 16:56:05 +0100
Hi all,

I have a small question about events and trigger's action. Why the action's data is not accessible from the event's hook ?

By example with somethings like this in inc/events.php :

function process_event(&$event,$advise='') {

   ...
       if (is_null($obj)) {
//        $method($event, $param);
         $method($event, $param, $this->data);
       } else {
//          $obj->$method($event, $param);
         $obj->$method($event, $param, $this->data);
       }
   ...
 }


I just look for a way to read theses data from the event's hook.

Best Regards,
Danjer
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.