modX.getParser
Last updated May 14th, 2019 | Page history | Improve this page | Report an issue
modX::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();