original_string: public function getPartByIndex($index)
      {
          if (!isset($this->_parts[$index])) {
              return null;
          }
  
          $part = $this->_parts[$index];
          $part->parent = $this;
  
          return $part;
      }
code: public function getPartByIndex($index)
      {
          if (!isset($this->_parts[$index])) {
              return null;
          }
  
          $part = $this->_parts[$index];
          $part->parent = $this;
  
          return $part;
      }
code_tokens: public function getPartByIndex ( $ index ) { if ( ! isset ( $ this -> _parts [ $ index ] ) ) { return null ; } $ part = $ this -> _parts [ $ index ] ; $ part -> parent = $ this ; return $ part ; }
docstring: Returns a subpart by index.
  
  @return Horde_Mime_Part  Part, or null if not found.
docstring_tokens: Returns a subpart by index .