function name_data($data) { if ($data == "gr_pid") { return $this->config->relation_id["name"]; } else { return parent::name_data($data); } }