Index
A
- AbortException — Class in namespace Nette\Application
A silent exception used to terminate the current presenter or application.
- Application — Class in namespace Nette\Application
Front Controller.
- ApplicationException — Class in namespace Nette\Application
Fatal error in the application.
- $ Requires#actions — Property in class Requires
- LinkGenerator::applyBase() — Method in class LinkGenerator
- Route::action2path() — Method in class Route
camelCaseAction name -> dash-separated.
- RouteList::addRoute() — Method in class RouteList
- AccessPolicy — Class in namespace Nette\Application\UI
Manages access control to presenter elements based on attributes and built-in rules.
- Component::addComponent() — Method in class Component
- $ Presenter#autoCanonicalize — Property in class Presenter
automatically call canonicalize()
- $ Presenter#absoluteUrls — Property in class Presenter
use absolute Urls or paths?
- $ Presenter#allowedMethods — Property in class Presenter
- Presenter::afterRender() — Method in class Presenter
Called after the view is rendered. Override for post-render processing.
- ApplicationExtension — Class in namespace Nette\Bridges\ApplicationDI
Application extension for Nette DI.
- LatteExtension::addExtension() — Method in class LatteExtension
- RoutingExtension::afterCompile() — Method in class RoutingExtension
- DefaultTemplate::add() — Method in class DefaultTemplate
Adds new template parameter.
- $ ControlNode#args — Property in class ControlNode
- LinkBaseNode::applyLinkBasePass() — Method in class LinkBaseNode
- $ LinkNode#args — Property in class LinkNode
- Template::addFilter() — Method in class Template
Registers run-time filter.
- Template::addFunction() — Method in class Template
Registers run-time function.
B
- BadRequestException — Class in namespace Nette\Application
The request resulted in HTTP 4xx client error.
- BadSignalException — Class in namespace Nette\Application\UI
Signal exception.
- Form::beforeRender() — Method in class Form
- Presenter::beforeRender() — Method in class Presenter
Called before the view is rendered. Override to set up common template variables.
- ApplicationExtension::beforeCompile() — Method in class ApplicationExtension
- LatteExtension::beforeCompile() — Method in class LatteExtension
- RoutingExtension::beforeCompile() — Method in class RoutingExtension
- $ DefaultTemplate#baseUrl — Property in class DefaultTemplate
- $ DefaultTemplate#basePath — Property in class DefaultTemplate
- $ LinkBaseNode#base — Property in class LinkBaseNode
- $ SnippetAreaNode#block — Property in class SnippetAreaNode
- $ SnippetNode#block — Property in class SnippetNode
C
- MicroPresenter::createTemplate() — Method in class MicroPresenter
- $ Application#catchExceptions — Property in class Application
- Application::createInitialRequest() — Method in class Application
Creates request from the current HTTP request via router.
- Application::createErrorRequest() — Method in class Application
Creates a forward request to the error presenter, or returns null if not configured.
- CrossOrigin — Class in namespace Nette\Application\Attributes
Allows cross-origin requests (disables CSRF protection).
- $ BadRequestException#code — Property in class BadRequestException
- $ ForbiddenRequestException#code — Property in class ForbiddenRequestException
- IPresenterFactory::createPresenter() — Method in class IPresenterFactory
Creates new presenter instance.
- LinkGenerator::createRequest() — Method in class LinkGenerator
- PresenterFactory::createPresenter() — Method in class PresenterFactory
Creates new presenter instance.
- CallbackResponse — Class in namespace Nette\Application\Responses
Callback response.
- CliRouter — Class in namespace Nette\Application\Routers
The unidirectional router for CLI. (experimental)
- CliRouter::constructUrl() — Method in class CliRouter
This router is only unidirectional.
- Route::constructUrl() — Method in class Route
Constructs absolute URL from array.
- RouteList::completeParameters() — Method in class RouteList
Support for modules.
- RouteList::constructUrl() — Method in class RouteList
Constructs absolute URL from array.
- AccessPolicy::checkAccess() — Method in class AccessPolicy
- $ BadSignalException#code — Property in class BadSignalException
- Component — Class in namespace Nette\Application\UI
Component is the base class for all Presenter components.
- Component::createComponent() — Method in class Component
- Component::checkRequirements() — Method in class Component
Descendant can override this method to check for permissions.
- ComponentReflection — Class in namespace Nette\Application\UI
Helpers for Presenter & Component.
- ComponentReflection::combineArgs() — Method in class ComponentReflection
- Control — Class in namespace Nette\Application\UI
Control is renderable Presenter component.
- Control::createTemplate() — Method in class Control
- Control::checkTemplateClass() — Method in class Control
- Multiplier::createComponent() — Method in class Multiplier
- ParameterConverter::convertType() — Method in class ParameterConverter
Lossless type conversion.
- Presenter::checkHttpMethod() — Method in class Presenter
- Presenter::changeAction() — Method in class Presenter
Changes current action.
- Presenter::completeTemplate() — Method in class Presenter
Completes template parameters and file before rendering.
- Presenter::createTemplate() — Method in class Presenter
- Presenter::canonicalize() — Method in class Presenter
Conditional redirect to canonicalized URI.
- Presenter::createRequest() — Method in class Presenter
- TemplateFactory::createTemplate() — Method in class TemplateFactory
- $ DefaultTemplate#control — Property in class DefaultTemplate
- LatteFactory::create() — Method in class LatteFactory
- ControlNode — Class in namespace Nette\Bridges\ApplicationLatte\Nodes
{control name[:method] [,] [params]} Renders a component by calling its render() method.
- ControlNode::create() — Method in class ControlNode
- LinkBaseNode::create() — Method in class LinkBaseNode
- LinkNode::create() — Method in class LinkNode
- NNonceNode::create() — Method in class NNonceNode
- $ SnippetAreaNode#content — Property in class SnippetAreaNode
- SnippetAreaNode::create() — Method in class SnippetAreaNode
- $ SnippetNode#content — Property in class SnippetNode
- SnippetNode::create() — Method in class SnippetNode
- TemplateFactory::createTemplate() — Method in class TemplateFactory
- UIExtension::createExtendsNode() — Method in class UIExtension
D
- Deprecated — Class in namespace Nette\Application\Attributes
Marks action, signal, or entire presenter as deprecated.
- Form::disableSameSiteProtection() — Method in class Form
- Presenter::detectedCsrf() — Method in class Presenter
This method will be called when CSRF is detected.
- DefaultTemplate — Class in namespace Nette\Bridges\ApplicationLatte
Default parameters of Latte templates for controls and presenters.
- $ LinkNode#destination — Property in class LinkNode
E
- ErrorPresenter — Class in namespace NetteModule
Default Error Presenter.
- MicroPresenter::error() — Method in class MicroPresenter
Throws HTTP error.
- $ Application#errorPresenter — Property in class Application
- $ Application#error4xxPresenter — Property in class Application
- Component::error() — Method in class Component
Throws HTTP error.
- $ ControlNode#escape — Property in class ControlNode
- SnippetRuntime::enter() — Method in class SnippetRuntime
F
- ForbiddenRequestException — Class in namespace Nette\Application
Access to the requested resource is forbidden.
- PresenterFactory::formatPresenterClass() — Method in class PresenterFactory
Formats presenter class name from its name.
- FileResponse — Class in namespace Nette\Application\Responses
File download response.
- ForwardResponse — Class in namespace Nette\Application\Responses
Forwards to new request.
- Component::formatSignalMethod() — Method in class Component
Formats signal handler method name -> case sensitivity doesn't matter.
- $ ComponentReflection#fileName — Property in class ComponentReflection
- Control::formatTemplateClass() — Method in class Control
- 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::findTemplateFile() — Method in class Presenter
Finds template file name.
- 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::formatTemplateClass() — Method in class Presenter
- Presenter::forward() — Method in class Presenter
Forward to another presenter or action.
- $ DefaultTemplate#flashes — Property in class DefaultTemplate
- UIExtension::findLayoutTemplate() — Method in class UIExtension
G
- MicroPresenter::getContext() — Method in class MicroPresenter
- 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
- Application::getPresenterFactory() — Method in class Application
- BadRequestException::getHttpCode() — Method in class BadRequestException
- Helpers::getClassesAndTraits() — Method in class Helpers
Returns all classes, parent classes, and traits used by the given class, keyed by name.
- IPresenterFactory::getPresenterClass() — Method in class IPresenterFactory
Generates and checks presenter class name.
- PresenterFactory::getPresenterClass() — Method in class PresenterFactory
Generates and checks presenter class name.
- PresenterFactory::getAlias() — Method in class PresenterFactory
Returns the destination registered under the given alias, or throws if not found.
- Request::getPresenterName() — Method in class Request
Returns the presenter name.
- Request::getParameters() — Method in class Request
Returns all variables provided to the presenter (usually via URL).
- Request::getParameter() — Method in class Request
Returns a parameter provided to the presenter.
- Request::getPost() — Method in class Request
Returns a variable 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::getConstantParameters() — Method in class Route
- RouteList::getModule() — Method in class RouteList
- Component::getPresenter() — Method in class Component
Returns the presenter where this component belongs to. Throws if not attached.
- Component::getPresenterIfExists() — Method in class Component
Returns the presenter where this component belongs to, or null if not attached.
- Component::getUniqueId() — Method in class Component
Returns a fully-qualified name that uniquely identifies the component within the presenter hierarchy.
- Component::getReflection() — Method in class Component
Access to reflection.
- Component::getParameter() — Method in class Component
Returns component param.
- Component::getParameters() — Method in class Component
Returns component parameters.
- Component::getParameterId() — Method in class Component
Returns a fully-qualified name that uniquely identifies the parameter.
- ComponentReflection::getParameters() — Method in class ComponentReflection
Returns array of class properties that are public and have attribute #[Persistent] or #[Parameter].
- ComponentReflection::getPersistentParams() — Method in class ComponentReflection
Returns array of persistent properties. They are public and have attribute #[Persistent].
- ComponentReflection::getPersistentComponents() — Method in class ComponentReflection
Returns array of persistent components. They are tagged with class-level attribute
[Persistent] or returned by Presenter::getPersistentComponents().
- ComponentReflection::getTemplateVariables() — Method in class ComponentReflection
- ComponentReflection::getActionRenderMethod() — Method in class ComponentReflection
Returns action() or render() method if available
- ComponentReflection::getSignalMethod() — Method in class ComponentReflection
Returns handle*() method if available
- Control::getTemplate() — Method in class Control
- Control::getSnippetId() — Method in class Control
Returns snippet HTML ID.
- Form::getPresenter() — Method in class Form
Returns the presenter where this component belongs to. Throws if not attached.
- Form::getPresenterIfExists() — Method in class Form
Returns the presenter where this component belongs to, or null if not attached.
- Link::getComponent() — Method in class Link
Returns link component.
- 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.
- ParameterConverter::getType() — Method in class ParameterConverter
- Presenter::getRequest() — Method in class Presenter
- Presenter::getPresenter() — Method in class Presenter
- Presenter::getPresenterIfExists() — Method in class Presenter
- 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
Descendant can override this method to return the names of custom persistent components.
- Presenter::getGlobalState() — Method in class Presenter
Saves state information for all subcomponents to $this->globalState.
- Presenter::getFlashSession() — Method in class Presenter
Returns session namespace provided to pass temporary data between redirects.
- Presenter::getHttpRequest() — Method in class Presenter
- Presenter::getHttpResponse() — Method in class Presenter
- Presenter::getSession() — Method in class Presenter
- Presenter::getUser() — Method in class Presenter
- Presenter::getTemplateFactory() — Method in class Presenter
- Presenter::getLinkGenerator() — Method in class Presenter
- Template::getFile() — Method in class Template
Returns the path to the template file.
- ApplicationExtension::getConfigSchema() — Method in class ApplicationExtension
- ApplicationExtension::generateNewPresenterFileContents() — Method in class ApplicationExtension
- LatteExtension::getConfigSchema() — Method in class LatteExtension
- RoutingExtension::getConfigSchema() — Method in class RoutingExtension
- ControlNode::getIterator() — Method in class ControlNode
- LinkBaseNode::getIterator() — Method in class LinkBaseNode
- LinkNode::getIterator() — Method in class LinkNode
- NNonceNode::getIterator() — Method in class NNonceNode
- SnippetAreaNode::getIterator() — Method in class SnippetAreaNode
- SnippetNode::getIterator() — Method in class SnippetNode
- SnippetRuntime::getHtmlId() — Method in class SnippetRuntime
- Template::getLatte() — Method in class Template
- Template::getFile() — Method in class Template
Returns the path to the template file.
- Template::getParameters() — Method in class Template
Returns array of all parameters.
- UIExtension::getFilters() — Method in class UIExtension
- UIExtension::getFunctions() — Method in class UIExtension
- UIExtension::getProviders() — Method in class UIExtension
- UIExtension::getTags() — Method in class UIExtension
- UIExtension::getPasses() — Method in class UIExtension
- RoutingPanel::getTab() — Method in class RoutingPanel
Renders tab.
- RoutingPanel::getPanel() — Method in class RoutingPanel
Renders panel.
- RoutingPanel::getAgentInfo() — Method in class RoutingPanel
H
- Helpers — Class in namespace Nette\Application
Application helpers.
- Request::hasFlag() — Method in class Request
Checks the flag.
- Component::hasPresenter() — Method in class Component
- ComponentReflection::hasCallableMethod() — Method in class ComponentReflection
Is a method callable? It means class is instantiable and method has public visibility, is non-static and non-abstract.
- Form::hasPresenter() — Method in class Form
- Presenter::hasPresenter() — Method in class Presenter
- Presenter::hasFlashSession() — Method in class Presenter
Checks if a flash session namespace exists.
- $ SnippetNode#htmlElement — Property in class SnippetNode
I
- IPresenter — Class in namespace Nette\Application
Presenter converts Request to Response.
- IPresenterFactory — Class in namespace Nette\Application
Responsible for creating a new instance of given presenter.
- IResponse — Class in namespace Nette\Application
- InvalidPresenterException — Class in namespace Nette\Application
The requested presenter cannot be loaded.
- Request::isMethod() — Method in class Request
Checks if the method is the given one.
- AccessPolicy::isLinkable() — Method in class AccessPolicy
- Component::isLinkCurrent() — Method in class Component
Determines whether it links to the current page.
- 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
- ISignalReceiver — Class in namespace Nette\Application\UI
- IStatePersistent — Class in namespace Nette\Application\UI
- ITemplate — Class in namespace Nette\Application\UI
- ITemplateFactory — Class in namespace Nette\Application\UI
- InvalidLinkException — Class in namespace Nette\Application\UI
Link generation exception.
- Link::isLinkCurrent() — Method in class Link
Determines whether this links to the current page.
- $ Presenter#invalidLinkMode — Property in class Presenter
- Presenter::isModuleCurrent() — Method in class Presenter
Checks whether the current presenter belongs to the given module.
- Presenter::isForwarded() — Method in class Presenter
Checks whether the current request was forwarded from another presenter or action.
- 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
- Renderable::isControlInvalid() — Method in class Renderable
Is required to repaint the control?
- ApplicationExtension::initializeBlueScreenPanel() — Method in class ApplicationExtension
- LatteExtension::initLattePanel() — Method in class LatteExtension
- ILatteFactory — Class in namespace Nette\Bridges\ApplicationLatte
J
- JsonResponse — Class in namespace Nette\Application\Responses
JSON response used mainly for AJAX requests.
L
- LinkGenerator — Class in namespace Nette\Application
Link generator.
- $ LinkGenerator#lastRequest — Property in class LinkGenerator
- LinkGenerator::link() — Method in class LinkGenerator
Generates URL to presenter.
- Component::loadState() — Method in class Component
Loads state information.
- Component::link() — Method in class Component
Generates URL to presenter, action or signal.
- Component::lazyLink() — Method in class Component
Returns destination as Link object.
- Link — Class in namespace Nette\Application\UI
Lazy encapsulation of Component::link().
- Presenter::lastModified() — Method in class Presenter
Attempts to cache the sent entity by its last modification date.
- StatePersistent::loadState() — Method in class StatePersistent
Loads state information.
- ApplicationExtension::loadConfiguration() — Method in class ApplicationExtension
- LatteExtension — Class in namespace Nette\Bridges\ApplicationDI
Latte extension for Nette DI.
- LatteExtension::loadConfiguration() — Method in class LatteExtension
- RoutingExtension::loadConfiguration() — Method in class RoutingExtension
- LatteFactory — Class in namespace Nette\Bridges\ApplicationLatte
- LinkBaseNode — Class in namespace Nette\Bridges\ApplicationLatte\Nodes
{linkBase module} Sets base path prepended to relative link destinations.
- LinkNode — Class in namespace Nette\Bridges\ApplicationLatte\Nodes
{link destination [,] [params]} {plink destination [,] [params]} n:href="destination [,] [params]" Generates URL to presenter action or signal.
- SnippetRuntime::leave() — Method in class SnippetRuntime
M
- MicroPresenter — Class in namespace NetteModule
Micro presenter.
- $ Application#maxLoop — Property in class Application
- $ Requires#methods — Property in class Requires
- CliRouter::match() — Method in class CliRouter
Maps command line arguments to an array.
- Route::match() — Method in class Route
Maps HTTP request to an array.
- Multiplier — Class in namespace Nette\Application\UI
Component multiplier.
- $ ControlNode#method — Property in class ControlNode
- $ LinkNode#modifier — Property in class LinkNode
- $ LinkNode#mode — Property in class LinkNode
N
- $ ComponentReflection#name — Property in class ComponentReflection
- $ ControlNode#name — Property in class ControlNode
- NNonceNode — Class in namespace Nette\Bridges\ApplicationLatte\Nodes