original_string: function setElementTemplate($html, $element = null)
      {
          if (is_null($element)) {
              $this->_elementTemplate = $html;
          } else {
              $this->_templates[$element] = $html;
          }
      }
code: function setElementTemplate($html, $element = null)
      {
          if (is_null($element)) {
              $this->_elementTemplate = $html;
          } else {
              $this->_templates[$element] = $html;
          }
      }
code_tokens: function setElementTemplate ( $ html , $ element = null ) { if ( is_null ( $ element ) ) { $ this -> _elementTemplate = $ html ; } else { $ this -> _templates [ $ element ] = $ html ; } }
docstring: Sets element template
  
  @param       string      The HTML surrounding an element
  @param       string      (optional) Name of the element to apply template for
  @access      public
  @return      void
docstring_tokens: Sets element template