[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/phpbb/tree/ -> nestedset_forum.php (source)

   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\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  }


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