[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

Defines 1 class

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


Class: tidy_cache  - X-Ref

Tidy cache cron task.

__construct(\phpbb\config\config $config, \phpbb\cache\driver\driver_interface $cache)   X-Ref
Constructor.

param: \phpbb\config\config $config The config
param: \phpbb\cache\driver\driver_interface $cache The cache driver

run()   X-Ref
Runs this cron task.

return: null

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

Tidy cache cron task runs if the cache implementation in use
supports tidying.

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 cache tidying is specified in board
configuration.

return: bool



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1