controllers/admin/oxpspaymorrowpaymentmap.php
public function getPaymorrowEditValue()
    {
        $sOXID = $this->getPaymentObjectId();

        if ( $sOXID != "-1" && isset( $sOXID ) ) {

            /** @var oxPayment $oPayment */
            $oPayment = oxNew( "oxPayment" );
            $oPayment->loadInLang( $this->_iEditLang, $sOXID );

            $oOtherLang = $oPayment->getAvailableInLangs();
            if ( !isset( $oOtherLang[$this->_iEditLang] ) ) {

                $oPayment->loadInLang( key( $oOtherLang ), $sOXID );
            }

            return $oPayment;
        }

        return null;
    }
public function getPaymorrowEditValue()
    {
        $sOXID = $this->getPaymentObjectId();

        if ( $sOXID != "-1" && isset( $sOXID ) ) {

            /** @var oxPayment $oPayment */
            $oPayment = oxNew( "oxPayment" );
            $oPayment->loadInLang( $this->_iEditLang, $sOXID );

            $oOtherLang = $oPayment->getAvailableInLangs();
            if ( !isset( $oOtherLang[$this->_iEditLang] ) ) {

                $oPayment->loadInLang( key( $oOtherLang ), $sOXID );
            }

            return $oPayment;
        }

        return null;
    }
public function getPaymorrowEditValue ( ) { $ sOXID = $ this -> getPaymentObjectId ( ) ; if ( $ sOXID != "-1" && isset ( $ sOXID ) ) { /** @var oxPayment $oPayment */ $ oPayment = oxNew ( "oxPayment" ) ; $ oPayment -> loadInLang ( $ this -> _iEditLang , $ sOXID ) ; $ oOtherLang = $ oPayment -> getAvailableInLangs ( ) ; if ( ! isset ( $ oOtherLang [ $ this -> _iEditLang ] ) ) { $ oPayment -> loadInLang ( key ( $ oOtherLang ) , $ sOXID ) ; } return $ oPayment ; } return null ; }
Get current edited payment object.

@return null|oxPayment
Get current edited payment object .