API16

JFeedItem/setEnclosure

< API16:JFeedItem

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Set the JFeedEnclosure for this item


<! 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 transcluded page call, red link never existed >

Examples

Code Examples


Advertisement