53 $cacheManager = Main\Application::getInstance()->getManagedCache();
55 if ($cacheManager->read(self::TTL, self::CACHE_ID))
56 $id = $cacheManager->get(self::CACHE_ID);
60 $data = CashboxTable::getRow(
62 'select' => array(
'ID'),
63 'filter' => array(
'=HANDLER' =>
'\Bitrix\Sale\Cashbox\Cashbox1C')
66 if (is_array($data) && $data[
'ID'] > 0)
69 $cacheManager->set(self::CACHE_ID, $id);