FOFView::loadAnyTemplate
Loads a template given any path. The path is in the format: [admin|site]:com_foobar/viewname/templatename e.g. admin:com_foobar/myview/default
This function searches for Joomla! version override templates. For example, if you have run this under Joomla! 3.0 and you try to load admin:com_foobar/myview/default it will automatically search for the template files default.j30.php, default.j3.php and default.php, in this order.
Signature
public function loadAnyTemplate([string
$path = '',
array
$forceParams] )
Parameters
-
$path
- See above
-
$forceParams
- A hash array of variables to be extracted in the local scope of the template file
Returns
- boolean
- False if loading failed