+ /** This function returns the ids of the set, and sets $count with the
+ * total number of results.
+ * @param $limit A PlLimit for selecting profiles
+ * @param $orders An optional array of PFO to use before the "default" ones
+ * @return The result of $pf->getId();
+ */
+ public function &getIds(PlLimit $limit = null, $orders = array())
+ {
+ if (is_null($limit)) {
+ $limit = new PlLimit(self::DEFAULT_MAX_RES, 0);
+ }
+ $pf = $this->buildFilterHelper($orders);
+ $result = $pf->getIds($limit);
+ $this->count = count($result);
+ return $result;
+ }
+
+ /** Return an array containing all pertinent parameters for this page
+ * Generated from $_GET, after some cleanup (remove 'n' (plat/al field
+ * for the handler path)
+ */