public function setDescription($description)
    {
        if (is_null($description)) {
            unset($this->_headers['content-description']);
        } else {
            if (!($hdr = $this->_headers['content-description'])) {
                $hdr = new Horde_Mime_Headers_ContentDescription(null, '');
                $this->_headers->addHeaderOb($hdr);
            }
            $hdr->setValue($description);
        }
    }
public function setDescription($description)
    {
        if (is_null($description)) {
            unset($this->_headers['content-description']);
        } else {
            if (!($hdr = $this->_headers['content-description'])) {
                $hdr = new Horde_Mime_Headers_ContentDescription(null, '');
                $this->_headers->addHeaderOb($hdr);
            }
            $hdr->setValue($description);
        }
    }
public function setDescription ( $ description ) { if ( is_null ( $ description ) ) { unset ( $ this -> _headers [ 'content-description' ] ) ; } else { if ( ! ( $ hdr = $ this -> _headers [ 'content-description' ] ) ) { $ hdr = new Horde_Mime_Headers_ContentDescription ( null , '' ) ; $ this -> _headers -> addHeaderOb ( $ hdr ) ; } $ hdr -> setValue ( $ description ) ; } }
Set the description of this part.

@param string $description  The description of this part. If null,
deletes the description (@since 2.8.0).
Set the description of this part .