| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup UnaCore UNA Core
- * @{
- */
- /**
- * @see BxDolLiveUpdates
- */
- class BxDolLiveUpdatesQuery extends BxDolDb
- {
- public function __construct()
- {
- parent::__construct();
- }
- public function getSystems()
- {
- $sKey = 'bx_dol_cache_memory_live_updates_systems';
- if(!isset($GLOBALS[$sKey]))
- $GLOBALS[$sKey] = BxDolDb::getInstance()->fromCache('sys_objects_live_updates', 'getAllWithKey', '
- SELECT
- `id` as `id`,
- `name` AS `name`,
- `frequency` AS `frequency`,
- `service_call` AS `service_call`,
- `active` AS `active`
- FROM `sys_objects_live_updates`', 'name');
- return $GLOBALS[$sKey];
- }
- }
- /** @} */
|