public function new_hub() { $hubs = HubData::get_airports(); $this->set('hubs', $hubs); $this->show('hub/hub_new_form.tpl'); }