<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2011 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
{
return $this->_tokens;
}
+
+ /** This function is called when trying to restrict to one of the
+ * specific values of the group token.
+ *
+ * @return A PlFilterCondition.
+ */
+ public function getCondition($group_value)
+ {
+ return null;
+ }
}
// }}}
public function export()
{
- return array('child' => $child->export());
+ return array('child' => $this->child->export());
}
}
// }}}
*/
public abstract function get($limit = null);
+ /** Get ids, selecting only those within a limit
+ * @param $limit The portion of the matching objects to select
+ */
+ public function getIds($limit = null)
+ {
+ return $this->get($limit);
+ }
+
/** PRIVATE FUNCTIONS
*/
}
// }}}
-// 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:
?>