[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/phpbb/textreparser/ -> manager.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: 148 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

manager:: (6 methods):
  __construct()
  get_resume_data()
  update_resume_data()
  schedule()
  schedule_all()
  find_reparser()


Class: manager  - X-Ref

__construct(\phpbb\config\config $config, \phpbb\config\db_text $config_text, \phpbb\di\service_collection $reparsers)   X-Ref
Constructor

param: \phpbb\config\config            $config
param: \phpbb\config\db_text            $config_text
param: \phpbb\di\service_collection    $reparsers

get_resume_data($name)   X-Ref
Loads resume data from the database

param: string    $name    Name of the reparser to which the resume data belongs
return: array

update_resume_data($name, $min, $current, $size, $update_db = true)   X-Ref
Updates the resume data in the database

param: string    $name        Name of the reparser to which the resume data belongs
param: int        $min        Lowest record ID
param: int        $current    Current record ID
param: int        $size        Number of records to process at a time
param: bool        $update_db    True if the resume data should be written to the database, false if not. (default: true)

schedule($name, $interval)   X-Ref
Sets the interval for a text_reparser cron task

param: string    $name        Name of the reparser to schedule
param: int        $interval    Interval in seconds, 0 to disable the cron task

schedule_all($interval)   X-Ref
Sets the interval for all text_reparser cron tasks

param: int    $interval    Interval in seconds, 0 to disable the cron task

find_reparser($name)   X-Ref
Finds a reparser by name.

If there is no reparser with the specified name, null is returned.

param: string $name Name of the reparser to look up.
return: string A reparser service name, or null.



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