source/Application/Model/Wrapping.php
public function getWrappingList($sWrapType)
    {
        // load wrapping
        $oEntries = oxNew(\OxidEsales\Eshop\Core\Model\ListModel::class);
        $oEntries->init('oxwrapping');
        $sWrappingViewName = getViewName('oxwrapping');
        $sSelect = "select * from $sWrappingViewName where $sWrappingViewName.oxactive = '1' and $sWrappingViewName.oxtype = " . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($sWrapType);
        $oEntries->selectString($sSelect);

        return $oEntries;
    }
public function getWrappingList($sWrapType)
    {
        // load wrapping
        $oEntries = oxNew(\OxidEsales\Eshop\Core\Model\ListModel::class);
        $oEntries->init('oxwrapping');
        $sWrappingViewName = getViewName('oxwrapping');
        $sSelect = "select * from $sWrappingViewName where $sWrappingViewName.oxactive = '1' and $sWrappingViewName.oxtype = " . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($sWrapType);
        $oEntries->selectString($sSelect);

        return $oEntries;
    }
public function getWrappingList ( $ sWrapType ) { // load wrapping $ oEntries = oxNew ( \ OxidEsales \ Eshop \ Core \ Model \ ListModel :: class ) ; $ oEntries -> init ( 'oxwrapping' ) ; $ sWrappingViewName = getViewName ( 'oxwrapping' ) ; $ sSelect = "select * from $sWrappingViewName where $sWrappingViewName.oxactive = '1' and $sWrappingViewName.oxtype = " . \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> quote ( $ sWrapType ) ; $ oEntries -> selectString ( $ sSelect ) ; return $ oEntries ; }
Loads wrapping list for specific wrap type

@param string $sWrapType wrap type

@return array $oEntries wrapping list
Loads wrapping list for specific wrap type