1
This commit is contained in:
parent
ac5ac6fbf1
commit
3585791680
@ -10,10 +10,6 @@ class HashRateShop {
|
|||||||
return getXVal(self::getMetaList(), $id, null);
|
return getXVal(self::getMetaList(), $id, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function findHash($itemId){
|
|
||||||
return getXVal(self::getHashMetaList(), $itemId, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected static function getMetaList()
|
protected static function getMetaList()
|
||||||
{
|
{
|
||||||
if (!self::$metaList) {
|
if (!self::$metaList) {
|
||||||
@ -22,18 +18,6 @@ class HashRateShop {
|
|||||||
return self::$metaList;
|
return self::$metaList;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static function getHashMetaList()
|
|
||||||
{
|
|
||||||
if (!self::$hashMetaList) {
|
|
||||||
self::$hashMetaList = array();
|
|
||||||
foreach (self::getMetaList() as $meta) {
|
|
||||||
self::$hashMetaList[$meta['item_id']] = $meta;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return self::$hashMetaList;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected static $metaList;
|
protected static $metaList;
|
||||||
protected static $hashMetaList;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user