Revision a1173897
ID | a1173897ceb00aa20669f8dd14b8cc4f795cb620 |
[FEATURE] Fallback paths
With this change it will be possible to define multiple values
for the ``template``, ``partial`` and ``layout`` root path configuration.
Each of the respective options will now have a corresponding setter
that enables configuration of multiple paths to look up when loading a
Fluid template file::
$view->setTemplateRootPaths(array('first/path', 'second/path', …));
The old setters will be kept and they overrule the fallback paths. So::
$view->setTemplateRootPath('some/path');
would disable the fallback paths of the previous example. The same is true
for ``setPartialRootPath()`` and ``setLayoutRootPath()``.
The rootPath-getters have been deprecated in favor of
``getTemplateRootPaths()``, ``getPartialRootPaths()`` and
``getLayoutRootPaths()``.
Change-Id: I530e9a1fadbbd210c980c62cf2022c38fa81bb56
Resolves: #39870
Releases: master
- added
- modified
- copied
- renamed
- deleted