TYPO3 CMS  TYPO3_6-2
AbstractContextMenu.php
Go to the documentation of this file.
1 <?php
3 
22 abstract class AbstractContextMenu {
23 
29  protected $dataProvider = NULL;
30 
35  public function setDataProvider(\TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider $dataProvider) {
36  $this->dataProvider = $dataProvider;
37  }
38 
42  public function getDataProvider() {
43  return $this->dataProvider;
44  }
45 
52  abstract public function getActionsForNode(\TYPO3\CMS\Backend\Tree\TreeNode $node);
53 
54 }
getActionsForNode(\TYPO3\CMS\Backend\Tree\TreeNode $node)
setDataProvider(\TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider $dataProvider)