diff options
author | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2018-10-02 14:45:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 14:45:36 +0200 |
commit | 21e6f5cd6e4d75655872c58d887d6457530b4b04 (patch) | |
tree | 4f80a00c6a3a0447d6a1375ed8d3ef501bf21109 /lib/Utility/OPMLExporter.php | |
parent | 13fb06e5141e3433ab502565527324ad1e924d00 (diff) | |
parent | 3c3de1756854c95a386e5396cb90424853c4c6ac (diff) |
Merge pull request #283 from danopz/entity-methods
Entity setters + getters
Diffstat (limited to 'lib/Utility/OPMLExporter.php')
-rw-r--r-- | lib/Utility/OPMLExporter.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Utility/OPMLExporter.php b/lib/Utility/OPMLExporter.php index 695eeac0b..19bb76ad7 100644 --- a/lib/Utility/OPMLExporter.php +++ b/lib/Utility/OPMLExporter.php @@ -13,6 +13,8 @@ namespace OCA\News\Utility; +use OCA\News\Db\Feed; + /** * Exports the OPML */ @@ -77,8 +79,12 @@ class OPMLExporter return $document; } - - protected function createFeedOutline($feed, $document) + /** + * @param Feed $feed + * @param \DOMDocument $document + * @return \DOMElement + */ + protected function createFeedOutline($feed, $document) { $feedOutline = $document->createElement('outline'); $feedOutline->setAttribute('title', $feed->getTitle()); |