示例#1
0
function getData($key = "", $extra = false, $appID = "")
{
    if (!\Lobby::$installed) {
        return false;
    } else {
        $appID = $appID == "" ? $GLOBALS['AppID'] : $appID;
        return \Lobby\DB::getData($appID, $key, $extra);
    }
}
示例#2
0
文件: App.php 项目: LobbyOS/server
 /**
  * Get Data
  */
 public function getData($key = "", $extra = false)
 {
     return DB::getData($this->id, $key, $extra);
 }