Example #1
0
 function initQuery($params)
 {
     $tables = Extension_Manager::getTables();
     $excolumns = $tables['marketplace_ext_data']['columns'];
     //$this->addSelectTable('marketplace_ext_data');
     $this->addSelectField($excolumns['id']);
     $this->addSelectField($excolumns['display_name']);
     $this->addSelectField($excolumns['name']);
     $this->addSelectField($excolumns['desc']);
     $this->addSelectField($excolumns['link']);
     $this->addSelectField($excolumns['price']);
     $this->addSelectField($excolumns['image']);
     $this->addSelectField($excolumns['category']);
     $this->addSelectField($excolumns['type']);
     $this->addSelectField($excolumns['latestversion']);
     $this->addSelectField($excolumns['latestcompatibleversion']);
     $this->addSelectField($excolumns['file']);
 }
 function uninstall()
 {
     $query = new DB_Table_Delete(Extension_Manager::getTables());
     global $application;
     $application->db->getDB_Result($query);
 }