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.
$307 per month—let's make that $500!Learn more
Escapes all single quotes in a string.
string escapeSingleQuotes (string $s)
Escape the quotes in the string below:
$str = 'Testing my "fun" Windows system.'; echo $xpdo->cacheManager->escapeSingleQuotes($str); // outputs: Testing my \"fun\" Windows system.