xPDOGenerator.compile
Последнее обновление not available | История страницы | Улучшить эту страницу | Сообщить о проблеме
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 morexPDOGenerator::compile¶
Компилирует сгенерированные классы в кешированную форму. В xPDO 3.x реализация этого метода для MySQL является заглушкой, которая всегда возвращает false, поэтому опция compile у parseSchema() и флаг --compile в CLI не имеют эффекта для MySQL.
Синтаксис¶
boolean compile ([string $path = ''])
Пример¶
$generator = $manager->getGenerator();
$generator->compile($outputDir);
Смотрите также¶
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










