PlFilterOrder is an abstract class, put a default implementation for
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 5 Nov 2010 21:04:39 +0000 (22:04 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 5 Nov 2010 21:04:39 +0000 (22:04 +0100)
export() there.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/plfilter.php

index 1a6d525..47abcce 100644 (file)
@@ -62,6 +62,11 @@ abstract class PlFilterOrder implements PlExportable
         $this->_tokens = null;
     }
 
+    public function export()
+    {
+        throw new Exception("This instance is not exportable");
+    }
+
     public function toggleDesc()
     {
         $this->desc = !$this->desc;