UserSettingsChanged
extends SettingsLog
in package
Table of Contents
- $changedFields : array<string|int, mixed>
- $data : array<string|int, mixed>
- $dateCreated : DateTime
- $id : int
- $ip : string
- $request : string
- $site_id : int
- $site_name : string
- $target_class : string
- $target_name : string
- $target_uid : string
- $user_id : int
- $user_name : string
- $_site : Site
- $_user : User
- getDescription() : string
- Description getter
- getHandle() : string
- Handle getter
- getName() : string
- Name getter
- getRequestName() : string
- Request name getter
- getSettingLabel() : string|null
- Get the labels for one setting
- getSettingLabels() : array<string|int, mixed>
- Get the labels for the settings
- getSite() : Site|null
- Site getter
- getSiteName() : string
- Site name getter
- getTitle() : string
- getUser() : User|null
- User getter
- getUserName() : string
- User name getter
- save() : bool
- Save this log in database
- setSite() : mixed
- Site setter
- setUser() : mixed
- User setter
- _getTitle() : string
- Build the title from class name
Properties
$changedFields
public
array<string|int, mixed>
$changedFields
= []
$data
public
array<string|int, mixed>
$data
$dateCreated
public
DateTime
$dateCreated
$id
public
int
$id
$ip
public
string
$ip
Tags
$request
public
string
$request
$site_id
public
int
$site_id
$site_name
public
string
$site_name
$target_class
public
string
$target_class
$target_name
public
string
$target_name
$target_uid
public
string
$target_uid
$user_id
public
int
$user_id
$user_name
public
string
$user_name
$_site
protected
Site
$_site
$_user
protected
User
$_user
Methods
getDescription()
Description getter
public
getDescription() : string
Return values
string —getHandle()
Handle getter
public
getHandle() : string
Return values
string —getName()
Name getter
public
getName() : string
Return values
string —getRequestName()
Request name getter
public
getRequestName() : string
Tags
Return values
string —getSettingLabel()
Get the labels for one setting
public
getSettingLabel(string $name) : string|null
Parameters
- $name : string
Return values
string|null —getSettingLabels()
Get the labels for the settings
public
getSettingLabels() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getSite()
Site getter
public
getSite() : Site|null
Return values
Site|null —getSiteName()
Site name getter
public
getSiteName() : string
Return values
string —getTitle()
public
getTitle() : string
Tags
Return values
string —getUser()
User getter
public
getUser() : User|null
Return values
User|null —getUserName()
User name getter
public
getUserName() : string
Return values
string —save()
Save this log in database
public
save() : bool
Return values
bool —setSite()
Site setter
public
setSite(Site $site) : mixed
Parameters
- $site : Site
Return values
mixed —setUser()
User setter
public
setUser(User|null $user) : mixed
Parameters
- $user : User|null
Return values
mixed —_getTitle()
Build the title from class name
protected
_getTitle() : string