aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task/base.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-12-17 01:24:27 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2011-02-12 22:05:53 -0500
commit47702b8ca72aeaa2b33dd13f2aa762ae7271c10a (patch)
tree301bc2522dd6195cafd92a9d29fc4031ed9cf10c /phpBB/includes/cron/task/base.php
parent3c0561b68fc3bcff387d46d255ca1accc80df88a (diff)
downloadforums-47702b8ca72aeaa2b33dd13f2aa762ae7271c10a.tar
forums-47702b8ca72aeaa2b33dd13f2aa762ae7271c10a.tar.gz
forums-47702b8ca72aeaa2b33dd13f2aa762ae7271c10a.tar.bz2
forums-47702b8ca72aeaa2b33dd13f2aa762ae7271c10a.tar.xz
forums-47702b8ca72aeaa2b33dd13f2aa762ae7271c10a.zip
[feature/system-cron] Add phpDoc documentation for everything else.
PHPBB3-9596
Diffstat (limited to 'phpBB/includes/cron/task/base.php')
-rw-r--r--phpBB/includes/cron/task/base.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/cron/task/base.php b/phpBB/includes/cron/task/base.php
index dff98175fb..a4e89f137f 100644
--- a/phpBB/includes/cron/task/base.php
+++ b/phpBB/includes/cron/task/base.php
@@ -33,6 +33,8 @@ abstract class phpbb_cron_task_base implements phpbb_cron_task
*
* For example, a cron task that prunes forums can only run when
* forum pruning is enabled.
+ *
+ * @return bool
*/
public function is_runnable()
{
@@ -42,6 +44,8 @@ abstract class phpbb_cron_task_base implements phpbb_cron_task
/**
* Returns whether this cron task should run now, because enough time
* has passed since it was last run.
+ *
+ * @return bool
*/
public function should_run()
{
@@ -50,6 +54,8 @@ abstract class phpbb_cron_task_base implements phpbb_cron_task
/**
* Returns whether this cron task can be run in shutdown function.
+ *
+ * @return bool
*/
public function is_shutdown_function_safe()
{