[eluser]sunyoupk[/eluser]
[quote author="Michael Wales" date="1211128600"]By default CodeIgniter uses segment to determine the method you want, for example:
domain.com/user/walesmd
Would attempt to use the walesmd() method of the user class.
With _remap - it keeps CodeIgniter from using that logic and does whatever you tell it to. So, you could do something like:
Code:
<?php
function _remap($username) {
$this->load->model('users');
$this->data->user = $this->users->get($username);
$this->load->view('profile', $this->data);
}
?>
Personally, URI Routing is a much more graceful way to go about this.[/quote]
Ok, thanks!
Continue my efforts to do~!