24 lines
435 B
PHP
24 lines
435 B
PHP
<?php
|
|
|
|
|
|
namespace mt;
|
|
|
|
use phpcommon;
|
|
class SkillCommon {
|
|
protected static $metaList;
|
|
|
|
protected static function getMetaList()
|
|
{
|
|
if (!self::$metaList) {
|
|
self::$metaList = getMetaTable('skillCommon@skillCommon.php');
|
|
}
|
|
return self::$metaList;
|
|
}
|
|
|
|
public static function get($id)
|
|
{
|
|
// return self::getMetaList();
|
|
return getXVal(self::getMetaList(), $id);
|
|
}
|
|
|
|
} |