Show
Ignore:
Timestamp:
08/26/2007 02:43:57 PM (16 months ago)
Author:
Shadowhand
Message:

Added the start of the Database library and config file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/devel/system/libraries/URI.php

    r407 r412  
    22 
    33class URI_Core extends Router { 
    4          
     4 
    55        public function segment($index = 1) 
    66        { 
    77                $index = (int) $index - 1; 
    8                  
     8 
    99                return isset(self::$segments[$index]) ? self::$segments[$index] : FALSE; 
    1010        } 
     
    1919                        $segment_array[$i++] = $segment; 
    2020                } 
    21                  
     21 
    2222                return $segment_array; 
    2323        } 
    24          
     24 
    2525        public function string() 
    2626        { 
    2727                return implode('/', self::$segments); 
    2828        } 
    29          
     29 
    3030} // End URI Class