Add sort_name to pluser.
[platal.git] / classes / plheap.php
index 5d1ff8a..6776681 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2009 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -67,9 +67,9 @@ class PlHeap
 
     public function iterator()
     {
-        return PlIterator::fromArray($this->content);
+        return PlIteratorUtils::fromArray($this->content, 1, true);
     }
 }
 
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
 ?>