...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/controller/form.php
- Класс: Bitrix\Crm\Controller\Form
- Вызов: Form::getFileLimitAction
public function getFileLimitAction(): array { if (!$this->checkFormAccess()) { return []; } $limitMb = WebForm\Limitations\DailyFileUploadLimit::instance()->getLimit(); $currentBytes = WebForm\Limitations\DailyFileUploadLimit::instance()->getCurrent(); return [ 'limitMb' => $limitMb, 'currentBytes' => $currentBytes, 'canChange' => $this->getFormAccess(true), ]; }