src/ShopBundle/objects/db/TShopArticle.class.php
public function GetBasePrice()
    {
        $dBasePrice = $this->GetFromInternalCache('dBasePrice');
        if (is_null($dBasePrice)) {
            $dBasePrice = false;
            $oUnitsOfMeasurement = $this->GetFieldShopUnitOfMeasurement();
            if ($oUnitsOfMeasurement) {
                $dBasePrice = $oUnitsOfMeasurement->GetBasePrice($this->dPrice, $this->fieldQuantityInUnits);
            }
            $this->SetInternalCache('dBasePrice', $dBasePrice);
        }

        return $dBasePrice;
    }
public function GetBasePrice()
    {
        $dBasePrice = $this->GetFromInternalCache('dBasePrice');
        if (is_null($dBasePrice)) {
            $dBasePrice = false;
            $oUnitsOfMeasurement = $this->GetFieldShopUnitOfMeasurement();
            if ($oUnitsOfMeasurement) {
                $dBasePrice = $oUnitsOfMeasurement->GetBasePrice($this->dPrice, $this->fieldQuantityInUnits);
            }
            $this->SetInternalCache('dBasePrice', $dBasePrice);
        }

        return $dBasePrice;
    }
public function GetBasePrice ( ) { $ dBasePrice = $ this -> GetFromInternalCache ( 'dBasePrice' ) ; if ( is_null ( $ dBasePrice ) ) { $ dBasePrice = false ; $ oUnitsOfMeasurement = $ this -> GetFieldShopUnitOfMeasurement ( ) ; if ( $ oUnitsOfMeasurement ) { $ dBasePrice = $ oUnitsOfMeasurement -> GetBasePrice ( $ this -> dPrice , $ this -> fieldQuantityInUnits ) ; } $ this -> SetInternalCache ( 'dBasePrice' , $ dBasePrice ) ; } return $ dBasePrice ; }
return the base price for 1 base unit as defined through the shop_unit_of_measurement and quantity_in_units.

@return float|bool
return the base price for 1 base unit as defined through the shop_unit_of_measurement and quantity_in_units .