original_string: public function uri( $full = false ) 
  	{
  		// check if we already set the current uri
  		if ( is_null( $this->uri ) ) 
  		{
  			$this->uri = $this->server('REQUEST_URI', '/' );
  			
  			// fix doubled slashes
  			$this->uri = preg_replace( '/(\/+)/','/', $this->uri );
  			
  			// remove get params
  			if ( !$full ) 
  			{
  				$this->uri = CCStr::cut( $this->uri, '?' );
  			}
  			
  			// cut the offset from the config
  			$this->uri = substr( $this->uri, strlen( ClanCats::$config->get( 'url.path' ) ) );
  			
  			// if null or false set to default
  			if ( !$this->uri ) 
  			{
  				$this->uri = '';
  			}
  		}
  		return $this->uri;
  	}
code: public function uri( $full = false ) 
  	{
  		// check if we already set the current uri
  		if ( is_null( $this->uri ) ) 
  		{
  			$this->uri = $this->server('REQUEST_URI', '/' );
  			
  			// fix doubled slashes
  			$this->uri = preg_replace( '/(\/+)/','/', $this->uri );
  			
  			// remove get params
  			if ( !$full ) 
  			{
  				$this->uri = CCStr::cut( $this->uri, '?' );
  			}
  			
  			// cut the offset from the config
  			$this->uri = substr( $this->uri, strlen( ClanCats::$config->get( 'url.path' ) ) );
  			
  			// if null or false set to default
  			if ( !$this->uri ) 
  			{
  				$this->uri = '';
  			}
  		}
  		return $this->uri;
  	}
code_tokens: public function uri ( $ full = false ) { // check if we already set the current uri if ( is_null ( $ this -> uri ) ) { $ this -> uri = $ this -> server ( 'REQUEST_URI' , '/' ) ; // fix doubled slashes $ this -> uri = preg_replace ( '/(\/+)/' , '/' , $ this -> uri ) ; // remove get params if ( ! $ full ) { $ this -> uri = CCStr :: cut ( $ this -> uri , '?' ) ; } // cut the offset from the config $ this -> uri = substr ( $ this -> uri , strlen ( ClanCats :: $ config -> get ( 'url.path' ) ) ) ; // if null or false set to default if ( ! $ this -> uri ) { $ this -> uri = '' ; } } return $ this -> uri ; }
docstring: get the requestet uri
  
  @param bool		$full	Don't cut the get params
  @return string
docstring_tokens: get the requestet uri