php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #67099
Patch IndexController.class.txt revision 2014-04-20 15:53 UTC by huqinlou0123 at 163 dot com

Patch IndexController.class.txt for Reflection related Bug #67099

Patch version 2014-04-20 15:53 UTC

Return to Bug #67099 | Download this patch
Patch Revisions:

Developer: huqinlou0123@163.com

namespace Hunlian\Controller;
use Think\Controller;
/**
 * 前台首页控制器
 * @author HQL
 * 2014-3-1
 */
Class IndexController extends CommonController {

	//首页视图
	Public function index () {
		$paramParse = new \Org\Util\ParamParse;
		//$data=$paramParse->buildAll('D:/wamp/www/BS2/Application/Hunlian/Controller');
		$list = array();
		require_once 'D:\wamp\www\BS2\Application\Hunlian\Controller\CommonController.class.php';
		
		
		$rClass = new \ReflectionClass('CommonController');
		//$a=new CommonController;
		//$rClass = new \ReflectionClass($a);
		$methodList = $rClass->getMethods();
		dump($methodList);		
		exit;
		$this->display();
	}



}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 09:01:31 2024 UTC