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