src/ShopBundle/objects/db/TShopVatList.class.php
public function GetTotalValue()
    {
        $dVal = 0;
        $iPointer = $this->getItemPointer();
        $this->GoToStart();
        while ($oItem = &$this->Next()) {
            $dVal += $oItem->getTotalValue();
        }
        $this->setItemPointer($iPointer);

        return $dVal;
    }
public function GetTotalValue()
    {
        $dVal = 0;
        $iPointer = $this->getItemPointer();
        $this->GoToStart();
        while ($oItem = &$this->Next()) {
            $dVal += $oItem->getTotalValue();
        }
        $this->setItemPointer($iPointer);

        return $dVal;
    }
public function GetTotalValue ( ) { $ dVal = 0 ; $ iPointer = $ this -> getItemPointer ( ) ; $ this -> GoToStart ( ) ; while ( $ oItem = & $ this -> Next ( ) ) { $ dVal += $ oItem -> getTotalValue ( ) ; } $ this -> setItemPointer ( $ iPointer ) ; return $ dVal ; }
get the total gross value for the current group.

@return float
get the total gross value for the current group .