aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/nestedset/item/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/nestedset/item/base.php')
-rw-r--r--phpBB/includes/nestedset/item/base.php82
1 files changed, 0 insertions, 82 deletions
diff --git a/phpBB/includes/nestedset/item/base.php b/phpBB/includes/nestedset/item/base.php
deleted file mode 100644
index c3a7600827..0000000000
--- a/phpBB/includes/nestedset/item/base.php
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php
-/**
-*
-* @package Nested Set
-* @copyright (c) 2013 phpBB Group
-* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
-*
-*/
-
-/**
-* @ignore
-*/
-if (!defined('IN_PHPBB'))
-{
- exit;
-}
-
-abstract class phpbb_nestedset_item_base implements phpbb_nestedset_item_interface
-{
- /** @var int */
- protected $item_id;
-
- /** @var int */
- protected $parent_id;
-
- /** @var string */
- protected $item_parents_data;
-
- /** @var int */
- protected $left_id;
-
- /** @var int */
- protected $right_id;
-
- /**
- * @inheritdoc
- */
- public function get_item_id()
- {
- return (int) $this->item_id;
- }
-
- /**
- * @inheritdoc
- */
- public function get_parent_id()
- {
- return (int) $this->parent_id;
- }
-
- /**
- * @inheritdoc
- */
- public function get_item_parents_data()
- {
- return (string) $this->item_parents_data;
- }
-
- /**
- * @inheritdoc
- */
- public function get_left_id()
- {
- return (int) $this->left_id;
- }
-
- /**
- * @inheritdoc
- */
- public function get_right_id()
- {
- return (int) $this->right_id;
- }
-
- /**
- * @inheritdoc
- */
- public function has_children()
- {
- return $this->right_id - $this->left_id > 1;
- }
-}