JControllerLegacy::getInstance
Method to get a singleton controller instance.
Signature
public function getInstance(string
$prefix,
array
$configĀ )
Parameters
-
$prefix
- The prefix for the controller.
-
$config
- An array of optional constructor options.
Returns
- JControllerLegacy
Errors/Exceptions
-
Exception
- if the controller cannot be loaded.