Sunnysideup\SearchSimpleSmart\Tasks\SearchEngineBaseTask
Synopsis
class SearchEngineBaseTask
extends BuildTask
{
- // members
- protected string $task = '';
- protected string $type = '';
- protected integer $limit = 100000;
- protected integer $step = 10;
- protected string $title = 'Base Search Engine Task';
- protected string $description = 'Does not do anything special, just sets up the task.';
- protected bool $verbose = true;
- protected bool $unindexedOnly = false;
- protected bool $oldOnesOnly = false;
- private static string $segment = 'searchenginebasetask';
- // methods
- public void run()
- public void flushNow()
- public void Link()
- public void runStart()
- public void runEnd()
- protected void onOffInput()
- protected void createOptionList()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $segment
—
string
Set a custom url segment (to follow dev/tasks/)
protected
- $description
—
string
description of the task - $limit — int
- $oldOnesOnly — Sunnysideup\SearchSimpleSmart\Tasks\bool
- $step — int
- $task — string
- $title
—
string
title of the task - $type — string
- $unindexedOnly — Sunnysideup\SearchSimpleSmart\Tasks\bool
- $verbose — Sunnysideup\SearchSimpleSmart\Tasks\bool
Methods
protected
public
- Link()
- flushNow()
- run() — this function runs the SearchEngineRemoveAll task
- runEnd()
- runStart()