Zend\Mail\Storage\Part\PartInterface
Synopsis
interface PartInterface
extends RecursiveIterator
{
- // methods
- public bool isMultipart()
- public string getContent()
- public int getSize()
- public PartInterface getPart()
- public int countParts()
- public Headers getHeaders()
- public ArrayIterator getHeader()
- public string|array getHeaderField()
- public string __get()
- public string __toString()
- // Inherited methods from RecursiveIterator
- public RecursiveIterator getChildren()
- public bool hasChildren()
- public mixed current()
- public scalar key()
- public void next()
- public void rewind()
- public boolean valid()
- // Inherited methods from Iterator
- public mixed current()
- public scalar key()
- public void next()
- public void rewind()
- public boolean valid()
Hierarchy
Extends
Implemented by
Methods
public
- __get() — Getter for mail headers - name is matched in lowercase
- __toString() — magic method to get content of part
- countParts() — Count parts of a multipart part
- getContent() — Body of part
- getHeader() — Get a header in specified format
- getHeaderField() — Get a specific field from a header like content type or all fields as array
- getHeaders() — Get all headers
- getPart() — Get part of multipart message
- getSize() — Return size of part
- isMultipart() — Check if part is a multipart message
Inherited from RecursiveIterator
public
- current()
- getChildren() — Returns an iterator for the current entry.
- hasChildren() — Returns if an iterator can be created fot the current entry.
- key()
- next()
- rewind()
- valid()