ContextData
Class with context data used in password validators. Uses internally an array with key/value pairs to store data.
Extensions authors using this class should use setData()
and getData()
to write or read custom data used in
custom password validators.
only to be used within ext:core, not part of TYPO3 Core API.
Table of Contents
Properties
- $data : array<string|int, mixed>
Methods
- __construct() : mixed
- getCurrentPasswordHash() : string
- getData() : string
- getLoginMode() : string
- getNewUserFirstName() : string
- getNewUserFullName() : string
- getNewUserLastName() : string
- getNewUsername() : string
- setData() : void
Properties
$data
protected
array<string|int, mixed>
$data
= []
Methods
__construct()
public
__construct([string $loginMode = 'BE' ][, string $currentPasswordHash = '' ][, string $newUsername = '' ][, string $newUserFirstName = '' ][, string $newUserLastName = '' ][, string $newUserFullName = '' ]) : mixed
Parameters
- $loginMode : string = 'BE'
- $currentPasswordHash : string = ''
- $newUsername : string = ''
- $newUserFirstName : string = ''
- $newUserLastName : string = ''
- $newUserFullName : string = ''
getCurrentPasswordHash()
public
getCurrentPasswordHash() : string
Return values
stringgetData()
public
getData(string $key) : string
Parameters
- $key : string
Return values
stringgetLoginMode()
public
getLoginMode() : string
Return values
stringgetNewUserFirstName()
public
getNewUserFirstName() : string
Return values
stringgetNewUserFullName()
public
getNewUserFullName() : string
Return values
stringgetNewUserLastName()
public
getNewUserLastName() : string
Return values
stringgetNewUsername()
public
getNewUsername() : string
Return values
stringsetData()
public
setData(string $key, string $value) : void
Parameters
- $key : string
- $value : string