xPDOGenerator.getClassName
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::getClassName¶
Converts a database table name into the class name that would be generated for it, following the generator's naming rules.
Syntax¶
string getClassName (string $string)
Example¶
$generator = $manager->getGenerator();
$class = $generator->getClassName('my_model');
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










