game2005api/webapp/mt/Rank.php
aozhiwei b90e48824f 1
2021-12-02 19:16:54 +08:00

30 lines
461 B
PHP

<?php
namespace mt;
use phpcommon;
class Rank {
public static function get($id)
{
return getXVal(self::getMetaList(), $id);
}
public static function getInitRank()
{
return self::get(1);
}
protected static function getMetaList()
{
if (!self::$metaList) {
self::$metaList = getMetaTable('rank@rank.php');
}
return self::$metaList;
}
protected static $metaList;
}