X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=classes%2Fplfilter.php;h=8355308a82ec04aad9995a751c8048b492a0b5a7;hb=ac6f41acd95a154ff0893f5e239760e026eb9d2a;hp=5b29a2f5d0befcab50873685ab281bdcf0b97fb7;hpb=15ba1697972827b89892b9866c4f6c0859c67ce8;p=platal.git diff --git a/classes/plfilter.php b/classes/plfilter.php index 5b29a2f..8355308 100644 --- a/classes/plfilter.php +++ b/classes/plfilter.php @@ -1,6 +1,6 @@ _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; + } } // }}} @@ -185,7 +195,7 @@ abstract class PFC_OneChild implements PlFilterCondition public function export() { - return array('child' => $child->export()); + return array('child' => $this->child->export()); } } // }}}