本文整理汇总了PHP中smarty_care::Copyright方法的典型用法代码示例。如果您正苦于以下问题:PHP smarty_care::Copyright方法的具体用法?PHP smarty_care::Copyright怎么用?PHP smarty_care::Copyright使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类smarty_care
的用法示例。
在下文中一共展示了smarty_care::Copyright方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
* This is a hybrid compromise as long as not all forms are converted to smarty
* templates. In this case, when the form is pathology, the smarty assignments are done
* otherwise the output is buffered
*/
$edit = 0;
if ($target == 'patho') {
$smarty->assign('patho', TRUE);
include $root_path . 'include/inc_test_request_printout_patho.php';
} else {
# Collect output buffer
ob_start();
if ($target == 'baclabor') {
include $root_path . 'include/inc_test_findings_form_baclabor.php';
} else {
include $root_path . 'include/inc_test_request_printout_' . $target . '.php';
}
$sTemp = ob_get_contents();
ob_end_clean();
$smarty->assign('printout_form', $sTemp);
}
/**
* show Copyright
* managed in smarty_care.class.php
*/
$smarty->assign('sCopyright', $smarty->Copyright());
$smarty->assign('sPageTime', $smarty->Pagetime());
/**
* show Template
*/
$smarty->display('laboratory/request_aftersave.tpl');
// $smarty->display('debug.tpl');