original_string: public function listRefresh($definition = null)
      {
          if (!count($this->listWidgets)) {
              $this->makeLists();
          }
  
          if (!$definition || !isset($this->listDefinitions[$definition])) {
              $definition = $this->primaryDefinition;
          }
  
          return $this->listWidgets[$definition]->onRefresh();
      }
code: public function listRefresh($definition = null)
      {
          if (!count($this->listWidgets)) {
              $this->makeLists();
          }
  
          if (!$definition || !isset($this->listDefinitions[$definition])) {
              $definition = $this->primaryDefinition;
          }
  
          return $this->listWidgets[$definition]->onRefresh();
      }
code_tokens: public function listRefresh ( $ definition = null ) { if ( ! count ( $ this -> listWidgets ) ) { $ this -> makeLists ( ) ; } if ( ! $ definition || ! isset ( $ this -> listDefinitions [ $ definition ] ) ) { $ definition = $ this -> primaryDefinition ; } return $ this -> listWidgets [ $ definition ] -> onRefresh ( ) ; }
docstring: Refreshes the list container only, useful for returning in custom AJAX requests.
  @param  string $definition Optional list definition.
  @return array The list element selector as the key, and the list contents are the value.
docstring_tokens: Refreshes the list container only useful for returning in custom AJAX requests .