LeKoala\Base\i18n\ConfigurableI18nTextCollectorTask
A better task for collecting text
Use our TextCollector under the hood that actually works...
Synopsis
class ConfigurableI18nTextCollectorTask
extends BuildTask
{
- // members
- private static string $segment = 'ConfigurableI18nTextCollectorTask';
- protected string $title = "Configurable i18n Textcollector Task";
- protected string $description = " Traverses through files in order to collect the 'entity master tables' stored in each module. Provides the ability to choose modules and clear/merge translations. ";
- // 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
- $description
- $options — array
- $request — LeKoala\Base\i18n\SilverStripe\Control\HTTPRequest
- $title
Methods
public
- run() — This is the main method to build the master string tables with the original strings.
Inherited from LeKoala\Base\i18n\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