Esempio n. 1
0
 function initQuery($params)
 {
     $tables = Payment_Module_Offline_CC::getTables();
     $s = $tables["pm_offline_cc_settings"]['columns'];
     $this->addInsertValue($params['key'], $s["key"]);
     $this->addInsertValue($params['value'], $s["value"]);
 }
 /**
  * Uninstalls the module.
  * It deletes all module tables.
  *
  * The uninstall() method is called statically.
  * To call other methods of this class from this method,
  * the static call is used, for example,
  * Payment_Module_Offline_CC::getTables() instead of $this->getTables()
  */
 function uninstall()
 {
     $query = new DB_Table_Delete(Payment_Module_Offline_CC::getTables());
     global $application;
     $application->db->getDB_Result($query);
 }