Get the reqeust object
@return Zend_Controller_Request_Abstract
484140
private function _request()
    {
        if ($this->_request) {
            return $this->_request;
        }
        $this->_request = Zend_Controller_Front::getInstance()->getRequest();
        return $this->_request;
    }
822336
public function getRequest()
    {
        $storeId      = $this->context->getStoreId();
        $aggregations = $this->getAggregations();
        $searchQuery  = $this->getSearchQuery();

        return $this->searchRequestBuilder->create($storeId, $this->containerName, 0, 0, null, [], [], $searchQuery, $aggregations);
    }
1351880
protected function getRequest()
    {
        if (version_compare(Kernel::VERSION, '2.4', '<=')) {
            return $this->container->get('request');
        }

        return $this->container->get('request_stack')->getMasterRequest();
    }
734398
private function getController()
    {
        if (empty($this->controllerName)) {
            return null;
        }

        if (isset($this->controller)) {
            return $this->controller;
        }

        $this->controller = $this->createControllerFromClassName($this->controllerName);

        return $this->controller;
    }
600157
public function getRequest()
    {
        if ($this->request === null) {
            $this->request = oxNew(\OxidEsales\PayPalModule\Model\PayPalRequest\PayPalRequest::class);
        }

        return $this->request;
    }
1236852
public function getHref()
        {
            if ($this->_hrefCache) {
                return $this->_hrefCache;
            }

            if (null === self::$_urlHelper) {
                self::$_urlHelper = \Zend_Controller_Action_HelperBroker::getStaticHelper('Url');
            }

            $params = $this->getParams();

            if ($param = $this->getModule()) {
                $params['module'] = $param;
            }

            if ($param = $this->getController()) {
                $params['controller'] = $param;
            }

            if ($param = $this->getAction()) {
                $params['action'] = $param;
            }

            $url = self::$_urlHelper->url(
                $params,
                $this->getRoute(),
                $this->getResetParams(),
                $this->getEncodeUrl()
            );

            // Use scheme?
            $scheme = $this->getScheme();
            if (null !== $scheme) {
                if (null === self::$_schemeHelper) {
                    self::$_schemeHelper = new \Zend_View_Helper_ServerUrl();
                }

                $url = self::$_schemeHelper->setScheme($scheme)->serverUrl($url);
            }

            // Add the fragment identifier if it is set
            $fragment = $this->getFragment();
            if (null !== $fragment) {
                $url .= '#' . $fragment;
            }

            return $this->_hrefCache = $url;
        }
776705
public function getPayPalRequest()
    {
        if ($this->payPalRequest === null) {
            $this->payPalRequest = oxNew(\OxidEsales\PayPalModule\Core\Request::class);
        }

        return $this->payPalRequest;
    }
419478
protected function _getCurrentStateFromRequest() {
        $here = Zend_Controller_Front::getInstance()->getRequest()->getRequestUri();
        $queryString = parse_url($here, PHP_URL_QUERY);
        parse_str($queryString, $queryComponents);      
        if (!empty($queryComponents[Garp_Browsebox::BROWSEBOX_QUERY_IDENTIFIER][$this->getId()])) {
            $chunk = $queryComponents[Garp_Browsebox::BROWSEBOX_QUERY_IDENTIFIER][$this->getId()];          
            return $chunk;
        }
        return null;
    }
660136
public function getRequest()
    {
        if ($this->hasRequest() === false) {
            // Try to get request from container.
            $this->setRequest($this->getContainer()->get('request_stack')->getCurrentRequest());
        }

        if ($this->hasRequest() === false) {
            throw new \RuntimeException("Sorry, the request is not available in this context");
        }

        return $this->request;
    }
1203266
private function getService()
    {
        if ($this->myService === null) {
            $curlOptions = [
                'url'          => $this->serviceUrl,
                'sslCert'      => $this->clientCertPath,
                'sslKey'       => $this->clientKeyPath,
                'sslKeyPasswd' => $this->clientKeyPassPhrase,
                'caInfo'       => $this->serverCert
            ];
            $this->myService = new OrderService($curlOptions, $this->apiUser, $this->apiPass, $this->debug);
        }

        return $this->myService;
    }
1233846
public function getRequest()
    {
        if (null == $this->request) {
            $this->setRequest(Application::container()->get('request'));
        }
        return $this->request;
    }
64282
public function getPanel()
    {
        $request = Zend_Controller_Front::getInstance()->getRequest();
        $module = $request->getModuleName();
        if ('default' !== $module) {
            $module = " ($module module)";
        } else {
            $module = '';
        }
        $controller = $request->getControllerName();
        $action = $request->getActionName();

        $panel = "<h4>Event log for {$controller}Controller->{$action}Action() {$module}</h4>";
        $panel .= '<table cellpadding="0" cellspacing="0">'.implode('', $this->_writer->getMessages()).'</table>';
        return $panel;
    }
743961
public static function getCurrentAction()
    {
        $request = Request::instance();
        return $request->module() . '/' . $request->controller() . '/' . $request->action();
    }
749990
public function getRequest(){
        if($this->httpCore != NULL){
            return $this->httpCore->httpRequest;
        }else{
            return $this->cronCore->cronRequest;
        }
    }
520252
private function getRequestedRole()
    {
        $uri = $_SERVER['REQUEST_URI'];

        if( $this->root != '/' && substr( $uri, 0, strlen($this->root) ) === $this->root )
        {
            $uri = substr( $uri, strlen( $this->root ) );
        }

        $questionMarkPosition = strpos( $uri, '?' );
        if( $questionMarkPosition !== false )
        {
            $uri = substr( $uri, 0, $questionMarkPosition );
        }

        return $uri;
    }
1353684
protected function getService()
    {
        if (!$this->service) {
            $this->service = $this->getContainer()->get(static::CONTROLLER_ENTITY_NAME . "_service");
        }

        return $this->service;
    }
501243
public function getCurrentRequestMethod()
    {
        if ($this->requestStack->getCurrentRequest() instanceof Request) {
            return $this->requestStack->getCurrentRequest()->getMethod();
        }
        return null;
    }