Runaway comment in rssaction
This commit is contained in:
parent
ae0f2009d5
commit
ba3b82c563
|
@ -35,10 +35,10 @@ define('DEFAULT_RSS_LIMIT', 48);
|
||||||
class Rss10Action extends Action
|
class Rss10Action extends Action
|
||||||
{
|
{
|
||||||
# This will contain the details of each feed item's author and be used to generate SIOC data.
|
# This will contain the details of each feed item's author and be used to generate SIOC data.
|
||||||
|
|
||||||
var $creators = array();
|
var $creators = array();
|
||||||
var $limit = DEFAULT_RSS_LIMIT;
|
var $limit = DEFAULT_RSS_LIMIT;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
@ -57,10 +57,10 @@ class Rss10Action extends Action
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Do we need to write to the database?
|
* Do we need to write to the database?
|
||||||
*
|
*
|
||||||
* @return boolean true
|
* @return boolean true
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function isReadonly()
|
function isReadonly()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
@ -68,11 +68,11 @@ class Rss10Action extends Action
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read arguments and initialize members
|
* Read arguments and initialize members
|
||||||
*
|
*
|
||||||
* @param array $args Arguments from $_REQUEST
|
* @param array $args Arguments from $_REQUEST
|
||||||
* @return boolean success
|
* @return boolean success
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function prepare($args)
|
function prepare($args)
|
||||||
{
|
{
|
||||||
$this->limit = (int) $this->trimmed('limit');
|
$this->limit = (int) $this->trimmed('limit');
|
||||||
|
@ -81,15 +81,15 @@ class Rss10Action extends Action
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle a request
|
* Handle a request
|
||||||
*
|
*
|
||||||
* @param array $args Arguments from $_REQUEST
|
* @param array $args Arguments from $_REQUEST
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function handle($args)
|
function handle($args)
|
||||||
{
|
{
|
||||||
parent::handle($args);
|
parent::handle($args);
|
||||||
|
@ -98,10 +98,10 @@ class Rss10Action extends Action
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the notices to output in this stream
|
* Get the notices to output in this stream
|
||||||
*
|
*
|
||||||
* @return array an array of Notice objects sorted in reverse chron
|
* @return array an array of Notice objects sorted in reverse chron
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function getNotices()
|
function getNotices()
|
||||||
{
|
{
|
||||||
return array();
|
return array();
|
||||||
|
@ -109,9 +109,11 @@ class Rss10Action extends Action
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a description of the channel
|
* Get a description of the channel
|
||||||
*
|
*
|
||||||
* Returns an array with the following
|
* Returns an array with the following
|
||||||
* @return array
|
* @return array
|
||||||
|
*/
|
||||||
|
|
||||||
function get_channel()
|
function get_channel()
|
||||||
{
|
{
|
||||||
return array('url' => '',
|
return array('url' => '',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user