Actions

API16

JFeedItem/setEnclosure

From Joomla! Documentation

< API16:JFeedItem
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Set the JFeedEnclosure for this item

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

setEnclosure($enclosure)
Parameter Name Default Value Description
$enclosure $enclosure The to add to the feed.

Defined in

libraries/joomla/document/feed/feed.php

Importing

jimport( 'joomla.document.feed.feed' );

Source Body

function setEnclosure($enclosure)      {
        $this->enclosure = $enclosure;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />