30 lines
534 B
PHP
30 lines
534 B
PHP
<?php
|
|
|
|
|
|
namespace mt;
|
|
|
|
require_once('mt/AttrHelper.php');
|
|
require_once('mt/StrHelper.php');
|
|
require_once('mt/Item.php');
|
|
|
|
use phpcommon;
|
|
|
|
class ChipAttribute {
|
|
public static function get($id)
|
|
{
|
|
return getXVal(self::getMetaList(), $id);
|
|
}
|
|
|
|
|
|
|
|
protected static function getMetaList()
|
|
{
|
|
if (!self::$metaList) {
|
|
self::$metaList = getMetaTable('chipAttribute@chipAttribute.php');
|
|
}
|
|
return self::$metaList;
|
|
}
|
|
|
|
protected static $metaList;
|
|
|
|
} |