FOFPlatformInterface::getViewTemplatePaths
Return a list of the view template paths for this component. The paths are in the format site:/component_name/view_name/layout_name or admin:/component_name/view_name/layout_name
The list of paths returned is a prioritised list. If a file is found in the first path the other paths will not be scanned.
Signature
public function getViewTemplatePaths(string
$component,
[string
$view = 'default',
[string
$layout = 'default',
[string
$tpl = null,
[boolean
$strict = false]]]] )
Parameters
-
$component
- The name of the component. For Joomla! this
-
$view
- The name of the view you're looking a
-
$layout
- The layout name to load, e.g. 'default'
-
$tpl
- The sub-template name to load (null by default)
-
$strict
- If true, only the specified layout will be
Returns
- array