function uninstall()
 {
     $query = new DB_Table_Delete(Product_Options::getTables());
 }
예제 #2
0
 function initQuery($params)
 {
     $tables = Product_Options::getTables();
     $value = $tables['po_options']['columns'];
     $option_id = $params['option_id'];
     $this->addSelectTable('po_options');
     $this->addSelectField($value['option_id'], 'option_id');
     $this->WhereValue($value['entity_id'], DB_EQ, $params['entity_id']);
     $this->WhereAND();
     $this->WhereValue($value['option_name'], DB_EQ, $params['option_name']);
 }
예제 #3
0
 function initQuery($params)
 {
     $tables = Product_Options::getTables();
     $settings = $tables['po_settings']['columns'];
     $this->addSelectTable('po_settings');
     $this->addSelectField('*');
     $this->WhereValue($settings['parent_entity'], DB_EQ, $params['parent_entity']);
     $this->WhereAND();
     $this->WhereValue($settings['entity_id'], DB_EQ, $params['entity_id']);
 }