/** */ protected function _write($filename, Horde_Mime_Part $part) { if (!$this->_ht->set($this->_id, $filename, array('filename' => true))) { throw new IMP_Compose_Exception('Could not save attachment data.'); } }