protected function resetStateBeforeIndexAction()
    {
        $this->activeSort           = null;
        $this->activeSortDescending = null;
        $this->activeScope          = null;
        $this->filters              = [];
        $this->activePage           = null;
        $this->activePageSize       = null;
        $this->resetActivePage      = false;

        return $this;
    }
protected function resetStateBeforeIndexAction()
    {
        $this->activeSort           = null;
        $this->activeSortDescending = null;
        $this->activeScope          = null;
        $this->filters              = [];
        $this->activePage           = null;
        $this->activePageSize       = null;
        $this->resetActivePage      = false;

        return $this;
    }
protected function resetStateBeforeIndexAction ( ) { $ this -> activeSort = null ; $ this -> activeSortDescending = null ; $ this -> activeScope = null ; $ this -> filters = [ ] ; $ this -> activePage = null ; $ this -> activePageSize = null ; $ this -> resetActivePage = false ; return $ this ; }
Resets the controller's state before handling the index action.

@return $this
Resets the controller s state before handling the index action .