Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_feeds_Rss
  • icms_feeds_Simplerss
  • Overview
  • Package
  • Class

Class icms_feeds_Simplerss

SimplePie
Extended by icms_feeds_Simplerss
Package: Feeds\RSS
Copyright: The ImpressCMS Project http://www.impresscms.org/
License: GNU General Public License (GPL)
Author: malanciault <marcan@impresscms.org)
Located at feeds/Simplerss.php
Methods summary
public
# __construct( str $feed_url = NULL, integer $cache_duration = NULL )

The icms_feeds_Simplerss class contains feed level data and options

The icms_feeds_Simplerss class contains feed level data and options

There are two ways that you can create a new icms_feeds_Simplerss object. The first is by passing a feed URL as a parameter to the icms_feeds_Simplerss constructor (as well as optionally setting the cache expiry - The cache location is automatically set as ICMS_CACHE_PATH). This will initialise the whole feed with all of the default settings, and you can begin accessing methods and properties immediately.

The second way is to create the icms_feeds_Simplerss object with no parameters at all. This will enable you to set configuration options. After setting them, you must initialise the feed using $feed->init(). At that point the object's methods and properties will be available to you.

Parameters

$feed_url
This is the URL you want to parse.
$cache_duration
This is the number of seconds that you want to store the cache file for.
API documentation generated by ApiGen