History log of /dokuwiki/inc/Extension/Event.php (Results 1 – 9 of 9)
Revision Date Author Comments
# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# fe15e2c0 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: static visibility


# 1490c177 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to inc/Extension and inc/Debug


# 0ecde6ce 13-Aug-2020 Andreas Gohr <andi@splitbrain.org>

central logging mechanism

This introduces a logger mechanism and a new data/log directory. This is
a first proof of concept. It's built on top of the new global error
handling mechanism

Things to d

central logging mechanism

This introduces a logger mechanism and a new data/log directory. This is
a first proof of concept. It's built on top of the new global error
handling mechanism

Things to discuss:

* should we adopt PSR-3 somehow? if yes, how and should plugins be able
to drop-in other psr3 loggers?
* how to configure which facilities shall be logged?
* should we implement a log deletion feature?
* is the log format sensible?
* should we implement a log viewer admin plugin?
* should logging trigger events (it should maybe replace the
deprecation event)

show more ...


# 4352f974 22-Jan-2020 Andreas Gohr <gohr@cosmocode.de>

Better callable support in Event default actions

Instead of parsing the passed callback ourselves, this patch relies on
call_user_func_array() instead to call an Event's default action. This
ensures

Better callable support in Event default actions

Instead of parsing the passed callback ourselves, this patch relies on
call_user_func_array() instead to call an Event's default action. This
ensures all possible ways to define a callback (including static
methods) can be used.

This should fix a problem mentioned in #2943

show more ...


# 091ad7bd 22-Apr-2019 Andreas Gohr <andi@splitbrain.org>

Fix snake->camel case, doc blocks

For compatibility reasons, the methods have not been renamed.


# 89614c82 20-Jul-2018 Andreas Gohr <andi@splitbrain.org>

Avoid processing events before the Event System is intiialized


# cbb44eab 15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

deprecated trigger_event() in favor of a static method on Event


# e1d9dcc8 15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

First go at moving the plugin classes into their own namespace