xPDO.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
$185 per month—let's make that $500!
Learn morexPDO::getPlatformClass¶
Returns the fully-qualified name of the platform-specific class for a given domain class. The platform class holds the static metadata map ($metaMap) for the class on the current database platform.
Syntax¶
string getPlatformClass (string $domainClass)
Example¶
$platformClass = $xpdo->getPlatformClass('MODX\\Revolution\\modResource');
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
$185 per month—let's make that $500!
Learn more










