modX.getParser
Last updated May 14th, 2019 | 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
$301 per month—let's make that $500!
Learn moremodX::getParser¶
Gets the MODX parser.
Returns an instance of modParser responsible for parsing tags in element content, performing actions, returning content and/or sending other responses in the process.
Syntax¶
API Doc: modX::getParser()
object getParser()
Example¶
Get the MODX Parser object.
$parser = $modx->getParser();
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
$301 per month—let's make that $500!
Learn more