function action($arg) { if ($this->debug) { dmp(__FUNCTION__, $this->current_filter()); } $args = func_get_args(); $this->events[] = array('action' => __FUNCTION__, 'tag' => $this->current_filter(), 'args' => $args); return $arg; }