Habari\AtomHandler::act_collection PHP Method

act_collection() public method

Handle incoming requests for Atom entry collections
public act_collection ( )
    public function act_collection()
    {
        Utils::check_request_method(array('GET', 'HEAD', 'POST'));
        switch ($_SERVER['REQUEST_METHOD']) {
            case 'GET':
            case 'HEAD':
                $this->get_collection();
                break;
            case 'POST':
                $this->post_collection();
                break;
        }
    }