摘要: 当然还有一种办法就是在父类中调用子类的方法。 class Action{ public function __construct() { if(method_exists($this,'hello')) { $this -> hello(); } echo 'hello Action'; ... 阅读全文
posted @ 2016-07-11 16:39 伊人世界 阅读(130) 评论(0) 推荐(0) 编辑
Fork me on GitHub