\CommandFactory
- Author: Rainer Spittel (rainer at silverstripe dot com) The command factory class provides a method to initiate a command object. The factory class checks for all available ICommand implementations (@see ICommand) and initiate the command object. If the requested command name is not available, the factory class will throw an exception.
Synopsis
class CommandFactory
extends Object
{
- // members
- public static string $baseclass = 'ICommand';
- // methods
- public static ControllerCommand get_command()
Hierarchy
Extends
- Object
Members
public
- $baseclass