Exemplo n.º 1
0
 /**
  * 模板调用
  * @param $tpl
  * @return string
  */
 public static function tpl($tpl)
 {
     return Base_Template::factory($tpl)->get();
 }
Exemplo n.º 2
0
 /**
  * 错误提示信息
  * @param $errorTile 错误标题
  * @param $errorDome 错误信息
  * @param $returnUrl 跳转网址
  * @param $link 返回说明
  * @param $errorNum 错误编号 0成功、1错误、2等待
  * @param $delay 跳转等待时间
  */
 public static function PayError($errorDome = "正在执行操作", $errorTile = "提示信息", $returnUrl = "", $link = "请点击这里返回", $errorNum = 1, $delay = 3)
 {
     include Base_Template::factory("Pay_Error_Error")->get();
     exit;
 }
Exemplo n.º 3
0
 /**
  * 载入模板
  * @param string $tpl
  */
 public function tpl($tpl = null)
 {
     if (null === $tpl) {
         $tpl = $this->tpl;
     }
     return Base_Template::factory($tpl)->get();
 }