Contents

Tailor\Classes\Blueprint\SubmissionBlueprint

Overview

SubmissionBlueprint for user-submitted content with approval workflow

Extends

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

protected string $typeName

typeName of the blueprint

Show inherited protected properties

Inherited Protected Properties


Public Methods

public getModelClassName()

public getModelClassName(): void

public getNotifyGroup()

public getNotifyGroup(): string|null 

getNotifyGroup returns the admin user group code to notify, null disables notifications

public getNotifyReplyTo()

public getNotifyReplyTo(): string 

getNotifyReplyTo returns the field name used as the reply-to address

public getNotifyTemplate()

public getNotifyTemplate(): string 

getNotifyTemplate returns the mail template used for the notification

public getPurgeRejectedDays()

public getPurgeRejectedDays(): int 

getPurgeRejectedDays returns days to keep rejected submissions, zero disables purging

public getSpamSweepDays()

public getSpamSweepDays(): int 

getSpamSweepDays returns the lookback window for rejecting spam by IP, zero disables the sweep

public getTitleTemplate()

public getTitleTemplate(): string|null 

getTitleTemplate returns a Twig template used to build the record title

public isEntryEnabledByDefault()

public isEntryEnabledByDefault(): bool 

isEntryEnabledByDefault returns false since submissions arrive as pending

public useDrafts()

public useDrafts(): bool 

useDrafts returns false since submissions don't use drafts

public usePageFinder()

public usePageFinder($context = 'item'): void

usePageFinder returns false since submissions are not linkable pages

Show inherited public methods

Inherited Public Methods

Protected Methods

Show inherited protected methods

Inherited Protected Methods