aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-08-23 20:55:08 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-08-23 20:55:08 +0200
commit17cf6fae6b7d5219f26341dc2829fe6f103e4aab (patch)
treef3bef008a1befcd9c1a20562c99f30f5a9532c98 /app/Models/Feed.php
parente3bb80de17c79cf32a2e3a606f216aebf48f92e5 (diff)
parent3f0e9f70d244da84d917b3093665730ca245e483 (diff)
Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index fe1e52ea2..2a5ea45ac 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -28,6 +28,12 @@ class FreshRSS_Feed extends Minz_Model {
}
}
+ public static function example() {
+ $f = new FreshRSS_Feed('http://example.net/', false);
+ $f->faviconPrepare();
+ return $f;
+ }
+
public function id() {
return $this->id;
}