You are here

abstract public function Cron::saveTasks in Anti Spam by CleanTalk 8.4

Same name in this branch
  1. 8.4 src/lib/Cleantalk/Common/Cron.php \Cleantalk\Common\Cron::saveTasks()
  2. 8.4 src/lib/Cleantalk/ApbctDrupal/Cron.php \Cleantalk\ApbctDrupal\Cron::saveTasks()
Same name and namespace in other branches
  1. 9.1.x src/lib/Cleantalk/Common/Cron.php \Cleantalk\Common\Cron::saveTasks()

Save option with tasks

Parameters

array $tasks:

Return value

bool

4 calls to Cron::saveTasks()
Cron::addTask in src/lib/Cleantalk/Common/Cron.php
Adding new cron task.
Cron::checkTasks in src/lib/Cleantalk/Common/Cron.php
Getting tasks which should be run
Cron::removeTask in src/lib/Cleantalk/Common/Cron.php
Removing cron task
Cron::runTasks in src/lib/Cleantalk/Common/Cron.php
Run all tasks from $this->tasks_to_run. Saving all results to (array) $this->tasks_completed
1 method overrides Cron::saveTasks()
Cron::saveTasks in src/lib/Cleantalk/ApbctDrupal/Cron.php
Save option with tasks

File

src/lib/Cleantalk/Common/Cron.php, line 76

Class

Cron
CleanTalk Cron class

Namespace

Cleantalk\Common

Code

public abstract function saveTasks($tasks);