Ejemplo n.º 1
0
 /**
  * Get the Content of the current Mime Part in the given decoding.
  *
  * @return String
  */
 public function getDecodedContent()
 {
     if ($this->_isStream) {
         $result = stream_get_contents($this->getDecodedStream());
     } else {
         // Zend_Mime::decode not yet implemented
         $result = Zend_Mime::decode($this->_content, $this->encoding);
     }
     return $result;
 }