OnFileManagerBeforeUpload
Последнее обновление Jan 28th, 2020 | История страницы | Улучшить эту страницу | Сообщить о проблеме
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn moreСобытие: OnFileManagerBeforeUpload¶
Событие запускается до загрузки любых файлов через менеджер и вызывается внутри цикла foreach, который проходит по массиву $_FILES.
- Служба: 1 - Parser Service Events
- Group: System
Параметры события¶
| Имя | Описание |
|---|---|
| files | Массив файлов из PHP $_FILES. |
| file | Массив текущего файла, проходящего через массив $_FILES. |
| directory | Путь к целевому каталогу (относительно корня медиаресурса), в который выполняется загрузка. |
| source | Содержит объект modMediaSource. |
Смотри также¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










