Created
March 27, 2012 18:17
-
-
Save skord/2218635 to your computer and use it in GitHub Desktop.
killsort
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $list->setOrdered(true); | |
| if (isset($_GET['allkills']) && $_GET['allkills'] == 0 ) { | |
| $list->setAPIKill(); | |
| $list->setOrderBy(' kll.kll_external_id ASC '); | |
| } else { | |
| $list->setOrderBy(' kll.kll_id ASC '); | |
| } | |
| if (isset($_GET['limit'])) { | |
| $list->setLimit(min($maxkillsreturned, (int)$_GET['limit'])); | |
| } else { | |
| $list->setLimit($maxkillsreturned); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment