Tuskfish API
  • Package
  • Class

Packages

  • content
  • core
  • database
  • installation
  • security
  • user
  • utilities

Classes

  • TfishArticle
  • TfishArticleHandler
  • TfishAudio
  • TfishAudioHandler
  • TfishBlock
  • TfishBlockHandler
  • TfishCollection
  • TfishCollectionHandler
  • TfishContentHandler
  • TfishContentObject
  • TfishDownload
  • TfishDownloadHandler
  • TfishImage
  • TfishImageHandler
  • TfishMetadata
  • TfishRss
  • TfishStatic
  • TfishStaticHandler
  • TfishTag
  • TfishTagHandler
  • TfishTaglink
  • TfishTaglinkHandler
  • TfishTemplate
  • TfishVideo
  • TfishVideoHandler

Class TfishRss

RSS feed generator class.

For information about the RSS 2.0 spec see http://cyber.harvard.edu/rss/rss.html

TfishAncestralObject
Extended by TfishRss
Package: content
Copyright: Simon Wilkinson 2013-2017 (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.0
Param: object $tfish_preference TfishPreference object to make site preferences available.
Located at trust_path/libraries/tuskfish/class/TfishRss.php

Methods summary

public
# __construct( TfishPreference $tfish_preference )

Initialise default property values and unset unneeded ones.

Initialise default property values and unset unneeded ones.

public
# makeFeedForCollection( TfishCollection $obj )

Make a RSS feed for a collection object.

Make a RSS feed for a collection object.

Parameters

$obj
TfishCollection object.
public
# __set( string $property, mixed $value )

Validate and set an existing object property according to type specified in constructor.

Validate and set an existing object property according to type specified in constructor.

For more fine-grained control each property could be dealt with individually.

Parameters

$property
Name of property.
$value
Value of property.

Overrides

TfishAncestralObject::__set

Methods inherited from TfishAncestralObject

__get(), __isset(), __unset(), getPropertyWhitelist(), toArray()

Properties summary

Properties inherited from TfishAncestralObject

$__data, $__properties

Magic properties

public string $title

Name of channel.

public string $link

URL to website associated with this channel.

public string $description

Sentence describing the channel.

public string $copyright

Copyright license of this channel.

public string $managingEditor

Email of the editor.

public string $webMaster

Email of the webmaster.

public string $generator

Name of software system generating this feed.

public string $image

Image representing channel.

public array $items

Array of content objects.

public string $template

Template for presenting feed, default 'rss'.

Tuskfish API API documentation generated by ApiGen