IP*Works! 2016 PHP Edition
IP*Works! 2016 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

ipworks_mime_get($res, 13 , $partidx);
ipworks_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 size of the array is controlled by the PartCount property.

This property is not available at design time.

Data Type

String

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 PHP Edition - Version 16.0 [Build 7353]