66 $siteId = (string)$siteId;
69 if (empty(self::$cache))
74 if ($managed->read(3600, $key))
75 self::$cache = $managed->get($key);
78 $result = self::getList(array(
79 'select' => array(
'*')
81 while ($row = $result->fetch())
82 self::$cache[$row[
'LID']] = $row;
84 $managed->set($key, self::$cache);
87 return (isset(self::$cache[$siteId]) ? self::$cache[$siteId] :
false);