Csrf implements FilterAttributeInterface
FinalYes
Attributes
- #[Attribute]
- \Attribute::TARGET_METHOD
Table of Contents
Interfaces
Methods
- __construct() : mixed
- getFilters() : array<string|int, Base|string>
- getType() : FilterType
Methods
__construct()
public
__construct([bool $enabled = true ][, string $tokenName = 'sessid' ][, bool $returnNew = true ][, FilterType $type = \Bitrix\Main\Engine\ActionFilter\FilterType::EnablePrefilter ]) : mixed
Parameters
- $enabled : bool = true
- $tokenName : string = 'sessid'
- $returnNew : bool = true
- $type : FilterType = \Bitrix\Main\Engine\ActionFilter\FilterType::EnablePrefilter
getFilters()
public
getFilters() : array<string|int, Base|string>
Return values
array<string|int, Base|string>getType()
public
getType() : FilterType