xPDOGenerator
Last updated Oct 17th, 2026 | 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
$185 per month—let's make that $500!
Learn morexPDO\Om\xPDOGenerator generates PHP class files and metadata from XML schemas, or reverse-engineers schemas from existing databases.
- xPDOGenerator.compile
- xPDOGenerator.getClassPlatformTemplate
- xPDOGenerator.getClassTemplate
- xPDOGenerator.getClassName
- xPDOGenerator.getDefault
- xPDOGenerator.getIndex
- xPDOGenerator.getMetaTemplate
- xPDOGenerator.getPlatformClass
- xPDOGenerator.getTableName
- xPDOGenerator.outputClasses
- xPDOGenerator.outputMeta
- xPDOGenerator.parseSchema
- xPDOGenerator.writeSchema
Schemas, Classes and Maps¶
See Generating the Model Code for how these methods fit into the model generation workflow.
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
$185 per month—let's make that $500!
Learn more










