function setElementTemplate($html, $element = null)
    {
        if (is_null($element)) {
            $this->_elementTemplate = $html;
        } else {
            $this->_templates[$element] = $html;
        }
    }
function setElementTemplate($html, $element = null)
    {
        if (is_null($element)) {
            $this->_elementTemplate = $html;
        } else {
            $this->_templates[$element] = $html;
        }
    }
function setElementTemplate ( $ html , $ element = null ) { if ( is_null ( $ element ) ) { $ this -> _elementTemplate = $ html ; } else { $ this -> _templates [ $ element ] = $ html ; } }
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
Sets element template