Пример #1
0
 /**
  * Returns the current segment array, without the default controller and function names
  *
  * @return string|null
  *
  */
 public static function get_uri_segments()
 {
     if (is_null(self::$uri_segments)) {
         $segments = self::$ci->uri->segment_array();
         $segments = array_slice($segments, 2);
         self::$uri_segments = $segments;
     }
     return self::$uri_segments;
 }