Class PresenterFactory
Default presenter loader.
-
Nette\Object
-
Nette\Application\PresenterFactory
implements
Nette\Application\IPresenterFactory
Methods summary
public
|
|
public
Nette\Application\IPresenter
|
#
createPresenter( string $name )
Creates new presenter instance.
Creates new presenter instance.
Parameters
- $name
string presenter name
Returns
Implementation of
|
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
Implementation of
|
public
Nette\Application\PresenterFactory
|
#
setMapping( array $mapping )
Sets mapping as pairs [module => mask]
Sets mapping as pairs [module => mask]
Returns
|
public
string
|
#
formatPresenterFile( string $presenter )
Formats presenter class file name.
Formats presenter class file name.
Parameters
Returns
string
|