TYPO3 CMS  TYPO3_6-2
AbstractExtdirectContextMenu.php
Go to the documentation of this file.
1 <?php
3 
27 
41  public function getActionsForNodeArray($nodeData) {
42  if ($this->dataProvider === NULL) {
43  $dataProvider = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\ContextMenu\\AbstractContextMenuDataProvider');
45  }
47  $node = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Tree\\TreeNode', (array) $nodeData);
48  $actions = $this->dataProvider->getActionsForNode($node);
49  return $actions;
50  }
51 
59  public function getActionsForNode(\TYPO3\CMS\Backend\Tree\TreeNode $node) {
60 
61  }
62 
63 }
setDataProvider(\TYPO3\CMS\Backend\ContextMenu\AbstractContextMenuDataProvider $dataProvider)