code/controller/behavior/persistable.php
protected function _beforeBrowse(ControllerContextModel $context)
    {
        $query = $context->getRequest()->query;

        $query->add((array) $context->user->get($this->_getStateKey($context)));

        $this->getModel()->getState()->setValues($query->toArray());
    }
protected function _beforeBrowse(ControllerContextModel $context)
    {
        $query = $context->getRequest()->query;

        $query->add((array) $context->user->get($this->_getStateKey($context)));

        $this->getModel()->getState()->setValues($query->toArray());
    }
protected function _beforeBrowse ( ControllerContextModel $ context ) { $ query = $ context -> getRequest ( ) -> query ; $ query -> add ( ( array ) $ context -> user -> get ( $ this -> _getStateKey ( $ context ) ) ) ; $ this -> getModel ( ) -> getState ( ) -> setValues ( $ query -> toArray ( ) ) ; }
Load the model state from the request

This functions merges the request information with any model state information that was saved in the session and
returns the result.

@param   ControllerContextModel $context The active controller context
@return  void
Load the model state from the request