Свойство | Type | Description | |
---|---|---|---|
$copyright | string | ||
$description | string | ||
$items | Suin\RSSWriter\ItemInterface[] | ||
$language | string | ||
$lastBuildDate | integer | ||
$pubDate | integer | ||
$pubsubhubbub | string[] | ||
$title | string | ||
$ttl | integer | ||
$url | string |
Méthode | Description | |
---|---|---|
addItem ( Suin\RSSWriter\ItemInterface $item ) | Add item object | |
appendTo ( Suin\RSSWriter\FeedInterface $feed ) | Append to feed | |
asXML ( ) : |
Return XML object | |
copyright ( string $copyright ) | Set channel copyright | |
description ( string $description ) | Set channel description | |
language ( string $language ) | Set ISO639 language code | |
lastBuildDate ( integer $lastBuildDate ) | Set channel last build date | |
pubDate ( integer $pubDate ) | Set channel published date | |
pubsubhubbub ( string $feedUrl, string $hubUrl ) | Enable PubSubHubbub discovery | |
title ( string $title ) | Set channel title | |
ttl ( integer $ttl ) | Set channel ttl (minutes) | |
url ( string $url ) | Set channel URL |
public addItem ( Suin\RSSWriter\ItemInterface $item ) | ||
$item | Suin\RSSWriter\ItemInterface |
public appendTo ( Suin\RSSWriter\FeedInterface $feed ) | ||
$feed | Suin\RSSWriter\FeedInterface |
public asXML ( ) : |
||
Résultat |
public description ( string $description ) | ||
$description | string |
public lastBuildDate ( integer $lastBuildDate ) | ||
$lastBuildDate | integer | Unix timestamp |
public pubsubhubbub ( string $feedUrl, string $hubUrl ) | ||
$feedUrl | string | |
$hubUrl | string |
protected ItemInterface[],Suin\RSSWriter $items | ||
Résultat | Suin\RSSWriter\ItemInterface[] |