MockAction::filterall PHP Method

filterall() public method

public filterall ( $tag, $arg = null )
    function filterall($tag, $arg = null)
    {
        // this one doesn't return the result, so it's safe to use with the new 'all' filter
        if ($this->debug) {
            dmp(__FUNCTION__, $this->current_filter());
        }
        $args = func_get_args();
        $this->events[] = array('filter' => __FUNCTION__, 'tag' => $tag, 'args' => array_slice($args, 1));
    }