4 Registration of shutdown-functions via $ewiki_plugins["shutdown"][],
5 where each entry is either a function name or funcname + fixed args.
9 function ewiki_shutdown() {
10 global $ewiki_plugins, $ewiki_id, $ewiki_data, $ewiki_action;
12 if ($pf_a = $ewiki_plugins["shutdown"]) {
13 foreach ($pf_a as $pf) {
18 $pf = array_shift($args);
22 $pf($ewiki_id, $ewiki_data, $ewiki_action, $args);
27 register_shutdown_function("ewiki_shutdown");