public static function FetchAllEmployes() { global $db_connection; $result = $db_connection->query("SELECT * FROM `" . User::$table . "` WHERE position<>" . NotEmployeeNum . " AND position<>0 ORDER BY position DESC, surname, name, fathername"); if (!$result) { return NULL; } return User::ArrayFromDBResult($result); }