function afterLoad() { $ui_model = new UserInterestsModel(); //$this->interest = implode(", ", $ui_model -> getInterests($this -> id)); $country_model = new CountryModel(); $country_model->load($this->country_id); $this->country = $country_model->name; $state_model = new StateModel(); $state_model->load($this->state_id); $this->state = $state_model->name; $city_model = new CityModel(); $city_model->load($this->city_id); $this->city = $city_model->name; }