Class PresenterFactory
Default presenter loader.
-
Nette\Object
-
Nette\Application\PresenterFactory
implements
Nette\Application\IPresenterFactory
Methods summary
public
|
#
__construct( callable $factory = NULL )
Parameters
- $factory
- (string $class): IPresenter
|
public
Nette\Application\IPresenter
|
#
createPresenter( string $name )
Creates new presenter instance.
Creates new presenter instance.
Parameters
Returns
Implementation of
|
public
string
|
#
getPresenterClass( string & $name )
Generates and checks presenter class name.
Generates and checks presenter class name.
Parameters
Returns
string class name
Throws
Implementation of
|
public
Nette\Application\PresenterFactory
|
#
setMapping( array $mapping )
Sets mapping as pairs [module => mask]
Sets mapping as pairs [module => mask]
Returns
|