xPDOQuery.isConditionalClause
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 morexPDOQuery::isConditionalClause¶
Determines whether a string represents a conditional clause — that is, whether it contains an operator and should be parsed into a condition rather than treated as a plain value or column.
Syntax¶
boolean isConditionalClause (string $string)
Example¶
if ($query->isConditionalClause('width:>')) {
// treated as a condition
}
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










