X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fplfilter.php;h=609c1cc576d4817e3392d8bdbef7dc0c145afd7e;hb=8623e0efe391046d4ce8b4e001fad1576c7c997a;hp=5dd77e6e936f159e52db2bace9c66a85f8a9ed04;hpb=88541046480799a8d92eba186f22e22c0c64efb0;p=platal.git diff --git a/classes/plfilter.php b/classes/plfilter.php index 5dd77e6..609c1cc 100644 --- a/classes/plfilter.php +++ b/classes/plfilter.php @@ -1,6 +1,6 @@ $child->export()); + return array('child' => $this->child->export()); } } // }}} @@ -384,6 +384,14 @@ abstract class PlFilter implements PlExportable */ 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 */