WidgetSaved
extends WidgetCreated
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
- getSite() : Site|null
- Site getter
- getSiteName() : string
- Site name getter
- getTitle() : string
- Title getter
- 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
- setWidget() : mixed
- Set widget
- _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 —getSite()
Site getter
public
getSite() : Site|null
Return values
Site|null —getSiteName()
Site name getter
public
getSiteName() : string
Return values
string —getTitle()
Title getter
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 —setWidget()
Set widget
public
setWidget(Widget $widget) : mixed
Parameters
- $widget : Widget
Return values
mixed —_getTitle()
Build the title from class name
protected
_getTitle() : string