[ Index ]

PHP Cross Reference of phpBB-3.3.9-deutsch

title

Body

[close]

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

Defines 1 class

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


Class: tidy_search  - X-Ref

Tidy search cron task.

Will only run when the currently selected search backend supports tidying.
__construct($phpbb_root_path, $php_ext, \phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\user $user, \phpbb\event\dispatcher_interface $phpbb_dispatcher)   X-Ref
Constructor.

param: string $phpbb_root_path The phpBB root path
param: string $php_ext The PHP file extension
param: \phpbb\auth\auth $auth The auth object
param: \phpbb\config\config $config The config object
param: \phpbb\db\driver\driver_interface $db The database object
param: \phpbb\user $user The user object
param: \phpbb\event\dispatcher_interface $phpbb_dispatcher The event dispatcher object

run()   X-Ref
Runs this cron task.

return: null

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

Search cron task is runnable in all normal use. It may not be
runnable if the search backend implementation selected in board
configuration does not exist.

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

return: bool



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