Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NFtp
  • NHtml
  • NHttpContext
  • NHttpRequest
  • NHttpResponse
  • NHttpUploadedFile
  • NSession
  • NSessionNamespace
  • NUri
  • NUriScript
  • NUser

Interfaces

  • IHttpRequest
  • IHttpResponse
  • IUser

Exceptions

  • NFtpException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NUriScript

Extended HTTP URL.

                basePath   relativeUri
                   |           |
                /-----\/------------------\
https://nette.org/admin/script.php/pathinfo/?name=param#fragment
                \_______________/\________/
                       |              |
                  scriptPath       pathInfo
  • basePath: /admin/ (everything before relative URI not including the script name)
  • baseUri: https://nette.org/admin/
  • scriptPath: /admin/script.php
  • relativeUri: script.php/pathinfo/
  • pathInfo: /pathinfo/ (additional path information)
NObject
Extended by NFreezableObject
Extended by NUri
Extended by NUriScript
Package: Nette\Web
Author: David Grudl
Located at Web/UriScript.php
Methods summary
public NUriScript
# setScriptPath( string $value )

Sets the script-path part of URI.

Sets the script-path part of URI.

Parameters

$value
string

Returns

NUriScript
provides a fluent interface
public string
# getScriptPath( )

Returns the script-path part of URI.

Returns the script-path part of URI.

Returns

string
public string
# getBasePath( )

Returns the base-path.

Returns the base-path.

Returns

string
public string
# getBaseUri( )

Returns the base-URI.

Returns the base-URI.

Returns

string
public string
# getRelativeUri( )

Returns the relative-URI.

Returns the relative-URI.

Returns

string
public string
# getPathInfo( )

Returns the additional path information.

Returns the additional path information.

Returns

string
Methods inherited from NUri
__construct(), __toString(), appendQuery(), canonicalize(), getAbsoluteUri(), getAuthority(), getFragment(), getHost(), getHostUri(), getPassword(), getPath(), getPort(), getQuery(), getScheme(), getUser(), isEqual(), setFragment(), setHost(), setPassword(), setPath(), setPort(), setQuery(), setScheme(), setUser(), unescape()
Methods inherited from NFreezableObject
__clone(), freeze(), isFrozen(), updating()
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties inherited from NUri
$defaultPorts
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0