IPWorks OpenPGP 2020 PHP Edition

Questions / Feedback?

PartContentType Property

Content type for each part.

Object Oriented Interface

public function getPartContentType($partidx);
public function setPartContentType($partidx, $value);

Procedural Interface

ipworksopenpgp_mime_get($res, 13 , $partidx);
ipworksopenpgp_mime_set($res, 13, $value , $partidx);

Default Value

''

Remarks

Content type for each part. The value of this property is used in the Content-Type header. Typical values include "image/gif", "text/plain" etc. The class fills it out each time the PartDecodedFile is changed. Changing This property recalculates the PartHeaders as well.

The $partidx parameter specifies the index of the item in the array. The size of the array is controlled by the PartCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 PHP Edition - Version 20.0 [Build 8249]