Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationLatte
      • ApplicationTracy
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsLatte
      • Framework
      • HttpTracy
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy

Classes

  • Context
  • FileUpload
  • Helpers
  • Request
  • RequestFactory
  • Response
  • Session
  • SessionSection
  • Url
  • UrlScript
  • UserStorage

Interfaces

  • IRequest
  • IResponse
  • ISessionStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class UrlScript

Extended HTTP URL.

https://nette.org/admin/script.php/pathinfo/?name=param#fragment
                \_______________/\________/
                       |              |
                  scriptPath       pathInfo
  • scriptPath: /admin/script.php (or simply /admin/ when script is directory index)
  • pathInfo: /pathinfo/ (additional path information)
Nette\Object
Extended by Nette\Http\Url
Extended by Nette\Http\UrlScript
Namespace: Nette\Http
Author: David Grudl
Located at Http/UrlScript.php
Methods summary
public Nette\Http\UrlScript
# setScriptPath( string $value )

Sets the script-path part of URI.

Sets the script-path part of URI.

Parameters

$value
string

Returns

Nette\Http\UrlScript
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

Overrides

Nette\Http\Url::getBasePath()
public string
# getPathInfo( )

Returns the additional path information.

Returns the additional path information.

Returns

string
Methods inherited from Nette\Http\Url
__construct(), __toString(), appendQuery(), canonicalize(), getAbsoluteUrl(), getAuthority(), getBaseUrl(), getFragment(), getHost(), getHostUrl(), getPassword(), getPath(), getPort(), getQuery(), getQueryParameter(), getRelativeUrl(), getScheme(), getUser(), isEqual(), setFragment(), setHost(), setPassword(), setPath(), setPort(), setQuery(), setQueryParameter(), setScheme(), setUser(), unescape()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties inherited from Nette\Http\Url
$defaultPorts
Magic properties summary
public string $scriptPath
#
public read-only string $pathInfo
#
Magic properties inherited from Nette\Http\Url
$absoluteUrl, $authority, $basePath, $baseUrl, $fragment, $host, $hostUrl, $password, $path, $port, $query, $relativeUrl, $scheme, $user
Magic properties inherited from Nette\Object
$reflection
Nette 2.2 API documentation generated by ApiGen 2.8.0