models/oxpspaymorrowoxbasket.php
protected function _validateCostPriceAndGetItsData( $mPrice, $iLineItem, $sCost )
    {
        if ( empty( $mPrice ) or !is_object( $mPrice ) or !$mPrice->getPrice() ) {
            return array();
        }

        return $aItemData = (array) $this->_getCostSummary( $iLineItem, $sCost, $mPrice );
    }
protected function _validateCostPriceAndGetItsData( $mPrice, $iLineItem, $sCost )
    {
        if ( empty( $mPrice ) or !is_object( $mPrice ) or !$mPrice->getPrice() ) {
            return array();
        }

        return $aItemData = (array) $this->_getCostSummary( $iLineItem, $sCost, $mPrice );
    }
protected function _validateCostPriceAndGetItsData ( $ mPrice , $ iLineItem , $ sCost ) { if ( empty ( $ mPrice ) or ! is_object ( $ mPrice ) or ! $ mPrice -> getPrice ( ) ) { return array ( ) ; } return $ aItemData = ( array ) $ this -> _getCostSummary ( $ iLineItem , $ sCost , $ mPrice ) ; }
Validate cost price and get cost line item data array for a valid cost.

@param null|oxPrice $mPrice
@param int          $iLineItem
@param string       $sCost

@return array
Validate cost price and get cost line item data array for a valid cost .