game2006api/webapp/mt/SeasonCard.php
aozhiwei 4331033a9b 1
2021-12-03 11:44:59 +08:00

30 lines
482 B
PHP

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