game2006api/webapp/mt/Staking.php
aozhiwei ac58fdd25e 1
2023-08-25 15:08:37 +08:00

25 lines
430 B
PHP

<?php
namespace mt;
use phpcommon;
class Staking {
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('staking@staking.php');
}
return self::$metaList;
}
protected static $metaList;
}