CoolCMS API

ParameterContentHelper
in package

Applies the content filters of a parameter (`disallowUrl`, `disallowBlacklistedWords`) in one phase.

The phase is either save (ContentFilterMode::OnSave) or render (ContentFilterMode::OnRender). A replacement happens only when the parameter's mode equals the current phase, so one method serves both save time (form trait) and render time (get(), specification).

Table of Contents

Constants

URL_PLACEHOLDER  : mixed = '[URL]'
WORD_PLACEHOLDER  : mixed = '[***]'

Methods

apply()  : string

Constants

Methods

On this page

Search results