PHP Класс FeedDiscussionsPlugin, addons

Наследование: extends Gdn_Plugin
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$FeedList
$RawFeedList

Открытые методы

Метод Описание
Base_GetAppSettingsMenuItems_Handler ( $Sender ) Set up appmenu link
CheckFeeds ( boolean $AutoImport = TRUE ) : boolean | integer Time to update from RSS?
Controller_AddFeed ( $Sender ) Add a feed.
Controller_CheckFeeds ( $Sender ) Endpoint to trigger feed check & update.
Controller_DeleteFeed ( $Sender ) Delete a feed.
Controller_Index ( $Sender ) Dashboard settings page.
Controller_Toggle ( $Sender ) Handle toggling of the FeedDiscussions.Enabled setting
DiscussionController_BeforeDiscussionRender_Handler ( $Sender ) Include Javascript in discussion pages.
EncodeFeedKey ( $Key )
PluginController_FeedDiscussions_Create ( $Sender ) Act as a mini dispatcher for API requests to the plugin app
ReplaceBadURLs ( $Matches )
Setup ( )

Защищенные методы

Метод Описание
AddFeed ( $FeedURL, $Feed )
GetFeed ( $FeedKey, $PreEncoded = TRUE )
GetFeeds ( $Raw = FALSE, $Regen = FALSE )
HaveFeed ( $FeedKey, $PreEncoded = TRUE )
PollFeed ( $FeedURL, $LastImportDate )
RemoveFeed ( $FeedKey, $PreEncoded = TRUE )
UpdateFeed ( $FeedKey, $FeedOptionKey, $FeedOptionValue = NULL )

Описание методов

AddFeed() защищенный Метод

protected AddFeed ( $FeedURL, $Feed )

Base_GetAppSettingsMenuItems_Handler() публичный Метод

Set up appmenu link

CheckFeeds() публичный Метод

Time to update from RSS?
public CheckFeeds ( boolean $AutoImport = TRUE ) : boolean | integer
$AutoImport boolean
Результат boolean | integer

Controller_AddFeed() публичный Метод

Add a feed.
public Controller_AddFeed ( $Sender )
$Sender

Controller_CheckFeeds() публичный Метод

Endpoint to trigger feed check & update.
public Controller_CheckFeeds ( $Sender )
$Sender

Controller_DeleteFeed() публичный Метод

Delete a feed.
public Controller_DeleteFeed ( $Sender )
$Sender

Controller_Index() публичный Метод

Dashboard settings page.
public Controller_Index ( $Sender )
$Sender

Controller_Toggle() публичный Метод

This method handles the internally re-dispatched call generated when a user clicks the 'Enable' or 'Disable' button within the dashboard settings page for Feed Discussions.
public Controller_Toggle ( $Sender )

DiscussionController_BeforeDiscussionRender_Handler() публичный Метод

Include Javascript in discussion pages.

EncodeFeedKey() публичный статический Метод

public static EncodeFeedKey ( $Key )

GetFeed() защищенный Метод

protected GetFeed ( $FeedKey, $PreEncoded = TRUE )

GetFeeds() защищенный Метод

protected GetFeeds ( $Raw = FALSE, $Regen = FALSE )

HaveFeed() защищенный Метод

protected HaveFeed ( $FeedKey, $PreEncoded = TRUE )

PluginController_FeedDiscussions_Create() публичный Метод

Act as a mini dispatcher for API requests to the plugin app

PollFeed() защищенный Метод

protected PollFeed ( $FeedURL, $LastImportDate )

RemoveFeed() защищенный Метод

protected RemoveFeed ( $FeedKey, $PreEncoded = TRUE )

ReplaceBadURLs() публичный Метод

public ReplaceBadURLs ( $Matches )

Setup() публичный Метод

public Setup ( )

UpdateFeed() защищенный Метод

protected UpdateFeed ( $FeedKey, $FeedOptionKey, $FeedOptionValue = NULL )

Описание свойств

$FeedList защищенное свойство

protected $FeedList

$RawFeedList защищенное свойство

protected $RawFeedList