Dietcube\Controller::isPost PHP Method

isPost() protected method

protected isPost ( )
    protected function isPost()
    {
        if (stripos($this->container['global.server']->get('REQUEST_METHOD'), 'post') === 0) {
            return true;
        }
        return false;
    }