示例#1
0
 public static function getInstance($appid, $appkey, $callback, $scope)
 {
     if (self::$_instance === null) {
         self::$_instance = new self($appid, $appkey, $callback, $scope);
     }
     return self::$_instance;
 }
示例#2
0
        $return = $o->add_t($text, $_SESSION['qq']["access_token"], $this->get_openid());
        return $return;
    }
    /**
	 * 发表一条空间分享
	 *
	 */