Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • None
  • PHP

Classes

  • Application
  • PresenterFactory
  • PresenterRequest

Interfaces

  • IPresenter
  • IPresenterFactory
  • IPresenterResponse
  • IRouter

Exceptions

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

Class PresenterFactory

Default presenter loader.

PresenterFactory implements IPresenterFactory
Package: Nette\Application
Author: David Grudl
Located at Application/PresenterFactory.php
Methods summary
public
# __construct( string $baseDir, IDIContainer $context )

Parameters

$baseDir
string
$context
public IPresenter
# createPresenter( string $name )

Create new presenter instance.

Create new presenter instance.

Parameters

$name
string
presenter name

Returns

IPresenter

Implementation of

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

Parameters

$name
string
presenter name

Returns

string
class name

Throws

InvalidPresenterException

Implementation of

IPresenterFactory::getPresenterClass
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
Properties summary
public boolean $caseSensitive FALSE
#
Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0