摘要:
例子记录如下:private static $_instance; public static function getInstance() { if (!self::$_instance instanceof self) { self::$_instance = new self; } return self::$_instance; } 阅读全文
posted @ 2012-09-07 15:34 bug yang 阅读(146) 评论(0) 推荐(0) 编辑