diff options
author | Robin Millette <millette@controlyourself.ca> | 2009-01-23 03:32:06 +0000 |
---|---|---|
committer | Robin Millette <millette@plantard.controlezvous.ca> | 2009-01-23 03:32:06 +0000 |
commit | 63c5e34bed5e1552334ad2cd8baff9e84584cd2b (patch) | |
tree | 5f18b9d0a878d2ad1a3d095abdaadd282e1529f1 | |
parent | 45f5094b46d568b787f9251f3e4c36f7e1921511 (diff) |
uiredesign
-rw-r--r-- | actions/noticesearchrss.php | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/actions/noticesearchrss.php b/actions/noticesearchrss.php index 20fe0ff2a..c1a1c2c67 100644 --- a/actions/noticesearchrss.php +++ b/actions/noticesearchrss.php @@ -1,5 +1,16 @@ <?php -/* +/** + * RSS feed for notice search action class. + * + * PHP version 5 + * + * @category Action + * @package Laconica + * @author Evan Prodromou <evan@controlyourself.ca> + * @author Robin Millette <millette@controlyourself.ca> + * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 + * @link http://laconi.ca/ + * * Laconica - a distributed open-source microblogging tool * Copyright (C) 2008, Controlez-Vous, Inc. * @@ -17,12 +28,24 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -if (!defined('LACONICA')) { exit(1); } - -require_once(INSTALLDIR.'/lib/rssaction.php'); +if (!defined('LACONICA')) { + exit(1); +} -// Formatting of RSS handled by Rss10Action +require_once INSTALLDIR.'/lib/rssaction.php'; +/** + * RSS feed for notice search action class. + * + * Formatting of RSS handled by Rss10Action + * + * @category Action + * @package Laconica + * @author Evan Prodromou <evan@controlyourself.ca> + * @author Robin Millette <millette@controlyourself.ca> + * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 + * @link http://laconi.ca/ + */ class NoticesearchrssAction extends Rss10Action { @@ -31,7 +54,7 @@ class NoticesearchrssAction extends Rss10Action return true; } - function get_notices($limit=0) + function getNotices($limit=0) { $q = $this->trimmed('q'); @@ -57,7 +80,7 @@ class NoticesearchrssAction extends Rss10Action return $notices; } - function get_channel() + function getChannel() { global $config; $q = $this->trimmed('q'); @@ -68,7 +91,7 @@ class NoticesearchrssAction extends Rss10Action return $c; } - function get_image() + function getImage() { return null; } |