function &_addHtmlPart(&$obj = null)
    {
        $params['content_type'] = 'text/html';
        $params['encoding']     = $this->_build_params['html_encoding'];
        $params['charset']      = $this->_build_params['html_charset'];
        $params['eol']          = $this->_build_params['eol'];

        if (is_object($obj)) {
            $ret = $obj->addSubpart($this->_htmlbody, $params);
        } else {
            $ret = new Mail_mimePart($this->_htmlbody, $params);
        }

        return $ret;
    }
function &_addHtmlPart(&$obj = null)
    {
        $params['content_type'] = 'text/html';
        $params['encoding']     = $this->_build_params['html_encoding'];
        $params['charset']      = $this->_build_params['html_charset'];
        $params['eol']          = $this->_build_params['eol'];

        if (is_object($obj)) {
            $ret = $obj->addSubpart($this->_htmlbody, $params);
        } else {
            $ret = new Mail_mimePart($this->_htmlbody, $params);
        }

        return $ret;
    }
function & _addHtmlPart ( & $ obj = null ) { $ params [ 'content_type' ] = 'text/html' ; $ params [ 'encoding' ] = $ this -> _build_params [ 'html_encoding' ] ; $ params [ 'charset' ] = $ this -> _build_params [ 'html_charset' ] ; $ params [ 'eol' ] = $ this -> _build_params [ 'eol' ] ; if ( is_object ( $ obj ) ) { $ ret = $ obj -> addSubpart ( $ this -> _htmlbody , $ params ) ; } else { $ ret = new Mail_mimePart ( $ this -> _htmlbody , $ params ) ; } return $ ret ; }
Adds a html subpart to the mimePart object and
returns it during the build process.

@param mixed &$obj The object to add the part to, or
null if a new object is to be created.

@return object     The html mimePart object
@access private
Adds a html subpart to the mimePart object and returns it during the build process .