getLayoutRootPaths() public method

public getLayoutRootPaths ( ) : array
return array
Ejemplo n.º 1
0
 /**
  * @return void
  */
 public function testFillByTypoScript()
 {
     $instance = new TemplatePaths(array('templateRootPaths' => array('EXT:flux/Resources/Private/Templates/'), 'layoutRootPaths' => array('EXT:flux/Resources/Private/Layouts/'), 'partialRootPaths' => array('EXT:flux/Resources/Private/Partials/')));
     $this->assertEquals(array(ExtensionManagementUtility::extPath('flux', 'Resources/Private/Templates/')), $instance->getTemplateRootPaths());
     $this->assertEquals(array(ExtensionManagementUtility::extPath('flux', 'Resources/Private/Layouts/')), $instance->getLayoutRootPaths());
     $this->assertEquals(array(ExtensionManagementUtility::extPath('flux', 'Resources/Private/Partials/')), $instance->getPartialRootPaths());
 }
Ejemplo n.º 2
0
 /**
  * @param TemplatePaths $templatePaths
  * @return void
  */
 public function setTemplatePaths(TemplatePaths $templatePaths)
 {
     $this->setTemplateRootPaths($templatePaths->getTemplateRootPaths());
     $this->setLayoutRootPaths($templatePaths->getLayoutRootPaths());
     $this->setPartialRootPaths($templatePaths->getPartialRootPaths());
 }