original_string: public function rename($short_name)
      {
          unset($this->owner->elements[$this->short_name]);
          $this->name = $this->name.'_'.$short_name;
          $this->short_name = $short_name;
  
          if (!$this->auto_track_element) {
              $this->owner->elements[$short_name] = true;
          } else {
              $this->owner->elements[$short_name] = $this;
          }
  
          return $this;
      }
code: public function rename($short_name)
      {
          unset($this->owner->elements[$this->short_name]);
          $this->name = $this->name.'_'.$short_name;
          $this->short_name = $short_name;
  
          if (!$this->auto_track_element) {
              $this->owner->elements[$short_name] = true;
          } else {
              $this->owner->elements[$short_name] = $this;
          }
  
          return $this;
      }
code_tokens: public function rename ( $ short_name ) { unset ( $ this -> owner -> elements [ $ this -> short_name ] ) ; $ this -> name = $ this -> name . '_' . $ short_name ; $ this -> short_name = $ short_name ; if ( ! $ this -> auto_track_element ) { $ this -> owner -> elements [ $ short_name ] = true ; } else { $ this -> owner -> elements [ $ short_name ] = $ this ; } return $ this ; }
docstring: Names object accordingly. May not work on some objects.
  
  @param string $short_name Short name of the child element
  
  @return $this
docstring_tokens: Names object accordingly . May not work on some objects .