HOME 生活记录运维/编程
作者/来源:yixinu.com
栏目:运维/编程
日期:2014-06-07 06:17:56
tp/Lib/Template/ThinkTemplate.class.php.ThinkTemplate->parseTagLib:384 tp/Lib/Template/ThinkTemplate.class.php.ThinkTemplate->parse:198 tp/Lib/Template/ThinkTemplate.class.php.ThinkTemplate->getIncludeTagLib:361 tp/Lib/Template/ThinkTemplate.class.php.ThinkTemplate->parse:180 tp/Lib/Template/ThinkTemplate.class.php.ThinkTemplate->compiler:139 tp/Lib/Template/ThinkTemplate.class.php.ThinkTemplate->loadTemplate:116 tp/Lib/Template/ThinkTemplate.class.php.ThinkTemplate->fetch:80 tp/Lib/Behavior/ParseTemplateBehavior.class.php.ParseTemplateBehavior->run:62 tp/Common/common.php.B:492 tp/Common/common.php.tag:450 tp/Lib/Core/View.class.php.View->fetch:121 tp/Lib/Core/View.class.php.View->display:69 tp/Lib/Core/Action.class.php.Action->display:101 admin/Lib/Action/IndexAction.class.php.IndexAction->top:24 admin/Lib/Action/IndexAction.class.php.ReflectionMethod->invoke:0 tp/Lib/Core/App.class.php.App::exec:171 tp/Lib/Core/App.class.php.App::run:207 tp/Lib/Core/Think.class.php.Think::start:39 tp/Common/runtime.php.require:242 tp/index.php.require:30 admin/index.php.{main}:8   thinkphp反射类操作代码 $method = new ReflectionMethod($module, $action); if($method->isPublic()) { $class = new ReflectionClass($module); // 前置操作 if($class->hasMethod('_before_'.$action)) { $before = $class->getMethod('_before_'.$action); if($before->isPublic()) { $before->invoke($module); } } $method->invoke($module);
分享到:

Copyright © 2013-2014 yixinu.com 湘ICP备14004402号

QQ:316686606  Email: 316686606@qq.com