Horde_ActiveSync_Driver_Base::getAttachment PHP Метод

getAttachment() абстрактный публичный Метод

Return the specified attachment.
abstract public getAttachment ( string $name, array $options = [] ) : array
$name string The attachment identifier. For this driver, this consists of 'mailbox:uid:mimepart'
$options array Any options requested. Currently supported: - stream: (boolean) Return a stream resource for the mime contents.
Результат array The attachment in the form of an array with the following structure: array('content-type' => {the content-type of the attachement}, 'data' => {the raw attachment data})
    public abstract function getAttachment($name, array $options = array());