public function setRememberState($state = TRUE, $sectionName = NULL)
    {
        $this->getPresenter(); //component must be attached to presenter
        $this->getRememberSession(TRUE); //start session if not
        $this->rememberState = (bool) $state;
        $this->rememberStateSectionName = $sectionName;

        return $this;
    }
public function setRememberState($state = TRUE, $sectionName = NULL)
    {
        $this->getPresenter(); //component must be attached to presenter
        $this->getRememberSession(TRUE); //start session if not
        $this->rememberState = (bool) $state;
        $this->rememberStateSectionName = $sectionName;

        return $this;
    }
public function setRememberState ( $ state = TRUE , $ sectionName = NULL ) { $ this -> getPresenter ( ) ; //component must be attached to presenter $ this -> getRememberSession ( TRUE ) ; //start session if not $ this -> rememberState = ( bool ) $ state ; $ this -> rememberStateSectionName = $ sectionName ; return $ this ; }
Sets saving state to session.
@param bool $state
@param string $sectionName
@return Grid
Sets saving state to session .