Habari\AtomHandler::act_entry PHP Method

act_entry() public method

function act_entry 'index' should be 'slug'
public act_entry ( )
    public function act_entry()
    {
        Utils::check_request_method(array('GET', 'HEAD', 'POST', 'PUT', 'DELETE'));
        switch ($_SERVER['REQUEST_METHOD']) {
            case 'GET':
            case 'HEAD':
            case 'POST':
                $this->get_entry($this->handler_vars['slug']);
                break;
            case 'PUT':
                $this->put_entry($this->handler_vars['slug']);
                break;
            case 'DELETE':
                $this->delete_entry($this->handler_vars['slug']);
                break;
        }
    }