protected function retrieveActiveSortFromSession()
    {
        $sessionSort = $this->getListMemory()->getSortData();

        if ( ! is_array($sessionSort)) return;

        $this->activeSort = array_get($sessionSort, 'column');

        $direction = array_get($sessionSort, 'direction');

        if (null === $direction) {
            $this->activeSortDescending = null;
        } else {
            $this->activeSortDescending = $direction === 'desc';
        }
    }
protected function retrieveActiveSortFromSession()
    {
        $sessionSort = $this->getListMemory()->getSortData();

        if ( ! is_array($sessionSort)) return;

        $this->activeSort = array_get($sessionSort, 'column');

        $direction = array_get($sessionSort, 'direction');

        if (null === $direction) {
            $this->activeSortDescending = null;
        } else {
            $this->activeSortDescending = $direction === 'desc';
        }
    }
protected function retrieveActiveSortFromSession ( ) { $ sessionSort = $ this -> getListMemory ( ) -> getSortData ( ) ; if ( ! is_array ( $ sessionSort ) ) return ; $ this -> activeSort = array_get ( $ sessionSort , 'column' ) ; $ direction = array_get ( $ sessionSort , 'direction' ) ; if ( null === $ direction ) { $ this -> activeSortDescending = null ; } else { $ this -> activeSortDescending = $ direction === 'desc' ; } }
Retrieves the sort settings from the session and restores them as active.
Retrieves the sort settings from the session and restores them as active .