PHP 클래스 FeedDiscussionsPlugin, addons

상속: extends Gdn_Plugin
파일 보기 프로젝트 열기: vanilla/addons 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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