/** * Returns the list of gateways which can be configured. */ static function getGatewayList() { $sql = "SELECT short_gateway_name FROM nsadmin.gateways"; $db = new Dbase('nsadmin'); $list = $db->query_firstcolumn($sql); return array_merge(array('', 'netcoretrans'), $list); }