first commit
This commit is contained in:
commit
1218dd1517
12716 files changed
+989233
No files matched your search
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
namespace TYPO3\CMS\Backend\Tree;
|
||||
|
||||
/*
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
*
|
||||
* It is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License, either version 2
|
||||
* of the License, or any later version.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*
|
||||
* The TYPO3 project - inspiring people to share!
|
||||
*/
|
||||
|
||||
/**
|
||||
* Abstract Tree Data Provider
|
||||
*/
|
||||
abstract class AbstractTreeDataProvider
|
||||
{
|
||||
/**
|
||||
* Root Node
|
||||
*
|
||||
* @var \TYPO3\CMS\Backend\Tree\TreeNode
|
||||
*/
|
||||
protected $rootNode;
|
||||
|
||||
/**
|
||||
* Returns the root node
|
||||
*
|
||||
* @return \TYPO3\CMS\Backend\Tree\TreeNode
|
||||
*/
|
||||
abstract public function getRoot();
|
||||
|
||||
/**
|
||||
* Fetches the subnodes of the given node
|
||||
*
|
||||
* @param \TYPO3\CMS\Backend\Tree\TreeNode $node
|
||||
* @return \TYPO3\CMS\Backend\Tree\TreeNodeCollection
|
||||
*/
|
||||
abstract public function getNodes(\TYPO3\CMS\Backend\Tree\TreeNode $node);
|
||||
}
|
||||
Reference in new issue
Block a user