Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
nestedset_forum.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 namespace phpbb\tree;
15
16 class nestedset_forum extends \phpbb\tree\nestedset
17 {
18 /**
19 * Construct
20 *
21 * @param \phpbb\db\driver\driver_interface $db Database connection
22 * @param \phpbb\lock\db $lock Lock class used to lock the table when moving forums around
23 * @param string $table_name Table name
24 */
25 public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\lock\db $lock, $table_name)
26 {
27 parent::__construct(
28 $db,
29 $lock,
30 $table_name,
31 'FORUM_NESTEDSET_',
32 '',
33 array(
34 'forum_id',
35 'forum_name',
36 'forum_type',
37 ),
38 array(
39 'item_id' => 'forum_id',
40 'item_parents' => 'forum_parents',
41 )
42 );
43 }
44 }
45