Packages

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

Classes

Interfaces

Exceptions

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class PresenterFactory

Default presenter loader.

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

Parameters

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

Creates new presenter instance.

Creates new presenter instance.

Parameters

$name
string
presenter name

Returns

IPresenter

Implementation of

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

InvalidPresenterException

Implementation of

IPresenterFactory::getPresenterClass()
public string
# formatPresenterFile( string $presenter )

Formats presenter class file name.

Formats presenter class file name.

Parameters

$presenter
string

Returns

string
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public boolean $caseSensitive FALSE
#
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0