jqh před 4 roky
rodič
revize
37d1e7428d
1 změnil soubory, kde provedl 12 přidání a 0 odebrání
  1. 12 0
      src/Grid/Filter/Presenter/Presenter.php

+ 12 - 0
src/Grid/Filter/Presenter/Presenter.php

@@ -58,6 +58,18 @@ abstract class Presenter
         return $this;
     }
 
+    /**
+     * 忽略筛选项.
+     *
+     * @return $this
+     */
+    public function ignore()
+    {
+        $this->filter->ignore();
+
+        return $this;
+    }
+
     /**
      * @return string
      */