示例#1
0
 private static function page_handle(array $uri_array)
 {
     $origin_args = $uri_array;
     $last_args = array_pop($uri_array);
     if (preg_match('/page-/', $last_args)) {
         PAGE::$now = preg_replace('/page-([0-9]+)/', "\$1", $last_args);
         # 載入頁次參數
         $return_args = $uri_array;
     } else {
         $return_args = $origin_args;
     }
     self::$uri = implode("/", $return_args);
     return $return_args;
 }