ItemEnclosureType Property

This property specifies the type of enclosure.

Object Oriented Interface

public function getItemEnclosureType($itemindex);
public function setItemEnclosureType($itemindex, $value);

Procedural Interface

ipworks_rss_get($res, 50 , $itemindex);
ipworks_rss_set($res, 50, $value , $itemindex);

Default Value

''

Remarks

This property specifies the type of enclosure. This property must contain a standard MIME type such as "audio/mpeg".

An enclosure specifies a media object which is attached to the item. The fields ItemEnclosureLength, ItemEnclosureType, and ItemEnclosureUrl all are required when specifying an enclosure.

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

This property is not available at design time.

Data Type

String

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