game2006api/webapp/mt/SkillCommon.php
2022-08-29 17:29:11 +08:00

24 lines
435 B
PHP

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