Ejemplo n.º 1
0
 function initQuery($params)
 {
     $id = $params['id'];
     $tables = Shipping_Cost_Calculator::getTables();
     $c = $tables['scc_fs_rules']['columns'];
     $this->addSelectField($c['prods'], 'prods');
     $this->addSelectField($c['cats'], 'cats');
     $this->WhereValue($c['id'], DB_EQ, $id);
 }
 /**
  * Uninstalls the module.
  */
 function uninstall()
 {
     $query = new DB_Table_Delete(Shipping_Cost_Calculator::getTables());
     global $application;
     $application->db->getDB_Result($query);
 }