Overview

Namespaces

  • Budovy
  • Kdyby
    • BootstrapFormRenderer
      • DI
      • Latte
  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • Nextras
    • Datagrid
  • None
  • PHP
  • Tester
    • CodeCoverage
    • Runner
      • Output
  • Vodacek
    • Forms
      • Controls
  • WebLoader
    • Filter
    • Nette

Classes

  • Application
  • PresenterFactory
  • Request

Interfaces

  • IPresenter
  • IPresenterFactory
  • IResponse
  • IRouter

Exceptions

  • AbortException
  • ApplicationException
  • BadRequestException
  • ForbiddenRequestException
  • InvalidPresenterException
  • Overview
  • Namespace
  • Class
  • Tree

Class PresenterFactory

Default presenter loader.

Nette\Object
Extended by Nette\Application\PresenterFactory implements Nette\Application\IPresenterFactory
Namespace: Nette\Application
Author: David Grudl
Located at vendor/nette/nette/Nette/Application/PresenterFactory.php
Methods summary
public
# __construct( string $baseDir, Nette\DI\Container $container )

Parameters

$baseDir
string
$container
public Nette\Application\IPresenter
# createPresenter( string $name )

Creates new presenter instance.

Creates new presenter instance.

Parameters

$name
string
presenter name

Returns

Nette\Application\IPresenter

Implementation of

Nette\Application\IPresenterFactory::createPresenter()
public string
# getPresenterClass( string & $name )

Generates and checks presenter class name.

Generates and checks presenter class name.

Parameters

$name
string
presenter name

Returns

string
class name

Throws

Nette\Application\InvalidPresenterException

Implementation of

Nette\Application\IPresenterFactory::getPresenterClass()
public Nette\Application\PresenterFactory
# setMapping( array $mapping )

Sets mapping as pairs [module => mask]

Sets mapping as pairs [module => mask]

Returns

Nette\Application\PresenterFactory
public string
# formatPresenterClass( string $presenter )

Formats presenter class name from its name.

Formats presenter class name from its name.

Parameters

$presenter
string

Returns

string
public string
# unformatPresenterClass( string $class )

Formats presenter name from class name.

Formats presenter name from class name.

Parameters

$class
string

Returns

string
public string
# formatPresenterFile( string $presenter )

Formats presenter class file name.

Formats presenter class file name.

Parameters

$presenter
string

Returns

string
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public boolean $caseSensitive FALSE
#
Magic properties inherited from Nette\Object
$reflection
API documentation generated by ApiGen 2.8.0