FOFView::loadTemplate
Overrides the built-in loadTemplate function with an FOF-specific one.
Our overriden function uses loadAnyTemplate to provide smarter view template loading.
Signature
public function loadTemplate([string
$tpl = null,
[boolean
$strict = false]] )
Parameters
-
$tpl
- The name of the template file to parse
-
$strict
- Should we use strict naming, i.e. force a non-empty $tpl?
Returns
- mixed
- A string if successful, otherwise a JError object