class plugin_ceshi_base(){ function common_base(){ global $_G; echo 'i am '. $_G['username'] } } class plugin_ceshi extends plugin_ceshi_base{ function common(){ $this->common_base(); } } class mobileplugin_ceshi extends plugin_ceshi_base{ function common(){ $this->common_base(); } }
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2025-11-30 04:58 , Processed in 0.143802 second(s), 15 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.