Namespaces

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

Classes

  • Ftp
  • Html
  • HttpContext
  • HttpRequest
  • HttpResponse
  • HttpUploadedFile
  • Session
  • SessionNamespace
  • Uri
  • UriScript
  • User

Interfaces

  • IHttpRequest
  • IHttpResponse
  • IUser

Exceptions

  • FtpException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class UriScript

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)
Nette\Object
Extended by Nette\FreezableObject
Extended by Nette\Web\Uri
Extended by Nette\Web\UriScript
Namespace: Nette\Web
Author: David Grudl
Located at Web/UriScript.php
Methods summary
public Nette\Web\UriScript
# setScriptPath( string $value )

Sets the script-path part of URI.

Sets the script-path part of URI.

Parameters

$value
string

Returns

Nette\Web\UriScript
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 Nette\Web\Uri
__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 Nette\FreezableObject
__clone(), freeze(), isFrozen(), updating()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties inherited from Nette\Web\Uri
$defaultPorts
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0