Changeset 20507 for branches/version-2_5-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php
- Timestamp:
- 2011/03/04 23:24:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php
r20503 r20507 324 324 */ 325 325 function registerProductClass($arrList, $product_id) { 326 $objQuery =& SC_Query ::getSingletonInstance();326 $objQuery =& SC_Query_Ex::getSingletonInstance(); 327 327 $objDb = new SC_Helper_DB_Ex(); 328 328 … … 601 601 */ 602 602 function doDelete($product_id) { 603 $objQuery =& SC_Query ::getSingletonInstance();603 $objQuery =& SC_Query_Ex::getSingletonInstance(); 604 604 605 605 $objQuery->begin(); … … 630 630 */ 631 631 function getAllClassCategory($class_id1, $class_id2 = null) { 632 $objQuery =& SC_Query ::getSingletonInstance();632 $objQuery =& SC_Query_Ex::getSingletonInstance(); 633 633 634 634 $col = "T1.class_id AS class_id1, " … … 666 666 */ 667 667 function getProductName($product_id) { 668 $objQuery =& SC_Query ::getSingletonInstance();668 $objQuery =& SC_Query_Ex::getSingletonInstance(); 669 669 return $objQuery->getOne("SELECT name FROM dtb_products WHERE product_id = ?", array($product_id)); 670 670 } … … 722 722 */ 723 723 function getProductsClass($product_id) { 724 $objQuery =& SC_Query ::getSingletonInstance();724 $objQuery =& SC_Query_Ex::getSingletonInstance(); 725 725 $col = "product_id, product_code, price01, price02, stock, stock_unlimited, point_rate"; 726 726 return $objQuery->getRow($col, "dtb_products_class", "product_id = ?", array($product_id));
Note: See TracChangeset
for help on using the changeset viewer.