require_once('path/to/CSmartyDP.php'); $smarty = new CSmartyDP(); $smarty->assign('foo', 'bar'); $smarty->display('path/to/template.tpl');
$smarty->display('path/to/template.tpl', 'cache/id');
$smarty->assign('hello', _('Hello')); $smarty->display('path/to/template.tpl');Based on the naming convention "CSmartyDP", it is likely that this library is part of the "C" family of libraries, which includes other popular PHP libraries such as CUrl and CArray.