/** * 设置模板文件参数,要在输出模板文件之前执行。 */ public static function setTplArgs($tpl_args) { self::$tpl_args = $tpl_args; }