src/ShopBundle/objects/db/TShopArticleList.class.php
public function HandleURLRequest($sRequest, $bCheckIdentKey = false)
    {
        $bAllowRequest = true;
        if ($bCheckIdentKey) {
            $currentListKey = $this->GetListIdentKey();
            $oGlobal = TGlobal::instance();
            $callingIdentKey = $oGlobal->GetUserData(TdbShopArticleList::URL_LIST_KEY_NAME);
            if ($callingIdentKey != $currentListKey) {
                $bAllowRequest = false;
            }
        }

        if ($bAllowRequest) {
            switch ($sRequest) {
                case 'NextPage':
                    $this->SetPagingInfoNextPage();
                    break;
                case 'PreviousPage':
                    $this->SetPagingInfoPreviousPage();
                    break;
                case 'GoToPage':
                    $oGlobal = TGlobal::instance();
                    $iRequestStartPage = $oGlobal->GetUserData(TdbShopArticleList::URL_LIST_CURRENT_PAGE);
                    $this->JumpToPage($iRequestStartPage);
                    break;

                default:
                    break;
            }
        }
        $this->StoreListObjectInSession();
    }
public function HandleURLRequest($sRequest, $bCheckIdentKey = false)
    {
        $bAllowRequest = true;
        if ($bCheckIdentKey) {
            $currentListKey = $this->GetListIdentKey();
            $oGlobal = TGlobal::instance();
            $callingIdentKey = $oGlobal->GetUserData(TdbShopArticleList::URL_LIST_KEY_NAME);
            if ($callingIdentKey != $currentListKey) {
                $bAllowRequest = false;
            }
        }

        if ($bAllowRequest) {
            switch ($sRequest) {
                case 'NextPage':
                    $this->SetPagingInfoNextPage();
                    break;
                case 'PreviousPage':
                    $this->SetPagingInfoPreviousPage();
                    break;
                case 'GoToPage':
                    $oGlobal = TGlobal::instance();
                    $iRequestStartPage = $oGlobal->GetUserData(TdbShopArticleList::URL_LIST_CURRENT_PAGE);
                    $this->JumpToPage($iRequestStartPage);
                    break;

                default:
                    break;
            }
        }
        $this->StoreListObjectInSession();
    }
public function HandleURLRequest ( $ sRequest , $ bCheckIdentKey = false ) { $ bAllowRequest = true ; if ( $ bCheckIdentKey ) { $ currentListKey = $ this -> GetListIdentKey ( ) ; $ oGlobal = TGlobal :: instance ( ) ; $ callingIdentKey = $ oGlobal -> GetUserData ( TdbShopArticleList :: URL_LIST_KEY_NAME ) ; if ( $ callingIdentKey != $ currentListKey ) { $ bAllowRequest = false ; } } if ( $ bAllowRequest ) { switch ( $ sRequest ) { case 'NextPage' : $ this -> SetPagingInfoNextPage ( ) ; break ; case 'PreviousPage' : $ this -> SetPagingInfoPreviousPage ( ) ; break ; case 'GoToPage' : $ oGlobal = TGlobal :: instance ( ) ; $ iRequestStartPage = $ oGlobal -> GetUserData ( TdbShopArticleList :: URL_LIST_CURRENT_PAGE ) ; $ this -> JumpToPage ( $ iRequestStartPage ) ; break ; default : break ; } } $ this -> StoreListObjectInSession ( ) ; }
process any request made for this item.

@param string $sRequest
@param bool   $bCheckIdentKey
process any request made for this item .