xPDO.getInherit
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::getInherit¶
Returns the inheritance mode of a class: 'single' for single-table inheritance (derivative classes stored in the same table and distinguished by class_key), 'multiple' for class-table inheritance, or an empty string when the class does not inherit.
Syntax¶
string getInherit (string $className)
Example¶
$inherit = $xpdo->getInherit('modResource');
// 'single'
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










