Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $data["sort_false"] = $modx->runSnippet('pdoResources', [
- 'select' => 'id, condition, maxday, maxsum, minday, minsum, pagetitle',
- 'parents' => 2,
- 'depth' => 1,
- 'limit' => null,
- 'sortdir' => 'ASC',
- 'includeTVs' => 'condition, minsum, maxsum, minday, maxday',
- 'where' => ["minsum>$money OR $money>maxsum OR minday>$day OR $day>maxday"],
- 'tvPrefix' => '',
- 'return' => 'json'
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement