LeKoala\DevToolkit\Tasks\RemoveEmptyGroupsTask
- Author: LeKoala <thomas@lekoala.be>
Synopsis
class RemoveEmptyGroupsTask
extends BuildTask
{
- // members
- protected string $title = "Remove empty/duplicate groups from the cms";
- private static string $segment = 'RemoveEmptyGroupsTask';
- // methods
- public void run()
- // Inherited methods from BuildTaskTools
- protected void increaseTimeLimitTo()
- protected void regenerateClassManifest()
- protected array getValidDataObjects()
- protected array getModules()
- protected HTTPRequest getRequest()
- protected void addOption()
- protected array askOptions()
- protected void message()
- protected void isDev()
- protected void isLive()
Hierarchy
Members
private
- $segment
protected
- $options — array
- $request — LeKoala\DevToolkit\SilverStripe\Control\HTTPRequest
- $title
Methods
public
Inherited from LeKoala\DevToolkit\BuildTaskTools
protected
- addOption() — Add options (to be called later with askOptions)
- askOptions() — Display a form with options
- getModules() — All modules
- getRequest() — Get the request (and keep your imports clean :-) )
- getValidDataObjects() — All dataobjects
- increaseTimeLimitTo() — Increase time limit
- isDev()
- isLive()
- message()
- regenerateClassManifest() — Rebuild the class manifest