摘要: "; } //私有化克隆方法 private function __clone(){ } //声明一个getinstance()静态方法,用于检测是否有实例对象 static public function getinstance(){ //如果实例不存在生成实例 if(!self::$_instance){ self::$_instance... 阅读全文
posted @ 2019-04-25 16:40 leo0362 阅读(124) 评论(0) 推荐(0)