game2006api/webapp/mt/Task.php
aozhiwei 76a9d8504a 1
2021-12-01 15:23:53 +08:00

25 lines
378 B
PHP

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