original_string: public function renderElement(HTML_QuickForm2_Node $element)
      {
          $elTpl = $this->prepareTemplate($this->findTemplate($element), $element);
          $this->html[count($this->html) - 1][] = str_replace(array('{element}', '{id}'),
                                                              array($element, $element->getId()), $elTpl);
      }
code: public function renderElement(HTML_QuickForm2_Node $element)
      {
          $elTpl = $this->prepareTemplate($this->findTemplate($element), $element);
          $this->html[count($this->html) - 1][] = str_replace(array('{element}', '{id}'),
                                                              array($element, $element->getId()), $elTpl);
      }
code_tokens: public function renderElement ( HTML_QuickForm2_Node $ element ) { $ elTpl = $ this -> prepareTemplate ( $ this -> findTemplate ( $ element ) , $ element ) ; $ this -> html [ count ( $ this -> html ) - 1 ] [ ] = str_replace ( array ( '{element}' , '{id}' ) , array ( $ element , $ element -> getId ( ) ) , $ elTpl ) ; }
docstring: Renders a generic element
  
  @param    HTML_QuickForm2_Node    Element being rendered
docstring_tokens: Renders a generic element