original_string: protected function storeActiveSortInSession()
      {
          if (null !== $this->activeSortDescending) {
              $direction = $this->activeSortDescending ? 'desc' : 'asc';
          } else {
              $direction = null;
          }
  
          $this->getListMemory()->setSortData($this->activeSort, $direction);
      }
code: protected function storeActiveSortInSession()
      {
          if (null !== $this->activeSortDescending) {
              $direction = $this->activeSortDescending ? 'desc' : 'asc';
          } else {
              $direction = null;
          }
  
          $this->getListMemory()->setSortData($this->activeSort, $direction);
      }
code_tokens: protected function storeActiveSortInSession ( ) { if ( null !== $ this -> activeSortDescending ) { $ direction = $ this -> activeSortDescending ? 'desc' : 'asc' ; } else { $ direction = null ; } $ this -> getListMemory ( ) -> setSortData ( $ this -> activeSort , $ direction ) ; }
docstring: Stores the currently active sort settings for the session.
docstring_tokens: Stores the currently active sort settings for the session .