OXID eShop CE
4.10.2
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
oxsmartyrenderer.php
Go to the documentation of this file.
1
<?php
2
8
class
oxSmartyRenderer
9
{
10
19
public
function
renderTemplate
($sTemplateName, $aViewData = array())
20
{
21
$oSmarty =
oxRegistry::get
(
"oxUtilsView"
)->getSmarty();
22
23
foreach
($aViewData as $key => $value) {
24
$oSmarty->assign($key, $value);
25
}
26
27
$sBody = $oSmarty->fetch($sTemplateName);
28
29
return
$sBody;
30
}
31
}
application
models
oxsmartyrenderer.php
Generated by
1.8.1.2