Файловый менеджер - Редактировать - /var/www/axolotl/data/www/ekb.axolotls.ru/cf5ac/eventofflinequery.php.tar
Назад
var/www/axolotl/data/www/axolotls.ru/www/bitrix/modules/rest/lib/eventofflinequery.php 0000644 00000001575 14766143042 0025513 0 ustar 00 <?php namespace Bitrix\Rest; use Bitrix\Main\Entity\Query; class EventOfflineQuery extends Query { public function getMarkQuery($processId) { // initialize all internal guts $this->getQuery(); $connection = $this->entity->getConnection(); $helper = $connection->getSqlHelper(); $sqlWhere = $this->buildWhere(); $sqlOrder = $this->buildOrder(); $update = $helper->prepareUpdate($this->entity->getDBTableName(), array('PROCESS_ID' => $processId)); $queryParts = array_filter(array( 'UPDATE' => $this->quoteTableSource($this->entity->getDBTableName()).' '.$helper->quote($this->getInitAlias()), 'SET' => $update[0], 'WHERE' => $sqlWhere, 'ORDER BY' => $sqlOrder, 'LIMIT' => $this->getLimit(), // we cannot use getTopSql here )); foreach ($queryParts as $k => &$v) { $v = $k . ' ' . $v; } $sql = join("\n", $queryParts); return $sql; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.8 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка