Index
A
- AbortException — Class in namespace Nette\Application
The exception that is thrown when user attempts to terminate the current presenter or application.
- Application — Class in namespace Nette\Application
Front Controller.
- $ Application#allowedMethods — Property in class Application
- ApplicationException — Class in namespace Nette\Application
Application fatal error.
- Route::addStyle() — Method in class Route
Creates new style.
- Form::attached() — Method in class Form
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
- $ Presenter#autoCanonicalize — Property in class Presenter
- $ Presenter#absoluteUrls — Property in class Presenter
- $ Presenter#action — Property in class Presenter
- $ Presenter#ajax — Property in class Presenter
- $ Presenter#application — Property in class Presenter
- Presenter::afterRender() — Method in class Presenter
Common render method.
- PresenterComponent::attached() — Method in class PresenterComponent
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
B
- BadRequestException — Class in namespace Nette\Application
Bad HTTP / presenter request exception.
- BadSignalException — Class in namespace Nette\Application\UI
Signal exception.
- Presenter::beforeRender() — Method in class Presenter
Common render method.
- Presenter::backlink() — Method in class Presenter
Link to myself.
C
- MicroPresenter::createTemplate() — Method in class MicroPresenter
Template factory.
- $ Application#catchExceptions — Property in class Application
- IPresenterFactory::createPresenter() — Method in class IPresenterFactory
Creates new presenter instance.
- IRouter::constructUrl() — Method in class IRouter
Constructs absolute URL from Request object.
- $ PresenterFactory#caseSensitive — Property in class PresenterFactory
- PresenterFactory::createPresenter() — Method in class PresenterFactory
Creates new presenter instance.
- $ FileResponse#contentType — Property in class FileResponse
- $ JsonResponse#contentType — Property in class JsonResponse
- $ RedirectResponse#code — Property in class RedirectResponse
- CliRouter — Class in namespace Nette\Application\Routers
The unidirectional router for CLI. (experimental)
- CliRouter::constructUrl() — Method in class CliRouter
Constructs absolute URL from Request object.
- Route::constructUrl() — Method in class Route
Constructs absolute URL from Request object.
- RouteList::constructUrl() — Method in class RouteList
Constructs absolute URL from Request object.
- SimpleRouter::constructUrl() — Method in class SimpleRouter
Constructs absolute URL from Request object.
- Control — Class in namespace Nette\Application\UI
Control is renderable Presenter component.
- Control::createTemplate() — Method in class Control
- Multiplier::createComponent() — Method in class Multiplier
- $ Presenter#context — Property in class Presenter
- Presenter::checkRequirements() — Method in class Presenter
Checks authorization.
- Presenter::changeAction() — Method in class Presenter
Changes current action. Only alphanumeric characters are allowed.
- Presenter::canonicalize() — Method in class Presenter
Conditional redirect to canonicalized URI.
- Presenter::createRequest() — Method in class Presenter
Request/URL factory.
- PresenterComponent::checkRequirements() — Method in class PresenterComponent
Checks for requirements such as authorization.
- PresenterComponentReflection::combineArgs() — Method in class PresenterComponentReflection
- PresenterComponentReflection::convertType() — Method in class PresenterComponentReflection
Non data-loss type conversion.
- CacheMacro — Class in namespace Nette\Latte\Macros
Macro {cache} ... {/cache}
- CacheMacro::createCache() — Method in class CacheMacro
Starts the output cache. Returns Nette\Caching\OutputHelper object if buffering was started.
D
- $ BadRequestException#defaultCode — Property in class BadRequestException
- $ ForbiddenRequestException#defaultCode — Property in class ForbiddenRequestException
- $ CliRouter#defaults — Property in class CliRouter
- $ Route#defaultFlags — Property in class Route
- $ Route#defaults — Property in class Route
- $ SimpleRouter#defaults — Property in class SimpleRouter
- $ BadSignalException#defaultCode — Property in class BadSignalException
- $ Link#destination — Property in class Link
E
- MicroPresenter::error() — Method in class MicroPresenter
Throws HTTP error.
- $ Application#errorPresenter — Property in class Application
- Presenter::error() — Method in class Presenter
Throws HTTP error.
F
- ForbiddenRequestException — Class in namespace Nette\Application
Forbidden request exception - access denied.
- PresenterFactory::formatPresenterClass() — Method in class PresenterFactory
Formats presenter class name from its name.
- PresenterFactory::formatPresenterFile() — Method in class PresenterFactory
Formats presenter class file name.
- $ Request#files — Property in class Request
- FileResponse — Class in namespace Nette\Application\Responses
File download response.
- $ FileResponse#file — Property in class FileResponse
- ForwardResponse — Class in namespace Nette\Application\Responses
Forwards to new request.
- $ Route#flags — Property in class Route
- $ SimpleRouter#flags — Property in class SimpleRouter
- Control::flashMessage() — Method in class Control
Saves the message to template, that can be displayed after redirect.
- Form — Class in namespace Nette\Application\UI
Web form adapted for Presenter.
- $ Presenter#flashSession — Property in class Presenter
- Presenter::findLayoutTemplateFile() — Method in class Presenter
Finds layout template file name.
- Presenter::formatLayoutTemplateFiles() — Method in class Presenter
Formats layout template file names.
- Presenter::formatTemplateFiles() — Method in class Presenter
Formats view template file names.
- Presenter::formatActionMethod() — Method in class Presenter
Formats action method name.
- Presenter::formatRenderMethod() — Method in class Presenter
Formats render view method name.
- Presenter::forward() — Method in class Presenter
Forward to another presenter or action.
- PresenterComponent::formatSignalMethod() — Method in class PresenterComponent
Formats signal handler method name -> case sensitivity doesn't matter.
- CacheMacro::finalize() — Method in class CacheMacro
Finishes template parsing.
G
- MicroPresenter::getContext() — Method in class MicroPresenter
Gets the context.
- MicroPresenter::getRequest() — Method in class MicroPresenter
- Application::getRequests() — Method in class Application
Returns all processed requests.
- Application::getPresenter() — Method in class Application
Returns current presenter.
- Application::getRouter() — Method in class Application
Returns router.
- Application::getPresenterFactory() — Method in class Application
Returns presenter factory.
- RoutingPanel::getTab() — Method in class RoutingPanel
Renders tab.
- RoutingPanel::getPanel() — Method in class RoutingPanel
Renders panel.
- IPresenterFactory::getPresenterClass() — Method in class IPresenterFactory
Generates and checks presenter class name.
- PresenterFactory::getPresenterClass() — Method in class PresenterFactory
Generates and checks presenter class name.
- Request::getPresenterName() — Method in class Request
Retrieve the presenter name.
- Request::getParameters() — Method in class Request
Returns all variables provided to the presenter (usually via URL).
- Request::getParams() — Method in class Request
- Request::getPost() — Method in class Request
Returns all variables provided to the presenter via POST.
- Request::getFiles() — Method in class Request
Returns all uploaded files.
- Request::getMethod() — Method in class Request
Returns the method.
- FileResponse::getFile() — Method in class FileResponse
Returns the path to a downloaded file.
- FileResponse::getName() — Method in class FileResponse
Returns the file name.
- FileResponse::getContentType() — Method in class FileResponse
Returns the MIME content type of a downloaded file.
- ForwardResponse::getRequest() — Method in class ForwardResponse
- JsonResponse::getPayload() — Method in class JsonResponse
- JsonResponse::getContentType() — Method in class JsonResponse
Returns the MIME content type of a downloaded file.
- RedirectResponse::getUrl() — Method in class RedirectResponse
- RedirectResponse::getCode() — Method in class RedirectResponse
- TextResponse::getSource() — Method in class TextResponse
- CliRouter::getDefaults() — Method in class CliRouter
Returns default values.
- Route::getMask() — Method in class Route
Returns mask.
- Route::getDefaults() — Method in class Route
Returns default values.
- Route::getFlags() — Method in class Route
Returns flags.
- Route::getTargetPresenter() — Method in class Route
Proprietary cache aim.
- RouteList::getModule() — Method in class RouteList
- SimpleRouter::getDefaults() — Method in class SimpleRouter
Returns default values.
- SimpleRouter::getFlags() — Method in class SimpleRouter
Returns flags.
- Control::getTemplate() — Method in class Control
- Control::getWidget() — Method in class Control
Returns widget component specified by name.
- Control::getSnippetId() — Method in class Control
Returns snippet HTML ID.
- Form::getPresenter() — Method in class Form
Returns the presenter where this component belongs to.
- Link::getDestination() — Method in class Link
Returns link destination.
- Link::getParameter() — Method in class Link
Returns link parameter.
- Link::getParameters() — Method in class Link
Returns link parameters.
- Presenter::getRequest() — Method in class Presenter
- Presenter::getPresenter() — Method in class Presenter
Returns self.
- Presenter::getUniqueId() — Method in class Presenter
Returns a name that uniquely identifies component.
- Presenter::getSignal() — Method in class Presenter
Returns pair signal receiver and name.
- Presenter::getAction() — Method in class Presenter
Returns current action name.
- Presenter::getView() — Method in class Presenter
Returns current view.
- Presenter::getLayout() — Method in class Presenter
Returns current layout name.
- Presenter::getPayload() — Method in class Presenter
- Presenter::getLastCreatedRequest() — Method in class Presenter
Returns the last created Request.
- Presenter::getLastCreatedRequestFlag() — Method in class Presenter
Returns the last created Request flag.
- Presenter::getPersistentComponents() — Method in class Presenter
Returns array of persistent components.
- Presenter::getFlashSession() — Method in class Presenter
Returns session namespace provided to pass temporary data between redirects.
- Presenter::getContext() — Method in class Presenter
Gets the context.
- Presenter::getService() — Method in class Presenter
- Presenter::getHttpRequest() — Method in class Presenter
- Presenter::getHttpResponse() — Method in class Presenter
- Presenter::getHttpContext() — Method in class Presenter
- Presenter::getApplication() — Method in class Presenter
- Presenter::getSession() — Method in class Presenter
- Presenter::getUser() — Method in class Presenter
- PresenterComponent::getPresenter() — Method in class PresenterComponent
Returns the presenter where this component belongs to.
- PresenterComponent::getUniqueId() — Method in class PresenterComponent
Returns a fully-qualified name that uniquely identifies the component within the presenter hierarchy.
- PresenterComponent::getReflection() — Method in class PresenterComponent
Access to reflection.
- PresenterComponent::getParameter() — Method in class PresenterComponent
Returns component param.
- PresenterComponent::getParameterId() — Method in class PresenterComponent
Returns a fully-qualified name that uniquely identifies the parameter.
- PresenterComponent::getParam() — Method in class PresenterComponent
- PresenterComponent::getParamId() — Method in class PresenterComponent
- PresenterComponent::getPersistentParams() — Method in class PresenterComponent
Returns array of classes persistent parameters. They have public visibility and are non-static.
- PresenterComponentReflection::getPersistentParams() — Method in class PresenterComponentReflection
- PresenterComponentReflection::getPersistentComponents() — Method in class PresenterComponentReflection
H
- Request::hasFlag() — Method in class Request
Checks the flag.
- Presenter::handleInvalidLink() — Method in class Presenter
Invalid link handler. Descendant can override this method to change default behaviour.
- Presenter::hasFlashSession() — Method in class Presenter
Checks if a flash session namespace exists.
- PresenterComponentReflection::hasCallableMethod() — Method in class PresenterComponentReflection
Is a method callable? It means class is instantiable and method has public visibility, is non-static and non-abstract.
I
- RoutingPanel::initializePanel() — Method in class RoutingPanel
- IPresenter — Class in namespace Nette\Application
Presenter converts Request to IResponse.
- IPresenterFactory — Class in namespace Nette\Application
Responsible for creating a new instance of given presenter.
- IResponse — Class in namespace Nette\Application
Any response returned by presenter.
- IRouter — Class in namespace Nette\Application
The bi-directional router.
- InvalidPresenterException — Class in namespace Nette\Application
The exception that is thrown when a presenter cannot be loaded.
- Request::isMethod() — Method in class Request
Checks if the method is the given one.
- Request::isPost() — Method in class Request
Checks if the method is POST.
- Control::invalidateControl() — Method in class Control
Forces control or its snippet to repaint.
- Control::isControlInvalid() — Method in class Control
Is required to repaint the control or its snippet?
- Form::isAnchored() — Method in class Form
Tells if the form is anchored.
- IRenderable — Class in namespace Nette\Application\UI
Component with ability to repaint.
- IRenderable::invalidateControl() — Method in class IRenderable
Forces control to repaint.
- IRenderable::isControlInvalid() — Method in class IRenderable
Is required to repaint the control?
- ISignalReceiver — Class in namespace Nette\Application\UI
Component with ability to receive signal.
- IStatePersistent — Class in namespace Nette\Application\UI
Component with ability to save and load its state.
- InvalidLinkException — Class in namespace Nette\Application\UI
Link generation exception.
- $ Presenter#invalidLinkMode — Property in class Presenter
- Presenter::isSignalReceiver() — Method in class Presenter
Checks if the signal receiver is the given one.
- Presenter::isAjax() — Method in class Presenter
Is AJAX request?
- Presenter::injectPrimary() — Method in class Presenter
- PresenterComponent::isLinkCurrent() — Method in class PresenterComponent
Determines whether it links to the current page.
- CacheMacro::initialize() — Method in class CacheMacro
Initializes before template parsing.
- CacheMacro::initRuntime() — Method in class CacheMacro
J
- JsonResponse — Class in namespace Nette\Application\Responses
JSON response used mainly for AJAX requests.
L
- IStatePersistent::loadState() — Method in class IStatePersistent
Loads state informations.
- Link — Class in namespace Nette\Application\UI
Lazy encapsulation of PresenterComponent::link().
- $ Presenter#layout — Property in class Presenter
- $ Presenter#lastCreatedRequest — Property in class Presenter
- Presenter::lastModified() — Method in class Presenter
Attempts to cache the sent entity by its last modification date.
- PresenterComponent::loadState() — Method in class PresenterComponent
Loads state informations.
- PresenterComponent::link() — Method in class PresenterComponent
Generates URL to presenter, action or signal.
- PresenterComponent::lazyLink() — Method in class PresenterComponent
Returns destination as Link object.
M
- MicroPresenter — Class in namespace NetteModule
Micro presenter.
- $ Application#maxLoop — Property in class Application
- IRouter::match() — Method in class IRouter
Maps HTTP request to a Request object.
- $ Request#method — Property in class Request
- CliRouter::match() — Method in class CliRouter
Maps HTTP request to a Request object.
- $ Route#mask — Property in class Route
- Route::match() — Method in class Route
Maps HTTP request to a Request object.
- $ RouteList#module — Property in class RouteList
- RouteList::match() — Method in class RouteList
Maps HTTP request to a Request object.
- SimpleRouter::match() — Method in class SimpleRouter
Maps HTTP request to a Request object.
- Multiplier — Class in namespace Nette\Application\UI
Component multiplier.
N
- $ FileResponse#name — Property in class FileResponse
- CacheMacro::nodeOpened() — Method in class CacheMacro
New node is found.
- CacheMacro::nodeClosed() — Method in class CacheMacro
Node is closed.
O
- $ Application#onStartup — Property in class Application
- $ Application#onShutdown — Property in class Application
- $ Application#onRequest — Property in class Application
- $ Application#onResponse — Property in class Application
- $ Application#onError — Property in class Application
- RouteList::offsetSet() — Method in class RouteList
Adds the router.
- $ Presenter#onShutdown — Property in class Presenter
- PresenterComponent::offsetSet() — Method in class PresenterComponent
Adds the component to the container.
- PresenterComponent::offsetGet() — Method in class PresenterComponent
Returns component specified by name. Throws exception if component doesn't exist.
- PresenterComponent::offsetExists() — Method in class PresenterComponent
Does component specified by name exists?
- PresenterComponent::offsetUnset() — Method in class PresenterComponent
Removes component from the container.
P
- $ Application#presenter — Property in class Application
- $ Application#presenterFactory — Property in class Application
- PresenterFactory — Class in namespace Nette\Application
Default presenter loader.
- $ Request#presenterName — Property in class Request
- $ Request#parameters — Property in class Request
- $ Request#post — Property in class Request
- $ JsonResponse#payload — Property in class JsonResponse
- $ Form#presenter — Property in class Form
- $ Link#parameters — Property in class Link
- Presenter — Class in namespace Nette\Application\UI
Presenter component represents a webpage instance. It converts Request to IResponse.
- $ Presenter#payload — Property in class Presenter
- Presenter::processSignal() — Method in class Presenter
- Presenter::popGlobalParameters() — Method in class Presenter
Pops parameters for specified component.
- PresenterComponent — Class in namespace Nette\Application\UI
PresenterComponent is the base class for all Presenter components.
- $ PresenterComponent#params — Property in class PresenterComponent
- $ PresenterComponent#presenter — Property in class PresenterComponent
- PresenterComponentReflection — Class in namespace Nette\Application\UI
Helpers for Presenter & PresenterComponent.
R
- $ MicroPresenter#request — Property in class MicroPresenter
- MicroPresenter::run() — Method in class MicroPresenter
- MicroPresenter::redirectUrl() — Method in class MicroPresenter
Redirects to another URL.
- $ Application#requests — Property in class Application
- $ Application#router — Property in class Application
- Application::run() — Method in class Application
Dispatch a HTTP request to a front controller.
- Application::restoreRequest() — Method in class Application
- RoutingPanel — Class in namespace Nette\Application\Diagnostics
Routing debugger for Debug Bar.
- IPresenter::run() — Method in class IPresenter
- Request — Class in namespace Nette\Application
Presenter request. Immutable object.
- $ FileResponse#resuming — Property in class FileResponse
- $ ForwardResponse#request — Property in class ForwardResponse
- RedirectResponse — Class in namespace Nette\Application\Responses
Redirects to new URI.
- Route — Class in namespace Nette\Application\Routers
The bidirectional route is responsible for mapping HTTP request to a Request object for dispatch and vice-versa.
- RouteList — Class in namespace Nette\Application\Routers
The router broker.
- Form::receiveHttpData() — Method in class Form
Internal: returns submitted HTTP data or NULL when form was not submitted.
- $ Presenter#request — Property in class Presenter
- Presenter::run() — Method in class Presenter
- Presenter::redirectUrl() — Method in class Presenter
Redirect to another URL and ends presenter execution.
- Presenter::redirectUri() — Method in class Presenter
- Presenter::restoreRequest() — Method in class Presenter
Restores request from session.
- PresenterComponent::redirect() — Method in class PresenterComponent
Redirect to another presenter, action or signal.
S
- Application::storeRequest() — Method in class Application
- IResponse::send() — Method in class IResponse
Sends response to output.
- Request::setPresenterName() — Method in class Request
Sets the presenter name.
- Request::setParameters() — Method in class Request
Sets variables provided to the presenter.
- Request::setParams() — Method in class Request
- Request::setPost() — Method in class Request
Sets variables provided to the presenter via POST.
- Request::setFiles() — Method in class Request
Sets all uploaded files.
- Request::setMethod() — Method in class Request
Sets the method.
- Request::setFlag() — Method in class Request
Sets the flag.
- FileResponse::send() — Method in class FileResponse
Sends response to output.
- ForwardResponse::send() — Method in class ForwardResponse
Sends response to output.
- JsonResponse::send() — Method in class JsonResponse
Sends response to output.
- RedirectResponse::send() — Method in class RedirectResponse
Sends response to output.
- $ TextResponse#source — Property in class TextResponse
- TextResponse::send() — Method in class TextResponse
Sends response to output.
- $ Route#styles — Property in class Route
- Route::setStyleProperty() — Method in class Route
Changes style property value.
- SimpleRouter — Class in namespace Nette\Application\Routers
The bidirectional route for trivial routing via query parameters.
- $ Control#snippetMode — Property in class Control
- $ Control#snippetId — Property in class Control
- Form::signalReceived() — Method in class Form
- ISignalReceiver::signalReceived() — Method in class ISignalReceiver
- IStatePersistent::saveState() — Method in class IStatePersistent
Saves state informations for next request.
- Link::setParameter() — Method in class Link
Changes link parameter.
- $ Presenter#signal — Property in class Presenter
- $ Presenter#session — Property in class Presenter
- Presenter::startup() — Method in class Presenter
- Presenter::shutdown() — Method in class Presenter
- Presenter::setView() — Method in class Presenter
Changes current view. Any name is allowed.
- Presenter::setLayout() — Method in class Presenter
Changes or disables layout.
- Presenter::sendTemplate() — Method in class Presenter
- Presenter::sendPayload() — Method in class Presenter
Sends AJAX payload to the output.
- Presenter::sendResponse() — Method in class Presenter
Sends response and terminates presenter.
- Presenter::storeRequest() — Method in class Presenter
Stores current request to session.
- Presenter::saveGlobalState() — Method in class Presenter
Permanently saves state information for all subcomponents to $this->globalState.
- PresenterComponent::saveState() — Method in class PresenterComponent
Saves state informations for next request.
- PresenterComponent::signalReceived() — Method in class PresenterComponent
T
- TextResponse — Class in namespace Nette\Application\Responses
String output response.
- $ Route#targetPresenter — Property in class Route
- $ Control#template — Property in class Control
- Control::templatePrepareFilters() — Method in class Control
Descendant can override this method to customize template compile-time filters.
- Presenter::terminate() — Method in class Presenter
Correctly terminates presenter.
- PresenterComponent::tryCall() — Method in class PresenterComponent
Calls public method if exists.
U
- PresenterFactory::unformatPresenterClass() — Method in class PresenterFactory
Formats presenter name from class name.
- $ RedirectResponse#url — Property in class RedirectResponse
- $ Presenter#user — Property in class Presenter
- $ PresenterComponent#uniqueId — Property in class PresenterComponent
V
- Control::validateControl() — Method in class Control
Allows control or its snippet to not repaint.
- $ Presenter#view — Property in class Presenter
- PresenterComponent::validateParent() — Method in class PresenterComponent
_
- MicroPresenter::__construct() — Method in class MicroPresenter
- Application::__construct() — Method in class Application
- BadRequestException::__construct() — Method in class BadRequestException
- RoutingPanel::__construct() — Method in class RoutingPanel
- PresenterFactory::__construct() — Method in class PresenterFactory
- Request::__construct() — Method in class Request
- FileResponse::__construct() — Method in class FileResponse
- ForwardResponse::__construct() — Method in class ForwardResponse
- JsonResponse::__construct() — Method in class JsonResponse
- RedirectResponse::__construct() — Method in class RedirectResponse
- TextResponse::__construct() — Method in class TextResponse
- CliRouter::__construct() — Method in class CliRouter
- Route::__construct() — Method in class Route
- RouteList::__construct() — Method in class RouteList
- SimpleRouter::__construct() — Method in class SimpleRouter
- Form::__construct() — Method in class Form
Application form constructor.
- Link::__construct() — Method in class Link
Link specification.
- Link::__toString() — Method in class Link
Converts link to URL.
- Multiplier::__construct() — Method in class Multiplier
- Presenter::__construct() — Method in class Presenter