function _DatabaseHandler::get_flightpath_settings
Search API
4.x _DatabaseHandler.php | _DatabaseHandler::get_flightpath_settings() |
5.x _DatabaseHandler.php | _DatabaseHandler::get_flightpath_settings() |
File
- classes/
_DatabaseHandler.php, line 1111
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;
}