mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/11495] Move classes to tree/ as they all implement a tree
PHPBB3-11495
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Nested Set
|
||||
* @package Tree
|
||||
* @copyright (c) 2013 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
@@ -15,7 +15,7 @@ if (!defined('IN_PHPBB'))
|
||||
exit;
|
||||
}
|
||||
|
||||
interface phpbb_nestedset_interface
|
||||
interface phpbb_tree_interface
|
||||
{
|
||||
/**
|
||||
* Insert an item into the nested set (also insert the rows into the table)
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Nested Set
|
||||
* @package Tree - Nested Set
|
||||
* @copyright (c) 2013 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
@@ -15,7 +15,7 @@ if (!defined('IN_PHPBB'))
|
||||
exit;
|
||||
}
|
||||
|
||||
abstract class phpbb_nestedset_base implements phpbb_nestedset_interface
|
||||
abstract class phpbb_tree_nestedset implements phpbb_tree_interface
|
||||
{
|
||||
/** @var phpbb_db_driver */
|
||||
protected $db;
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Nested Set
|
||||
* @package Tree - Nested Set Forum
|
||||
* @copyright (c) 2013 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
@@ -15,7 +15,7 @@ if (!defined('IN_PHPBB'))
|
||||
exit;
|
||||
}
|
||||
|
||||
class phpbb_nestedset_forum extends phpbb_nestedset_base
|
||||
class phpbb_tree_nestedset_forum extends phpbb_tree_nestedset
|
||||
{
|
||||
/**
|
||||
* Column names in the table
|
Reference in New Issue
Block a user