protected function processSessionData()
    {
        // Filters
        foreach ($this->columns as $column) {
            if (($data = $this->get($column->getId())) !== null) {
                $column->setData($data);
            }
        }

        // Page
        if (($page = $this->get(self::REQUEST_QUERY_PAGE)) !== null) {
            $this->setPage($page);
        } else {
            $this->setPage(0);
        }

        // Order
        if (($order = $this->get(self::REQUEST_QUERY_ORDER)) !== null) {
            list($columnId, $columnOrder) = explode('|', $order);

            $this->columns->getColumnById($columnId)->setOrder($columnOrder);
        }

        // Limit
        if (($limit = $this->get(self::REQUEST_QUERY_LIMIT)) !== null) {
            $this->limit = $limit;
        } else {
            $this->limit = key($this->limits);
        }
    }
protected function processSessionData()
    {
        // Filters
        foreach ($this->columns as $column) {
            if (($data = $this->get($column->getId())) !== null) {
                $column->setData($data);
            }
        }

        // Page
        if (($page = $this->get(self::REQUEST_QUERY_PAGE)) !== null) {
            $this->setPage($page);
        } else {
            $this->setPage(0);
        }

        // Order
        if (($order = $this->get(self::REQUEST_QUERY_ORDER)) !== null) {
            list($columnId, $columnOrder) = explode('|', $order);

            $this->columns->getColumnById($columnId)->setOrder($columnOrder);
        }

        // Limit
        if (($limit = $this->get(self::REQUEST_QUERY_LIMIT)) !== null) {
            $this->limit = $limit;
        } else {
            $this->limit = key($this->limits);
        }
    }
protected function processSessionData ( ) { // Filters foreach ( $ this -> columns as $ column ) { if ( ( $ data = $ this -> get ( $ column -> getId ( ) ) ) !== null ) { $ column -> setData ( $ data ) ; } } // Page if ( ( $ page = $ this -> get ( self :: REQUEST_QUERY_PAGE ) ) !== null ) { $ this -> setPage ( $ page ) ; } else { $ this -> setPage ( 0 ) ; } // Order if ( ( $ order = $ this -> get ( self :: REQUEST_QUERY_ORDER ) ) !== null ) { list ( $ columnId , $ columnOrder ) = explode ( '|' , $ order ) ; $ this -> columns -> getColumnById ( $ columnId ) -> setOrder ( $ columnOrder ) ; } // Limit if ( ( $ limit = $ this -> get ( self :: REQUEST_QUERY_LIMIT ) ) !== null ) { $ this -> limit = $ limit ; } else { $ this -> limit = key ( $ this -> limits ) ; } }
Configures the grid with the data read from the session.
Configures the grid with the data read from the session .