Browse Source

filter ignore

jqh 4 years ago
parent
commit
37d1e7428d
1 changed files with 12 additions and 0 deletions
  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
      */