Documentation

FeedController
in package

Facade controller delegating to specialized sub-controllers.

Tags
since
3.0.0

Table of Contents

Properties

$editController  : FeedEditController
$feedFacade  : FeedFacade
$loadController  : FeedLoadController

Methods

__construct()  : mixed
autoupdate()  : void
Refresh feeds that are due for auto-update.
deleteFeed()  : void
edit()  : void
editFeed()  : void
getFacade()  : FeedFacade
Get the FeedFacade instance.
index()  : void
Legacy server-rendered feed pages — now all the SPA.
loadFeedRoute()  : void
multiLoad()  : void
newFeed()  : void
renderFeedLoadInterface()  : void
Render feed load interface (used by renderFeedLoadInterfaceModern delegation).
spa()  : void
redirectToManager()  : void
Send the caller to the feeds manager SPA.

Properties

Methods

autoupdate()

Refresh feeds that are due for auto-update.

public autoupdate(array<string, string> $params) : void
Parameters
$params : array<string, string>

Route parameters

deleteFeed()

public deleteFeed(int $id) : void
Parameters
$id : int

edit()

public edit(array<string, string> $params) : void
Parameters
$params : array<string, string>

Route parameters

editFeed()

public editFeed(int $id) : void
Parameters
$id : int

index()

Legacy server-rendered feed pages — now all the SPA.

public index(array<string, string> $params) : void

/feeds (the article browser), /feeds/edit and /feeds/multi-load were a second implementation of what /feeds/manage already does entirely from /api/v1, including the edit-before-import flow that kept the browser alive. They redirect rather than 404 so existing bookmarks keep working.

Parameters
$params : array<string, string>

Route parameters

loadFeedRoute()

public loadFeedRoute(int $id) : void
Parameters
$id : int

multiLoad()

public multiLoad(array<string, string> $params) : void
Parameters
$params : array<string, string>

newFeed()

public newFeed(array<string, string> $params) : void
Parameters
$params : array<string, string>

renderFeedLoadInterface()

Render feed load interface (used by renderFeedLoadInterfaceModern delegation).

public renderFeedLoadInterface(int $currentFeed, bool $checkAutoupdate, string $redirectUrl) : void
Parameters
$currentFeed : int
$checkAutoupdate : bool
$redirectUrl : string

spa()

public spa(array<string, string> $params) : void
Parameters
$params : array<string, string>

redirectToManager()

Send the caller to the feeds manager SPA.

private redirectToManager() : void
On this page

Search results