[ Index ]

PHP Cross Reference of phpBB-3.3.9-deutsch




/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):

Class: tidy_cache  - X-Ref

Tidy cache cron task.

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

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

return: bool

Generated: Wed Dec 7 15:09:22 2022 Cross-referenced by PHPXref 0.7.1