[ Index ]
osCommerce Docs :: PHP Cross Reference For osCommerce 2.2 MS2
Provided By OSCdox.com

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

[Summary view]

   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  ?>


Generated: Tue Nov 4 23:53:39 2003
Hosted By :: AABox.com
Cross-referenced by PHPXref 0.4