SilverStripe\Sakemore\Core\More
This class defines the base 'more' URL used with sake.
Synopsis
class More
extends Controller
{
- // members
- private static array $url_handlers = ;
- private static array $allowed_actions = ;
- // methods
- public void init()
- protected void isCli()
- protected void availableCommands()
- protected void showError()
- public void getHelp()
Hierarchy
Extends
- Controller
Tasks
Line | Task |
---|---|
137 | Add arguments and translation. |
Members
private
- $allowed_actions
-
$url_handlers
All sake more commands are prefixed with the 'more' URL.
Methods
protected
- availableCommands() — Gets a list of available commands.
- isCli() — Determines if this script is being run via the command line.
- showError() — Displays errors.