Does CI take id/value from segment 3 only if i pass values in URI ?

Please can someone tell me, if code igniter takes value from URI from segment 3 only ? Coz whenever i am trying to pass a value through URI and in segment 4, the pagination does not seem to work. Also i dont understand the following line. Can somebody explain ?

$CI =& get_instance();
if ($CI->uri->segment($this->uri_segment) != 0)
$this->cur_page = $CI->uri->segment($this->uri_segment);

// Prep the current page - no funny business!
$this->cur_page = preg_replace("/[a-z\-]/", "", $this->cur_page);


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.