application/controllers/Users.php
/*DOCU Function to call the user profile view. Owner:Philip */
DOCU Function to call the user profile view. Owner:Philip
DOCU Function to call the user profile view . Owner : Philip
public function show($id) {
		$data["users"] = $this->user->get_user_by_id($id);
		$data["messages"] = $this->message->get_messages($id);
		$data["comments"] = $this->comment->get_comments($id);
		$this->load->view("users/show", $data);
	}
public function show ( $ id ) { $ data [ " users " ] = $ this -> user -> get_user_by_id ( $ id ) ; $ data [ " messages " ] = $ this -> message -> get_messages ( $ id ) ; $ data [ " comments " ] = $ this -> comment -> get_comments ( $ id ) ; $ this -> load -> view ( " users/show " , $ data ) ; }
DOCU Function to call the user profile view.
DOCU Function to call the user profile view .