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