Exemplo n.º 1
0
 /**
  * Returns the user's subscribed news feeds.
  *
  * @param int $offset (optional) offset in the feeds (for pagination)
  * @param int $length (optional) number of items to return (e.g. for pagination)
  * @param boolean $return_pagination_info (optional) if TRUE, then an array('feeds'=>array(...),'total'=>nr,'start'=>nr,'page'=>nr,'length'=>nr) is returned instead of just a result array.
  * @return array of feeds, where each feed is an array('type','title','name','url','author','date','obj','feed_obj') with the corresponding values, or a mapping with pagination info if $return_pagination_info was TRUE
  */
 public function get_news_feeds($offset = 0, $length = 0, $return_pagination_info = FALSE)
 {
     return koala_user::get_news_feeds_static($offset, $length, $return_pagination_info, $this);
 }