src/ShopBundle/objects/WebModules/MTShopOrderHistory.class.php
protected function showDetail(TdbShopOrder $oOrder)
    {
        $oGlobal = TGlobal::instance();

        return true === $oGlobal->UserDataExists($this->getActiveOrderParameter()) && $oOrder->fieldOrdernumber == $oGlobal->GetUserData($this->getActiveOrderParameter());
    }
protected function showDetail(TdbShopOrder $oOrder)
    {
        $oGlobal = TGlobal::instance();

        return true === $oGlobal->UserDataExists($this->getActiveOrderParameter()) && $oOrder->fieldOrdernumber == $oGlobal->GetUserData($this->getActiveOrderParameter());
    }
protected function showDetail ( TdbShopOrder $ oOrder ) { $ oGlobal = TGlobal :: instance ( ) ; return true === $ oGlobal -> UserDataExists ( $ this -> getActiveOrderParameter ( ) ) && $ oOrder -> fieldOrdernumber == $ oGlobal -> GetUserData ( $ this -> getActiveOrderParameter ( ) ) ; }
returns true if order number of given order is equal to the parameter in the url.

@param TdbShopOrder $oOrder

@return bool
returns true if order number of given order is equal to the parameter in the url .