From: Michael J. Rubinsky Date: Thu, 17 Jun 2010 16:58:19 +0000 (-0400) Subject: First round of function parameter cleanups. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f77d32f1994fc8cee50933800d7eb435bc908412;p=horde.git First round of function parameter cleanups. This is a change to the API function signatures, so any app using the Ansel API may require refactoring. --- diff --git a/ansel/lib/Ansel.php b/ansel/lib/Ansel.php index db9684e91..1b1aac0d1 100644 --- a/ansel/lib/Ansel.php +++ b/ansel/lib/Ansel.php @@ -13,6 +13,10 @@ */ class Ansel { + /* Sort constants */ + const SORT_ASCENDING = 0; + const SORT_DESCENDING = 1; + /** * Build initial Ansel javascript object. * @@ -58,48 +62,45 @@ class Ansel * Return a string containing an