\CommandControllerExtension
- Author: Rainer Spittel (rainer at silverstripe dot com) This extension class enables the usage of the static get_command method via the controller class itself which passes in the controller parameter to the factory class.
Synopsis
class CommandControllerExtension
extends Extension
{
- // methods
- public ControllerCommand getCommand()
Hierarchy
Extends
- Extension
Methods
public
- getCommand() — Returns the requested command and assigns the controller class to its owner/caller. See @link CommandFactory for more details.