original_string: public function getElementById($id)
      {
          foreach ($this->getRecursiveIterator() as $element) {
              if ($id == $element->getId()) {
                  return $element;
              }
          }
          return null;
      }
code: public function getElementById($id)
      {
          foreach ($this->getRecursiveIterator() as $element) {
              if ($id == $element->getId()) {
                  return $element;
              }
          }
          return null;
      }
code_tokens: public function getElementById ( $ id ) { foreach ( $ this -> getRecursiveIterator ( ) as $ element ) { if ( $ id == $ element -> getId ( ) ) { return $ element ; } } return null ; }
docstring: Returns an element if its id is found
  
  @param    string  Element id to find
  @return   HTML_QuickForm2_Node|null
docstring_tokens: Returns an element if its id is found