original_string: public function setName($name)
      {
          $this->name = $name;
  
          $this->model()->setPerPageName("{$name}_{$this->model()->getPerPageName()}");
  
          $this->getFilter()->setName($name);
  
          return $this;
      }
code: public function setName($name)
      {
          $this->name = $name;
  
          $this->model()->setPerPageName("{$name}_{$this->model()->getPerPageName()}");
  
          $this->getFilter()->setName($name);
  
          return $this;
      }
code_tokens: public function setName ( $ name ) { $ this -> name = $ name ; $ this -> model ( ) -> setPerPageName ( "{$name}_{$this->model()->getPerPageName()}" ) ; $ this -> getFilter ( ) -> setName ( $ name ) ; return $ this ; }
docstring: Set name to grid.
  
  @param string $name
  
  @return $this
docstring_tokens: Set name to grid .