source/Core/Email.php
public function getOrderFileList($orderId)
    {
        $orderFileList = oxNew(OrderFileList::class);
        $orderFileList->loadOrderFiles($orderId);

        if (count($orderFileList) > 0) {
            return $orderFileList;
        }

        return false;
    }
public function getOrderFileList($orderId)
    {
        $orderFileList = oxNew(OrderFileList::class);
        $orderFileList->loadOrderFiles($orderId);

        if (count($orderFileList) > 0) {
            return $orderFileList;
        }

        return false;
    }
public function getOrderFileList ( $ orderId ) { $ orderFileList = oxNew ( OrderFileList :: class ) ; $ orderFileList -> loadOrderFiles ( $ orderId ) ; if ( count ( $ orderFileList ) > 0 ) { return $ orderFileList ; } return false ; }
Get order files

@param string $orderId order id

@return bool|OrderFileList
Get order files