Detailed Description
Definition at line 35 of file Part.php.
Constructor & Destructor Documentation
create a new Mime Part. The (unencoded) content of the Part as passed as a string or stream
- Parameters:
-
| mixed | $content | String or Stream containing the content |
Definition at line 58 of file Part.php.
Member Function Documentation
Get the Content of the current Mime Part in the given encoding.
- Returns:
- String
Definition at line 141 of file Part.php.
if this was created with a stream, return a filtered stream for reading the content. very useful for large file attachments.
- Returns:
- stream
- Exceptions:
-
Definition at line 92 of file Part.php.
Return the headers for this part as a string
- Returns:
- String
Definition at line 208 of file Part.php.
Create and return the array of headers for this MIME part
public
- Returns:
- array
Definition at line 156 of file Part.php.
- Todo:
setters/getters
error checking for setting $type
error checking for setting $encoding
check if this part can be read as a stream. if true, getEncodedStream can be called, otherwise only getContent can be used to fetch the encoded content of the part
- Returns:
- bool
Definition at line 80 of file Part.php.
Field Documentation
$_isStream = false [protected] |
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/zend/Zend/Mime/Part.php