models/oxpspaymorrowoxbasket.php
protected function _getDefaultCostsSummary( $iLineItem )
    {
        /** @var OxpsPaymorrowOxBasket|oxBasket $this */

        $aCostItems = array();

        $aCosts = (array) $this->getCosts();

        foreach ( $aCosts as $sCost => $oPrice ) {
            $aItemData = (array) $this->_validateCostPriceAndGetItsData( $oPrice, $iLineItem, $sCost );

            if ( !empty( $aItemData ) ) {
                $aCostItems = array_merge( $aCostItems, $aItemData );
                $iLineItem++;
            }
        }

        return array($aCostItems, $iLineItem);
    }
protected function _getDefaultCostsSummary( $iLineItem )
    {
        /** @var OxpsPaymorrowOxBasket|oxBasket $this */

        $aCostItems = array();

        $aCosts = (array) $this->getCosts();

        foreach ( $aCosts as $sCost => $oPrice ) {
            $aItemData = (array) $this->_validateCostPriceAndGetItsData( $oPrice, $iLineItem, $sCost );

            if ( !empty( $aItemData ) ) {
                $aCostItems = array_merge( $aCostItems, $aItemData );
                $iLineItem++;
            }
        }

        return array($aCostItems, $iLineItem);
    }
protected function _getDefaultCostsSummary ( $ iLineItem ) { /** @var OxpsPaymorrowOxBasket|oxBasket $this */ $ aCostItems = array ( ) ; $ aCosts = ( array ) $ this -> getCosts ( ) ; foreach ( $ aCosts as $ sCost => $ oPrice ) { $ aItemData = ( array ) $ this -> _validateCostPriceAndGetItsData ( $ oPrice , $ iLineItem , $ sCost ) ; if ( ! empty ( $ aItemData ) ) { $ aCostItems = array_merge ( $ aCostItems , $ aItemData ) ; $ iLineItem ++ ; } } return array ( $ aCostItems , $ iLineItem ) ; }
Load default shop costs and extract lite items summary.

@param int $iLineItem

@return array Mixed array with line items array as first element and new line count as second element.
Load default shop costs and extract lite items summary .