src/php/main/Eix/Services/Data/Responders/CollectionManager.php
private function getIndexRedirectionResponse()
    {
        $response = new Redirection($this->getRequest());
        $url = sprintf('/%s/', $this->getCollectionName());
        // If a particular view was being shown, honour it.
        $view = $this->getRequest()->getParameter('view');
        if (!empty($view)) {
            $url .= '?view=' . $view;
        }
        $response->setNextUrl($url);

        return $response;
    }
private function getIndexRedirectionResponse()
    {
        $response = new Redirection($this->getRequest());
        $url = sprintf('/%s/', $this->getCollectionName());
        // If a particular view was being shown, honour it.
        $view = $this->getRequest()->getParameter('view');
        if (!empty($view)) {
            $url .= '?view=' . $view;
        }
        $response->setNextUrl($url);

        return $response;
    }
private function getIndexRedirectionResponse ( ) { $ response = new Redirection ( $ this -> getRequest ( ) ) ; $ url = sprintf ( '/%s/' , $ this -> getCollectionName ( ) ) ; // If a particular view was being shown, honour it. $ view = $ this -> getRequest ( ) -> getParameter ( 'view' ) ; if ( ! empty ( $ view ) ) { $ url .= '?view=' . $ view ; } $ response -> setNextUrl ( $ url ) ; return $ response ; }
Gets a redirection to the collection's index page, honouring the current
view.
Gets a redirection to the collection s index page honouring the current view .