Documentation du code de SPIP et de ses plugins

TextWheel pour SPIP

PreEchappeHtmlPropreEvent extends PipelineEvent
in package
implements PipelineEventFactoryInterface uses StringTextPipelineTrait

FinalYes

Étape argumentée avant l’échappement HTML de `propre()` (pipeline `pre_echappe_html_propre_args`).

Préférer cet événement au pipeline historique sans contexte pre_echappe_html_propre.

Tags
see
https://programmer.spip.net/pre_echappe_html_propre_args
Attributes
#[AsPipelineEvent]
'pre_echappe_html_propre_args'

Table of Contents

Interfaces

PipelineEventFactoryInterface

Constants

PIPELINE_NAME  = 'pre_echappe_html_propre_args'

Methods

__construct()  : mixed
fromLegacyPayload()  : static
getConnect()  : mixed
getEnv()  : array<int|string, mixed>
Contexte `$env` de `propre()`.
getPropreCallArguments()  : array<int|string, mixed>
Arguments bruts passés à l’appel de `propre()` (équivalent de `func_get_args()` dans le filtre).

Constants

Methods

__construct()

public __construct([string $text = '' ][, array<string, mixed>|null $arguments = null ]) : mixed
Parameters
$text : string = ''
$arguments : array<string, mixed>|null = null

Clés habituelles : args (liste des arguments de propre()), connect, env.

fromLegacyPayload()

public static fromLegacyPayload(mixed $subject[, array<string|int, mixed>|null $arguments = null ]) : static
Parameters
$subject : mixed
$arguments : array<string|int, mixed>|null = null
Return values
static

getPropreCallArguments()

Arguments bruts passés à l’appel de `propre()` (équivalent de `func_get_args()` dans le filtre).

public getPropreCallArguments() : array<int|string, mixed>
Return values
array<int|string, mixed>

        
On this page

Search results