[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/cron/task/core/ -> queue.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: 78 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

queue:: (4 methods):
  __construct()
  run()
  is_runnable()
  should_run()


Class: queue  - X-Ref

Queue cron task. Sends email and jabber messages queued by other scripts.

__construct($phpbb_root_path, $php_ext, \phpbb\config\config $config)   X-Ref
Constructor.

param: string $phpbb_root_path The root path
param: string $php_ext PHP file extension
param: \phpbb\config\config $config The config

run()   X-Ref
Runs this cron task.

return: null

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

Queue task is only run if the email queue (file) exists.

return: bool

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

The interval between queue runs is specified in board configuration.

return: bool



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1