소스 검색

filter ignore

jqh 4 년 전
부모
커밋
37d1e7428d
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  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
      */