0){ // for ($i=1;$i<=count($meta);$i++){ // if ($exp >= $meta[count($meta)]['total_exp']){ // $exp = min($exp, $meta[count($meta)]['total_exp']); // $lv = $meta[count($meta)]['id']; // }else{ // if ($i= $meta[$i]['total_exp'] && // $exp < $meta[$i+1]['total_exp']) // { // $lv = $meta[$i]['id']; // } // } // // } // } // } // } protected static function getMetaList() { if (!self::$metaList) { self::$metaList = getMetaTable('levelup@levelup.php'); } return self::$metaList; } protected static $metaList; }