Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * |
4 | * This file is part of the phpBB Forum Software package. |
5 | * |
6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
8 | * |
9 | * For full copyright and license information, please see |
10 | * the docs/CREDITS.txt file. |
11 | * |
12 | */ |
13 | |
14 | namespace phpbb\textreparser; |
15 | |
16 | interface reparser_interface |
17 | { |
18 | /** |
19 | * Return the highest ID for all existing records |
20 | * |
21 | * @return integer |
22 | */ |
23 | public function get_max_id(); |
24 | |
25 | /** |
26 | * Returns the name of the reparser |
27 | * |
28 | * @return string Name of reparser |
29 | */ |
30 | public function get_name(); |
31 | |
32 | /** |
33 | * Sets the name of the reparser |
34 | * |
35 | * @param string $name The reparser name |
36 | */ |
37 | public function set_name($name); |
38 | |
39 | /** |
40 | * Reparse all records in given range |
41 | * |
42 | * @param integer $min_id Lower bound |
43 | * @param integer $max_id Upper bound |
44 | * @param bool $force_bbcode_reparsing Flag indicating if BBCode should be reparsed unconditionally |
45 | */ |
46 | public function reparse_range($min_id, $max_id, bool $force_bbcode_reparsing = false); |
47 | } |