xPDOTransport.unpack
Последнее обновление Oct 16th, 2026 | История страницы | Улучшить эту страницу | Сообщить о проблеме
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 morexPDOTransport::unpack¶
Распаковывает архив транспортного пакета из одного расположения в другое. Аргумент $state указывает, упакован ли архив или уже распакован.
Синтаксис¶
boolean unpack (xPDO &$xpdo, string $from, string $to, [integer $state = xPDOTransport::STATE_PACKED])
Пример¶
xPDOTransport::unpack($xpdo, MODX_CORE_PATH . 'packages/my_package.transport.zip', MODX_CORE_PATH . 'packages/');
Смотрите также¶
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










