function DatabaseHandler::get_flightpath_settings
Search API
7.x DatabaseHandler.php | DatabaseHandler::get_flightpath_settings() |
6.x DatabaseHandler.php | DatabaseHandler::get_flightpath_settings() |
File
- classes/
DatabaseHandler.php, line 1467
Class
Code
function get_flightpath_settings()
{
// Returns an array of everything in the flightpath_settings table.
$rtn_array = array();
$res = $this->db_query("SELECT * FROM flightpath_settings ");
while ($cur = $this->db_fetch_array($res))
{
$rtn_array [$cur ["variable_name"]] = trim($cur ["value"]);
}
return $rtn_array;
}