/**
  * Initializes the DrawItem
  *
  * @return void
  */
 public function initialize()
 {
     parent::initialize();
     $this->view = $this->objectManager->get(StandaloneView::class);
     $this->view->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName('EXT:vantomas/Resources/Private/Templates/DrawItem/SiteLastUpdatedPages.html'));
     $this->pageRepository = $this->objectManager->get(PageRepository::class);
 }
Exemplo n.º 2
0
 /**
  * Initializes the DrawItem
  *
  * @return void
  */
 public function initialize()
 {
     parent::initialize();
     $this->view = $this->objectManager->get(StandaloneView::class);
     $this->view->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName('EXT:vantomas/Resources/Private/Templates/DrawItem/CodeSnippet.html'));
 }