public function HubView($icao = '') { $hubs = HubData::getHubs($icao); $this->set('hubs', $hubs); $this->render('hub/hubview.tpl'); }
public function delete_hub() { $hubid = $_GET[hubid]; HubData::delete_hub($hubid); $this->set('hub', HubData::get_hub()); $this->show('hub/hub_index.tpl'); }