Documentation

FeedWizardController
in package

Controller for feed wizard operations.

Handles the multi-step feed creation wizard:

  • Step 1: Insert Feed URI
  • Step 2: Select Article Text
  • Step 3: Filter Text
  • Step 4: Edit Options
Tags
since
3.0.0

Table of Contents

Properties

$feedFacade  : FeedFacade
Feed facade.
$languageFacade  : LanguageFacade
Language facade.
$viewPath  : string
View base path.
$wizardSession  : FeedWizardSessionManager
Wizard session manager.

Methods

__construct()  : mixed
Constructor.
setViewPath()  : void
Set custom view path.
wizard()  : RedirectResponse|null
Feed wizard page.
getStep2FeedHtml()  : string|array<string|int, mixed>
Get HTML content for step 2 feed preview.
getStep3FeedHtml()  : string|array<string|int, mixed>
Get HTML content for step 3 feed preview.
getWizardFeed()  : array<int|string, mixed>
Get the wizard feed data as typed array.
initWizardSession()  : void
Initialize wizard session data.
loadExistingFeedForEdit()  : RedirectResponse|null
Load existing feed data for editing.
loadNewFeedFromUrl()  : RedirectResponse|null
Load new feed from URL.
processStep2SessionParams()  : void
Process step 2 session parameters.
processStep3SessionParams()  : void
Process step 3 session parameters.
updateFeedArticleSource()  : void
Update feed article source.
wizardStep1()  : void
Wizard Step 1: Insert Feed URI.
wizardStep2()  : RedirectResponse|null
Wizard Step 2: Select Article Text.
wizardStep3()  : void
Wizard Step 3: Filter Text.
wizardStep4()  : void
Wizard Step 4: Edit Options.

Properties

Methods

setViewPath()

Set custom view path.

public setViewPath(string $path) : void
Parameters
$path : string

View path

wizard()

Feed wizard page.

public wizard(array<string, string> $params) : RedirectResponse|null

Routes based on step parameter:

  • step=1: Insert Feed URI
  • step=2: Select Article Text
  • step=3: Filter Text
  • step=4: Edit Options
Parameters
$params : array<string, string>

Route parameters

Return values
RedirectResponse|null

Redirect response or null if rendered

getStep2FeedHtml()

Get HTML content for step 2 feed preview.

private getStep2FeedHtml() : string|array<string|int, mixed>
Return values
string|array<string|int, mixed>

HTML content

getStep3FeedHtml()

Get HTML content for step 3 feed preview.

private getStep3FeedHtml() : string|array<string|int, mixed>
Return values
string|array<string|int, mixed>

HTML content

getWizardFeed()

Get the wizard feed data as typed array.

private getWizardFeed() : array<int|string, mixed>
Return values
array<int|string, mixed>

processStep2SessionParams()

Process step 2 session parameters.

private processStep2SessionParams() : void

processStep3SessionParams()

Process step 3 session parameters.

private processStep3SessionParams() : void

updateFeedArticleSource()

Update feed article source.

private updateFeedArticleSource(string $articleSection, int $feedLen) : void
Parameters
$articleSection : string

New article section

$feedLen : int

Number of feed items

wizardStep1()

Wizard Step 1: Insert Feed URI.

private wizardStep1() : void
Tags
psalm-suppress

UnresolvableInclude View path is constructed at runtime


        
On this page

Search results