populate($row); return 1; } else { return 0; } } /***** ** Populate the object using raw data from SQL *****/ private function populate($row) { $this->name = $row['name']; $this->display_name = $row['display_name']; $this->flag_name = $row['flag_name']; } /***** ** Simple return only functions *****/ public function get_id() { return $this->id; } } ?>