xPDOManager.getGenerator
Last updated not available | Page history | Improve this page | Report an issue
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 morexPDOManager::getGenerator¶
Returns the driver-specific xPDOGenerator instance for this connection, used to parse schemas into classes or reverse-engineer schemas from tables. Returns null if the generator class cannot be instantiated.
Syntax¶
xPDOGenerator|null getGenerator ()
Example¶
$manager = $xpdo->getManager();
$generator = $manager->getGenerator();
$generator->parseSchema($schemaFile, $outputDir);
See Also¶
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










