FOFController::getTmpInstance
Gets a temporary instance of a controller object. A temporary instance is not a Singleton and can be disposed off after use.
Signature
public function getTmpInstance([string
$option = null,
[string
$view = null,
array
$config]] )
Parameters
-
$option
- The component name, e.g. com_foobar
-
$view
- The view name, e.g. cpanel
-
$config
- Configuration parameters
Returns
- FOFController
- A disposable class instance