當前位置: 首頁>>代碼示例>>PHP>>正文


PHP currencies::psm_price方法代碼示例

本文整理匯總了PHP中currencies::psm_price方法的典型用法代碼示例。如果您正苦於以下問題:PHP currencies::psm_price方法的具體用法?PHP currencies::psm_price怎麽用?PHP currencies::psm_price使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在currencies的用法示例。


在下文中一共展示了currencies::psm_price方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: while

                           ON p.manufacturers_id = m.manufacturers_id LEFT JOIN
                             " . $oostable['products_description'] . " pd
                           ON p.products_id = pd.products_id AND
                            pd.products_languages_id = '1' LEFT JOIN
                             " . $oostable['specials'] . " s
                           ON p.products_id = s.products_id
                         WHERE
                           (p.products_status >= '1' or p.products_status <= '4')
                         ORDER BY
                            p.products_date_added DESC,
                            pd.products_name";
        $products_result = $dbconn->Execute($products_sql);
        while ($products = $products_result->fields) {
          if ( (!empty($products['products_name'])) && (!empty($products['products_image'])) && (!empty($products['products_model'])) && (!empty($products['products_description'])) ) {
            if (isset($products['specials_new_products_price'])) {
              $products_price =  $currencies->psm_price($products['specials_new_products_price'], oos_get_tax_rate($products['products_tax_class_id']));
            } else {
              $products_price =  $currencies->psm_price($products['products_price'], oos_get_tax_rate($products['products_tax_class_id']));
            }
            switch ($products['products_status']) {
              case '1':
              case '2':
                $products_status = 'nicht verfgbar';
                break;

              case '3':
              case '4':
                $products_status = '3 Tage';
              break;
            }
            $products_description = strip_tags($products['products_description']);
開發者ID:BackupTheBerlios,項目名稱:oos-svn,代碼行數:31,代碼來源:export_psm.php


注:本文中的currencies::psm_price方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。