TYPO3 CMS  TYPO3_6-2
PageHook.php
Go to the documentation of this file.
1 <?php
2 namespace TYPO3\CMS\SysNote\Hook;
3 
23 class PageHook {
24 
32  public function render(array $params = array(), \TYPO3\CMS\Backend\Controller\PageLayoutController $parentObject) {
34  $noteBootstrap = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\SysNote\\Core\\Bootstrap');
35  return $noteBootstrap->run('Note', 'list', array('pids' => $parentObject->id));
36  }
37 
38 }