public function get_all_relations() { $query = "SELECT site_1, site_2 FROM {$this->table} ORDER BY site_1 ASC, site_2 ASC"; $rows = $this->db->get_results($query, ARRAY_A); return $rows ? $this->get_site_relations_from_query_results($rows) : []; }