Habari\AtomHandler::act_entry_comments PHP Method

act_entry_comments() public method

Handle incoming requests for the Atom entry collection for comments on an entry
public act_entry_comments ( )
    function act_entry_comments()
    {
        Utils::check_request_method(array('GET', 'HEAD', 'POST'));
        if (isset($this->handler_vars['slug'])) {
            $this->act_comments(array('slug' => $this->handler_vars['slug']));
        } else {
            $this->act_comments(array('id' => $this->handler_vars['id']));
        }
    }