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
  • PHP

Classes

  • Application
  • PresenterFactory
  • PresenterRequest

Interfaces

  • IPresenter
  • IPresenterFactory
  • IPresenterResponse
  • IRouter

Exceptions

  • AbortException
  • ApplicationException
  • BadRequestException
  • ForbiddenRequestException
  • InvalidPresenterException
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (http://nette.org)
 5:  *
 6:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 7:  *
 8:  * For the full copyright and license information, please view
 9:  * the file license.txt that was distributed with this source code.
10:  * @package Nette\Application
11:  */
12: 
13: 
14: 
15: /**
16:  * Responsible for creating a new instance of given presenter.
17:  *
18:  * @author Jan Tichý <tichy@medio.cz>
19:  * @package Nette\Application
20:  */
21: interface IPresenterFactory
22: {
23: 
24:     /**
25:      * @param  string  presenter name
26:      * @return string  class name
27:      * @throws InvalidPresenterException
28:      */
29:     function getPresenterClass(& $name);
30: 
31:     /**
32:      * Create new presenter instance.
33:      * @param  string  presenter name
34:      * @return IPresenter
35:      */
36:     function createPresenter($name);
37: 
38: }
39: 
Nette Framework 2.0.3 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0