game2006api/webapp/mt/Currency.php
aozhiwei c758a4a4a4 1
2022-01-27 19:20:54 +08:00

28 lines
460 B
PHP

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