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