[ Index ]
 

Code source de osCommerce 2.2ms2-060817

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/catalog/admin/includes/classes/ -> payment_module_info.php (source)

   1  <?php
   2    class paymentModuleInfo {
   3      var $payment_code, $keys;
   4  
   5  // class constructor
   6      function paymentModuleInfo($pmInfo_array) {
   7        $this->payment_code = $pmInfo_array['payment_code'];
   8  
   9        for ($i = 0, $n = sizeof($pmInfo_array) - 1; $i < $n; $i++) {
  10          $key_value_query = tep_db_query("select configuration_title, configuration_value, configuration_description from " . TABLE_CONFIGURATION . " where configuration_key = '" . $pmInfo_array[$i] . "'");
  11          $key_value = tep_db_fetch_array($key_value_query);
  12  
  13          $this->keys[$pmInfo_array[$i]]['title'] = $key_value['configuration_title'];
  14          $this->keys[$pmInfo_array[$i]]['value'] = $key_value['configuration_value'];
  15          $this->keys[$pmInfo_array[$i]]['description'] = $key_value['configuration_description'];
  16        }
  17      }
  18    }
  19  ?>


Généré le : Mon Nov 26 19:48:25 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics