public function timeline($category_ids = "0,") { $group_where = " AND ( " . $this->table_prefix . "simplegroups_groups_incident.simplegroups_groups_id = " . $this->group->id . ") "; $category_ids_array = explode(",", $category_ids, -1); //get rid of that trailing ";" $joins = groups::get_joins_for_groups($category_ids_array); $sg_category_to_table_mapping = groups::get_category_to_table_mapping(); adminmap_helper::json_timeline($this, $category_ids, true, $group_where, $joins = $joins, $sg_category_to_table_mapping); }
public function timeline($group_id = false, $category_ids = "0,") { if (!$group_id) { echo '{"type": "FeatureCollection", "features"; []}'; return; } //make sure they can't see anything private $_GET['u'] = "1"; $group_where = " AND ( " . $this->table_prefix . "simplegroups_groups_incident.simplegroups_groups_id = " . $group_id . ") "; $category_ids_array = explode(",", $category_ids, -1); //get rid of that trailing ";" $joins = groups::get_joins_for_groups($category_ids_array); $sg_category_to_table_mapping = groups::get_category_to_table_mapping(); adminmap_helper::json_timeline($this, $category_ids, true, $group_where, $joins = $joins, $sg_category_to_table_mapping); }
public function timeline($category_ids = "0,") { adminmap_helper::json_timeline($this, $category_ids, false); }