summaryrefslogtreecommitdiff
path: root/modules/rss/helpers/rss.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-15 02:20:08 +0800
committer <unostar@danalan.info>2009-06-15 04:26:00 +0800
commit879e81f0a1fc4477a8e563d45348330706b6da8a (patch)
tree228c0fa8a40977cd8656de84c5678659786b1a9a /modules/rss/helpers/rss.php
parent10d9c6a92ac0002b4838d6a4056fe9cce5b934ba (diff)
Rename:
rss::get_feeds() -> rss::available_feeds() rss::process_feed() -> rss::feed_data() Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'modules/rss/helpers/rss.php')
-rw-r--r--modules/rss/helpers/rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rss/helpers/rss.php b/modules/rss/helpers/rss.php
index 3c278b49..cf42ec28 100644
--- a/modules/rss/helpers/rss.php
+++ b/modules/rss/helpers/rss.php
@@ -31,7 +31,7 @@ class rss_Core {
/**
* Get all available rss feeds
*/
- static function get_feeds($item, $sidebar_only=true) {
+ static function available_feeds($item, $sidebar_only=true) {
$feeds = array();
foreach (module::active() as $module) {
$class_name = "{$module->name}_rss";
@@ -48,7 +48,7 @@ class rss_Core {
return $feeds;
}
- static function process_feed($feed, $offset, $limit, $id) {
+ static function feed_data($feed, $offset, $limit, $id) {
foreach (module::active() as $module) {
$class_name = "{$module->name}_rss";
if (method_exists($class_name, $feed)) {