[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/phpbb/cron/task/ -> task.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 52 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

task:: (4 methods):
  get_name()
  run()
  is_runnable()
  should_run()


Interface: task  - X-Ref

Cron task interface

get_name()   X-Ref
Returns the name of the task.

return: string        Name of wrapped task.

run()   X-Ref
Runs this cron task.

return: null

is_runnable()   X-Ref
Returns whether this cron task can run, given current board configuration.

For example, a cron task that prunes forums can only run when
forum pruning is enabled.

return: bool

should_run()   X-Ref
Returns whether this cron task should run now, because enough time
has passed since it was last run.

return: bool



Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1