Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2013-11-01 17:21:56 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2013-11-01 17:21:56 +0400
commit6ad190a3409f7edfc9240a8ca84bf70ddb7e4cda (patch)
tree981e28b00c238f055109aa83e2935315731273b2 /core/TaskScheduler.php
parentd6a53479b1a94de30075273dc98120ba86dd5efe (diff)
Refs #4200, documented ScheduledTime a bit and added a factory method that can be used to create ScheduledTime instances w/ one line of code.
Diffstat (limited to 'core/TaskScheduler.php')
-rw-r--r--core/TaskScheduler.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/TaskScheduler.php b/core/TaskScheduler.php
index 4ab6d0122a..d474206b0e 100644
--- a/core/TaskScheduler.php
+++ b/core/TaskScheduler.php
@@ -25,6 +25,20 @@ define('DEBUG_FORCE_SCHEDULED_TASKS', false);
*
* Tasks are executed when the cron archive.php script is executed.
*
+ * ### Scheduling Tasks
+ *
+ * **TODO**
+ *
+ * ### Examples
+ *
+ * **Scheduling a task**
+ *
+ * // TODO
+ *
+ * **Executing all pending tasks**
+ *
+ * // TODO
+ *
* @package Piwik
* @api
*/