original_string: public function get_element($elementname) {
          if ($this->_form->elementExists($elementname)) {
              return $this->_form->getElement($elementname);
          } else {
              return false;
          }
      }
code: public function get_element($elementname) {
          if ($this->_form->elementExists($elementname)) {
              return $this->_form->getElement($elementname);
          } else {
              return false;
          }
      }
code_tokens: public function get_element ( $ elementname ) { if ( $ this -> _form -> elementExists ( $ elementname ) ) { return $ this -> _form -> getElement ( $ elementname ) ; } else { return false ; } }
docstring: Gets an element from the form if it exists
  
  @param string $elementname
  @return HTML_QuickForm_input|MoodleQuickForm_group
docstring_tokens: Gets an element from the form if it exists