Index
A
- HttpExtension::afterCompile() — Method in class HttpExtension
- SessionExtension::afterCompile() — Method in class SessionExtension
- IResponse::addHeader() — Method in class IResponse
Adds HTTP header.
- $ Request#ajax — Property in class Request
- Response::addHeader() — Method in class Response
Adds HTTP header.
- $ Url#absoluteUrl — Property in class Url
- $ Url#authority — Property in class Url
- Url::appendQuery() — Method in class Url
Appends the query part of URI.
B
- HttpExtension::beforeCompile() — Method in class HttpExtension
- $ Url#basePath — Property in class Url
- $ Url#baseUrl — Property in class Url
C
- Context — Class in namespace Nette\Http
HTTP-specific tasks.
- $ FileUpload#contentType — Property in class FileUpload
- $ FileUpload#contents — Property in class FileUpload
- ISessionStorage::close() — Method in class ISessionStorage
- ISessionStorage::clean() — Method in class ISessionStorage
- $ Request#cookies — Property in class Request
- RequestFactory::createHttpRequest() — Method in class RequestFactory
Creates current HttpRequest object.
- $ Response#cookieDomain — Property in class Response
- $ Response#cookiePath — Property in class Response
- $ Response#cookieSecure — Property in class Response
- $ Response#cookieHttpOnly — Property in class Response
- Session::close() — Method in class Session
Ends the current session and store session data.
- Session::clean() — Method in class Session
Cleans and minimizes meta structures. This method is called automatically on shutdown, do not call it directly.
- Url::canonicalize() — Method in class Url
Transforms URL to canonical form.
D
- $ HttpExtension#defaults — Property in class HttpExtension
- $ SessionExtension#defaults — Property in class SessionExtension
- IResponse::deleteCookie() — Method in class IResponse
Deletes a cookie.
- Request::detectLanguage() — Method in class Request
Parse Accept-Language header and returns preferred language.
- Response::date() — Method in class Response
- Response::deleteCookie() — Method in class Response
Deletes a cookie.
- Session::destroy() — Method in class Session
Destroys all data registered to a session.
- $ Url#defaultPorts — Property in class Url
E
- $ FileUpload#error — Property in class FileUpload
- Session::exists() — Method in class Session
Does session exists for the current request?
F
- FileUpload — Class in namespace Nette\Http
Provides access to individual files that have been uploaded by a client.
- Helpers::formatDate() — Method in class Helpers
Returns HTTP valid date format.
- $ Request#files — Property in class Request
- $ Url#fragment — Property in class Url
G
- SessionPanel::getTab() — Method in class SessionPanel
Renders tab.
- SessionPanel::getPanel() — Method in class SessionPanel
Renders panel.
- Context::getRequest() — Method in class Context
- Context::getResponse() — Method in class Context
- FileUpload::getName() — Method in class FileUpload
Returns the file name.
- FileUpload::getSanitizedName() — Method in class FileUpload
Returns the sanitized file name.
- FileUpload::getContentType() — Method in class FileUpload
Returns the MIME content type of an uploaded file.
- FileUpload::getSize() — Method in class FileUpload
Returns the size of an uploaded file.
- FileUpload::getTemporaryFile() — Method in class FileUpload
Returns the path to an uploaded file.
- FileUpload::getError() — Method in class FileUpload
Returns the error code. http://php.net/manual/en/features.file-upload.errors.php
- FileUpload::getImageSize() — Method in class FileUpload
Returns the dimensions of an uploaded image as array.
- FileUpload::getContents() — Method in class FileUpload
Get file contents.
- IRequest::getUrl() — Method in class IRequest
Returns URL object.
- IRequest::getQuery() — Method in class IRequest
Returns variable provided to the script via URL query ($_GET).
- IRequest::getPost() — Method in class IRequest
Returns variable provided to the script via POST method ($_POST).
- IRequest::getFile() — Method in class IRequest
Returns uploaded file.
- IRequest::getFiles() — Method in class IRequest
Returns uploaded files.
- IRequest::getCookie() — Method in class IRequest
Returns variable provided to the script via HTTP cookies.
- IRequest::getCookies() — Method in class IRequest
Returns variables provided to the script via HTTP cookies.
- IRequest::getMethod() — Method in class IRequest
Returns HTTP request method (GET, POST, HEAD, PUT, ...). The method is case-sensitive.
- IRequest::getHeader() — Method in class IRequest
Return the value of the HTTP header. Pass the header name as the plain, HTTP-specified header name (e.g. 'Accept-Encoding').
- IRequest::getHeaders() — Method in class IRequest
Returns all HTTP headers.
- IRequest::getRemoteAddress() — Method in class IRequest
Returns the IP address of the remote client.
- IRequest::getRemoteHost() — Method in class IRequest
Returns the host of the remote client.
- IRequest::getRawBody() — Method in class IRequest
Returns raw content of HTTP request body.
- IResponse::getCode() — Method in class IResponse
Returns HTTP response code.
- IResponse::getHeader() — Method in class IResponse
Returns value of an HTTP header.
- IResponse::getHeaders() — Method in class IResponse
Returns a list of headers to sent.
- Request::getUrl() — Method in class Request
Returns URL object.
- Request::getQuery() — Method in class Request
Returns variable provided to the script via URL query ($_GET).
- Request::getPost() — Method in class Request
Returns variable provided to the script via POST method ($_POST).
- Request::getFile() — Method in class Request
Returns uploaded file.
- Request::getFiles() — Method in class Request
Returns uploaded files.
- Request::getCookie() — Method in class Request
Returns variable provided to the script via HTTP cookies.
- Request::getCookies() — Method in class Request
Returns variables provided to the script via HTTP cookies.
- Request::getMethod() — Method in class Request
Returns HTTP request method (GET, POST, HEAD, PUT, ...). The method is case-sensitive.
- Request::getHeader() — Method in class Request
Return the value of the HTTP header. Pass the header name as the plain, HTTP-specified header name (e.g. 'Accept-Encoding').
- Request::getHeaders() — Method in class Request
Returns all HTTP headers.
- Request::getReferer() — Method in class Request
Returns referrer.
- Request::getRemoteAddress() — Method in class Request
Returns the IP address of the remote client.
- Request::getRemoteHost() — Method in class Request
Returns the host of the remote client.
- Request::getRawBody() — Method in class Request
Returns raw content of HTTP request body.
- Response::getCode() — Method in class Response
Returns HTTP response code.
- Response::getHeader() — Method in class Response
Returns value of an HTTP header.
- Response::getHeaders() — Method in class Response
Returns a list of headers to sent.
- Session::getId() — Method in class Session
Returns the current session ID. Don't make dependencies, can be changed for each request.
- Session::getName() — Method in class Session
Gets the session name.
- Session::getSection() — Method in class Session
Returns specified session section.
- Session::getIterator() — Method in class Session
Iteration over all sections.
- Session::getOptions() — Method in class Session
Returns all session options.
- Session::getCookieParameters() — Method in class Session
Returns the session cookie parameters.
- SessionSection::getIterator() — Method in class SessionSection
Returns an iterator over all section variables.
- Url::getScheme() — Method in class Url
Returns the scheme part of URI.
- Url::getUser() — Method in class Url
Returns the user name part of URI.
- Url::getPassword() — Method in class Url
Returns the password part of URI.
- Url::getHost() — Method in class Url
Returns the host part of URI.
- Url::getDomain() — Method in class Url
Returns the part of domain.
- Url::getPort() — Method in class Url
Returns the port part of URI.
- Url::getPath() — Method in class Url
Returns the path part of URI.
- Url::getQuery() — Method in class Url
Returns the query part of URI.
- Url::getQueryParameters() — Method in class Url
- Url::getQueryParameter() — Method in class Url
- Url::getFragment() — Method in class Url
Returns the fragment part of URI.
- Url::getAbsoluteUrl() — Method in class Url
Returns the entire URI including query string and fragment.
- Url::getAuthority() — Method in class Url
Returns the [user[:pass]@]host[:port] part of URI.
- Url::getHostUrl() — Method in class Url
Returns the scheme and authority part of URI.
- Url::getBasePath() — Method in class Url
Returns the base-path.
- Url::getBaseUrl() — Method in class Url
Returns the base-URI.
- Url::getRelativeUrl() — Method in class Url
Returns the relative-URI.
- UrlScript::getScriptPath() — Method in class UrlScript
Returns the script-path part of URI.
- UrlScript::getBasePath() — Method in class UrlScript
Returns the base-path.
- UrlScript::getPathInfo() — Method in class UrlScript
Returns the additional path information.
- UserStorage::getIdentity() — Method in class UserStorage
Returns current user identity, if any.
- UserStorage::getNamespace() — Method in class UserStorage
Returns current namespace.
- UserStorage::getLogoutReason() — Method in class UserStorage
Why was user logged out?
- UserStorage::getSessionSection() — Method in class UserStorage
Returns and initializes $this->sessionSection.
H
- HttpExtension — Class in namespace Nette\Bridges\HttpDI
HTTP extension for Nette DI.
- FileUpload::hasFile() — Method in class FileUpload
- Helpers — Class in namespace Nette\Http
Rendering helpers for HTTP.
- $ Request#headers — Property in class Request
- $ Response#headers — Property in class Response
- Session::hasSection() — Method in class Session
Checks if a session section exist and is not empty.
- $ Url#host — Property in class Url
- $ Url#hostUrl — Property in class Url
I
- Context::isModified() — Method in class Context
Attempts to cache the sent entity by its last modification date.
- FileUpload::isOk() — Method in class FileUpload
Is there any error?
- FileUpload::isImage() — Method in class FileUpload
Is uploaded file GIF, PNG or JPEG?
- Helpers::ipMatch() — Method in class Helpers
Is IP address in CIDR block?
- IRequest — Class in namespace Nette\Http
IHttpRequest provides access scheme for request sent via HTTP.
- IRequest::isMethod() — Method in class IRequest
Checks HTTP request method.
- IRequest::isSecured() — Method in class IRequest
Is the request sent via secure channel (https)?
- IRequest::isAjax() — Method in class IRequest
Is AJAX request?
- IResponse — Class in namespace Nette\Http
IHttpResponse interface.
- IResponse::isSent() — Method in class IResponse
Checks if headers have been sent.
- ISessionStorage — Class in namespace Nette\Http
User session storage for PHP < 5.4.
- Request::isMethod() — Method in class Request
Checks if the request method is the given one.
- Request::isPost() — Method in class Request
- Request::isSecured() — Method in class Request
Is the request sent via secure channel (https)?
- Request::isSameSite() — Method in class Request
Is the request sent from the same origin?
- Request::isAjax() — Method in class Request
Is AJAX request?
- Response::isSent() — Method in class Response
Checks if headers have been sent.
- Session::isStarted() — Method in class Session
Has been session started?
- Url::isEqual() — Method in class Url
URL comparison.
- UserStorage::isAuthenticated() — Method in class UserStorage
Is this user authenticated?
J
- Url::jsonSerialize() — Method in class Url
L
- HttpExtension::loadConfiguration() — Method in class HttpExtension
- SessionExtension::loadConfiguration() — Method in class SessionExtension
M
- FileUpload::move() — Method in class FileUpload
Move uploaded file to new location.
- $ Request#method — Property in class Request
N
- $ FileUpload#name — Property in class FileUpload
O
- $ FileUpload#ok — Property in class FileUpload
- ISessionStorage::open() — Method in class ISessionStorage
- SessionSection::offsetSet() — Method in class SessionSection
Sets a variable in this session section.
- SessionSection::offsetGet() — Method in class SessionSection
Gets a variable from this session section.
- SessionSection::offsetExists() — Method in class SessionSection
Determines whether a variable in this session section is set.
- SessionSection::offsetUnset() — Method in class SessionSection
Unsets a variable in this session section.
P
- $ Request#post — Property in class Request
- $ Url#password — Property in class Url
- $ Url#port — Property in class Url
- $ Url#path — Property in class Url
- Url::parseQuery() — Method in class Url
Parses query string.
- $ UrlScript#pathInfo — Property in class UrlScript
Q
- $ Request#query — Property in class Request
- $ Url#query — Property in class Url
- $ Url#queryParameters — Property in class Url
R
- Helpers::removeDuplicateCookies() — Method in class Helpers
Removes duplicate cookies from response.
- IResponse::redirect() — Method in class IResponse
Redirects to a new URL.
- ISessionStorage::read() — Method in class ISessionStorage
- ISessionStorage::remove() — Method in class ISessionStorage
- Request — Class in namespace Nette\Http
HttpRequest provides access scheme for request sent via HTTP.
- $ Request#referer — Property in class Request
- $ Request#remoteAddress — Property in class Request
- $ Request#remoteHost — Property in class Request
- $ Request#rawBody — Property in class Request
- RequestFactory — Class in namespace Nette\Http
Current HTTP request factory.
- Response — Class in namespace Nette\Http
HttpResponse class.
- Response::redirect() — Method in class Response
Redirects to a new URL. Note: call exit() after it.
- Session::regenerateId() — Method in class Session
Regenerates the session ID.
- SessionSection::removeExpiration() — Method in class SessionSection
Removes the expiration from the section or specific variables.
- SessionSection::remove() — Method in class SessionSection
Cancels the current session section.
- $ Url#relativeUrl — Property in class Url
S
- SessionExtension — Class in namespace Nette\Bridges\HttpDI
Session extension for Nette DI.
- SessionPanel — Class in namespace Nette\Bridges\HttpTracy
Session panel for Debugger Bar.
- $ FileUpload#sanitizedName — Property in class FileUpload
- $ FileUpload#size — Property in class FileUpload
- IResponse::setCode() — Method in class IResponse
Sets HTTP response code.
- IResponse::setHeader() — Method in class IResponse
Sends a HTTP header and replaces a previous one.
- IResponse::setContentType() — Method in class IResponse
Sends a Content-type HTTP header.
- IResponse::setExpiration() — Method in class IResponse
Sets the number of seconds before a page cached on a browser expires.
- IResponse::setCookie() — Method in class IResponse
Sends a cookie.
- $ Request#secured — Property in class Request
- RequestFactory::setBinary() — Method in class RequestFactory
- RequestFactory::setProxy() — Method in class RequestFactory
- Response::setCode() — Method in class Response
Sets HTTP response code.
- Response::setHeader() — Method in class Response
Sends a HTTP header and replaces a previous one.
- Response::setContentType() — Method in class Response
Sends a Content-type HTTP header.
- Response::setExpiration() — Method in class Response
Sets the number of seconds before a page cached on a browser expires.
- Response::setCookie() — Method in class Response
Sends a cookie.
- Session — Class in namespace Nette\Http
Provides access to session sections as well as session settings and management methods.
- Session::start() — Method in class Session
Starts and initializes session data.
- Session::setName() — Method in class Session
Sets the session name to a specified one.
- Session::setOptions() — Method in class Session
Sets session options.
- Session::setExpiration() — Method in class Session
Sets the amount of time allowed between requests before the session will be terminated.
- Session::setCookieParameters() — Method in class Session
Sets the session cookie parameters.
- Session::setSavePath() — Method in class Session
Sets path of the directory used to save session data.
- Session::setStorage() — Method in class Session
- Session::setHandler() — Method in class Session
Sets user session handler.
- SessionSection — Class in namespace Nette\Http
Session section.
- SessionSection::setExpiration() — Method in class SessionSection
Sets the expiration of the section or specific variables.
- $ Url#scheme — Property in class Url
- Url::setScheme() — Method in class Url
Sets the scheme part of URI.
- Url::setUser() — Method in class Url
Sets the user name part of URI.
- Url::setPassword() — Method in class Url
Sets the password part of URI.
- Url::setHost() — Method in class Url
Sets the host part of URI.
- Url::setPort() — Method in class Url
Sets the port part of URI.
- Url::setPath() — Method in class Url
Sets the path part of URI.
- Url::setQuery() — Method in class Url
Sets the query part of URI.
- Url::setQueryParameter() — Method in class Url
- Url::setFragment() — Method in class Url
Sets the fragment part of URI.
- $ UrlScript#scriptPath — Property in class UrlScript
- UrlScript::setScriptPath() — Method in class UrlScript
Sets the script-path part of URI.
- UserStorage::setAuthenticated() — Method in class UserStorage
Sets the authenticated status of this user.
- UserStorage::setIdentity() — Method in class UserStorage
Sets the user identity.
- UserStorage::setNamespace() — Method in class UserStorage
Changes namespace; allows more users to share a session.
- UserStorage::setExpiration() — Method in class UserStorage
Enables log out after inactivity.
T
- $ FileUpload#temporaryFile — Property in class FileUpload
- FileUpload::toImage() — Method in class FileUpload
Returns the image.
U
- $ Request#url — Property in class Request
- $ RequestFactory#urlFilters — Property in class RequestFactory
- Url — Class in namespace Nette\Http
URI Syntax (RFC 3986).
- $ Url#user — Property in class Url
- Url::unescape() — Method in class Url
Similar to rawurldecode, but preserves reserved chars encoded.
- UrlScript — Class in namespace Nette\Http
Extended HTTP URL.
- UserStorage — Class in namespace Nette\Http
Session storage for user object.
W
- ISessionStorage::write() — Method in class ISessionStorage
- $ Response#warnOnBuffer — Property in class Response
- $ SessionSection#warnOnUndefined — Property in class SessionSection
_
- HttpExtension::__construct() — Method in class HttpExtension
- SessionExtension::__construct() — Method in class SessionExtension
- Context::__construct() — Method in class Context
- FileUpload::__construct() — Method in class FileUpload
- FileUpload::__toString() — Method in class FileUpload
Returns the path to an uploaded file.
- Request::__construct() — Method in class Request
- Response::__construct() — Method in class Response
- Response::__destruct() — Method in class Response
- Session::__construct() — Method in class Session
- SessionSection::__construct() — Method in class SessionSection
Do not call directly. Use Session::getSection().
- SessionSection::__set() — Method in class SessionSection
Sets a variable in this session section.
- SessionSection::__get() — Method in class SessionSection
Gets a variable from this session section.
- SessionSection::__isset() — Method in class SessionSection
Determines whether a variable in this session section is set.
- SessionSection::__unset() — Method in class SessionSection
Unsets a variable in this session section.
- Url::__construct() — Method in class Url
- Url::__toString() — Method in class Url
- UrlScript::__construct() — Method in class UrlScript
- UserStorage::__construct() — Method in class UserStorage