xPDOGenerator.getPlatformClass
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 morexPDOGenerator::getPlatformClass¶
Returns the fully-qualified name of the platform class generated for a domain class, for example the mysql subclass. The platform class holds the static $metaMap for the domain class.
Syntax¶
string getPlatformClass (string $domainClass)
Example¶
$generator = $manager->getGenerator();
$platform = $generator->getPlatformClass('MyVendor\\MyPackage\\MyModel');
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










