BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
RSSFeeder Class Reference
Inheritance diagram for RSSFeeder:
Collaboration diagram for RSSFeeder:

Public Member Functions

 onBSDashboardsAdminDashboardPortalPortlets (&$aPortlets)
 
 onBSDashboardsAdminDashboardPortalConfig ($oCaller, &$aPortalConfig, $bIsDefault)
 
 onBSDashboardsUserDashboardPortalPortlets (&$aPortlets)
 
 onBSDashboardsUserDashboardPortalConfig ($oCaller, &$aPortalConfig, $bIsDefault)
 
- Public Member Functions inherited from BsExtensionMW
 setCore ($oCore)
 
 getInfo ()
 
 setup ($sExtName="", $aConfig=array())
 
 setHook ($hook, $method=false, $bExecuteFirst=false)
 
 setContext (\IContextSource $context)
 
 setConfig (\Config $config)
 
 getResourcePath ()
 
 getName ()
 
 getExtensionKey ()
 
 getExtensionPath ()
 
 getImagePath ($bResources=false)
 
 getCacheKey ($sSubKey= 'default')
 
 makeTagExtensionDefinitions ()
 
- Public Member Functions inherited from BlueSpice\Extension
 jsonSerialize ()
 
 __construct (array $definition,\IContextSource $context,\Config $config)
 
 getInfo ()
 
 getResourcePath ()
 
 getExtensionPath ()
 
 getName ()
 
 getAuthors ()
 
 getStatus ()
 
 getPackage ()
 
 getUrl ()
 
 getVersion ()
 
 getExtensionKey ()
 
- Public Member Functions inherited from BlueSpice\Context
 __construct (\IContextSource $context,\Config $config)
 
 canUseWikiPage ()
 
 exportSession ()
 
 getConfig ()
 
 getLanguage ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getStats ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 
 msg ($key)
 

Static Public Member Functions

static getRSS ($iCount, $sUrl)
 
static registerFeed ($sName, $sTitle, $sDescription, $oObject, $sMethod, $aParams, $sLinkBuilder=false)
 
static unregisterFeed ($sName)
 
static getRegisteredFeeds ()
 
static onUnitTestsList (array &$paths)
 

Protected Member Functions

 initExt ()
 
- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 

Static Protected Attributes

static $aFeeds = array()
 

Additional Inherited Members

- Protected Attributes inherited from BsExtensionMW
 $mExtensionKey = null
 
 $mExtensionFile = null
 
 $mExtensionType = null
 
 $mInfo = null
 
 $mResourcePath = null
 
 $sName = ''
 
 $sStatus = ''
 
 $sPackage = ''
 
 $mCore = null
 
 $aStandardContext = array( '*', '*', '*' )
 
- Protected Attributes inherited from BlueSpice\Extension
 $extPath = ''
 
 $name = ''
 
 $authors = []
 
 $version = ''
 
 $url = ''
 
 $status = ''
 
 $package = ''
 
- Protected Attributes inherited from BlueSpice\Context
 $context = null
 
 $config = null
 

Member Function Documentation

static RSSFeeder::getRegisteredFeeds ( )
static

returns an array of all registered feed plugings

Returns
array
RSSFeeder::initExt ( )
protected

initialise the extension

RSSFeeder::onBSDashboardsAdminDashboardPortalConfig (   $oCaller,
$aPortalConfig,
  $bIsDefault 
)

Hook Handler for BSDashboardsAdminDashboardPortalConfig

Parameters
object$oCallercaller instance
array&$aPortalConfigreference to array portlet configs
boolean$bIsDefaultdefault
Returns
boolean always true to keep hook alive
RSSFeeder::onBSDashboardsAdminDashboardPortalPortlets ( $aPortlets)

Hook Handler for BSDashboardsAdminDashboardPortalPortlets

Parameters
array&$aPortletsreference to array portlets
Returns
boolean always true to keep hook alive
RSSFeeder::onBSDashboardsUserDashboardPortalConfig (   $oCaller,
$aPortalConfig,
  $bIsDefault 
)

Hook Handler for BSDashboardsAdminDashboardPortalConfig

Parameters
object$oCallercaller instance
array&$aPortalConfigreference to array portlet configs
boolean$bIsDefaultdefault
Returns
boolean always true to keep hook alive
RSSFeeder::onBSDashboardsUserDashboardPortalPortlets ( $aPortlets)

Hook Handler for BSDashboardsAdminDashboardPortalPortlets

Parameters
array&$aPortletsreference to array portlets
Returns
boolean always true to keep hook alive
static RSSFeeder::registerFeed (   $sName,
  $sTitle,
  $sDescription,
  $oObject,
  $sMethod,
  $aParams,
  $sLinkBuilder = false 
)
static

register a feed plugin to the RSSFeeder

Parameters
string$sNamethe unique name of the plugin
string$sTitlethe nationalized title of the plugin
string$sDescriptionthe nationalized description of the plugin
object$oObjectthe object instance of the plugin class
string$sMethodthe plugin method
array$aParamsthe params to put to the method
string$sLinkBuilderthe method to build the link to the feed
static RSSFeeder::unregisterFeed (   $sName)
static

unregister a feed plugin from the RSSFeeder

Parameters
string$sNamethe unique name of the plugin

The documentation for this class was generated from the following file: