aozhiwei 6e4673fa12 1
2024-03-19 15:36:10 +08:00

25 lines
418 B
PHP

<?php
namespace mt;
use phpcommon;
class Map {
public static function get($id)
{
return array_key_exists($id, self::getMetaList()) ? self::getMetaList()[$id] : null;
}
protected static function getMetaList()
{
if (!self::$metaList) {
self::$metaList = getMetaTable('map@map.php');
}
return self::$metaList;
}
protected static $metaList;
}