File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/catalog/lib/integration/report/handler/storesale/gridhandler.php
Back
<?php namespace Bitrix\Catalog\Integration\Report\Handler\StoreSale; use Bitrix\Catalog\Access\AccessController; use Bitrix\Catalog\Access\ActionDictionary; use Bitrix\Catalog\Integration\Report\Handler\BaseHandler; class GridHandler extends BaseHandler { public function prepare() { $reportData = [ 'filter' => $this->getFilterParameters(), ]; if (!AccessController::getCurrent()->check(ActionDictionary::ACTION_STORE_VIEW)) { $reportData['stub'] = static::getNoAccessToStoresStub(); } else { $storeTotals = $this->getStoreTotals(); if (!empty($storeTotals)) { $reportData['items'] = $storeTotals; $reportData['overall'] = $this->prepareOverallTotals($storeTotals); } } return $reportData; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings