本文整理汇总了PHP中AbstractController::SetTemplate方法的典型用法代码示例。如果您正苦于以下问题:PHP AbstractController::SetTemplate方法的具体用法?PHP AbstractController::SetTemplate怎么用?PHP AbstractController::SetTemplate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AbstractController
的用法示例。
在下文中一共展示了AbstractController::SetTemplate方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: SetTemplate
public function SetTemplate($prjname)
{
parent::SetTemplate($prjname);
global $G_X;
$this->getMenu();
$staticcss = sprintf("%s/style/%s/%s/css/", '', $this->culture, $G_X['template']);
$staticjs = sprintf("%s/style/%s/%s/js/", '', $this->culture, $G_X['template']);
$staticimg = sprintf('%s/style/%s/%s/img/', '', $this->culture, $G_X['template']);
$staticimages = sprintf('%s/style/%s/%s/images/', '', $this->culture, $G_X['template']);
$staticxeditor = sprintf('%s/style/%s/%s/xeditor/', '', $this->culture, $G_X['template']);
$staticdatepicker = sprintf('%s/style/%s/%s/datePicker/', '', $this->culture, $G_X['template']);
$statictinybox = sprintf('%s/style/%s/%s/tinybox/', '', $this->culture, $G_X['template']);
$staticupload = sprintf('%s/style/%s/%s/upload/', '', $this->culture, $G_X['template']);
$staticchart = sprintf('%s/style/%s/%s/visualize/', '', $this->culture, $G_X['template']);
$this->smarty->assign("psys_js", $staticjs);
$this->smarty->assign("psys_img", $staticimg);
$this->smarty->assign("psys_images", $staticimages);
$this->smarty->assign("psys_css", $staticcss);
$this->smarty->assign("psys_xeditor", $staticxeditor);
$this->smarty->assign("psys_datepicker", $staticdatepicker);
$this->smarty->assign("psys_tinybox", $statictinybox);
$this->smarty->assign("psys_upload", $staticupload);
$this->smarty->assign("psys_chart", $staticchart);
}