1 | <?php |
||
25 | class FluidStandaloneService |
||
26 | { |
||
27 | |||
28 | /** |
||
29 | * The configuration manager |
||
30 | * |
||
31 | * @var \TYPO3\CMS\Extbase\Configuration\ConfigurationManager |
||
32 | * @inject |
||
33 | */ |
||
34 | protected $configurationManager; |
||
35 | |||
36 | /** |
||
37 | * Returns the template folders for the given part |
||
38 | * |
||
39 | * @param string $part |
||
40 | * @return array |
||
41 | * @throws \TYPO3\CMS\Extbase\Configuration\Exception\InvalidConfigurationTypeException |
||
42 | */ |
||
43 | public function getTemplateFolders($part = 'template') |
||
70 | |||
71 | /** |
||
72 | * Return path and filename for a file or path. |
||
73 | * Only the first existing file/path will be returned. |
||
74 | * respect *RootPaths and *RootPath |
||
75 | * |
||
76 | * @param string $pathAndFilename e.g. Email/Name.html |
||
77 | * @param string $part "template", "partial", "layout" |
||
78 | * @return string Filename/path |
||
79 | */ |
||
80 | public function getTemplatePath($pathAndFilename, $part = 'template') |
||
85 | |||
86 | /** |
||
87 | * Return path and filename for one or many files/paths. |
||
88 | * Only existing files/paths will be returned. |
||
89 | * respect *RootPaths and *RootPath |
||
90 | * |
||
91 | * @param string $pathAndFilename Path/filename (Email/Name.html) or path |
||
92 | * @param string $part "template", "partial", "layout" |
||
93 | * @return array All existing matches found |
||
94 | */ |
||
95 | protected function getTemplatePaths($pathAndFilename, $part = 'template') |
||
106 | } |