SiteCreated
extends ConfigModelLog
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
- $_model : Model
- $_site : Site
- $_user : User
- getDescription() : string
- Description getter
- getFieldLabel() : string|null
- Get the labels for one field
- getHandle() : string
- Handle getter
- getModel() : Model|null
- Model getter
- getModelName() : string
- Get model name
- getName() : string
- Name getter
- getRequestName() : string
- Request name getter
- 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
- setModel() : mixed
- Model setter
- setSite() : mixed
- Site setter
- setUser() : mixed
- User setter
- _getTitle() : string
- Build the title from class name
- getFieldLabels() : array<string|int, mixed>
- Get the labels for the fields
- getModelLink() : string
- Get a link to the model edit page
- getNameField() : string
- Get model name field name
- loadModel() : Model|null
- Load the model
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
$_model
protected
Model
$_model
$_site
protected
Site
$_site
$_user
protected
User
$_user
Methods
getDescription()
Description getter
public
getDescription() : string
Return values
string —getFieldLabel()
Get the labels for one field
public
getFieldLabel(string $name) : string|null
Parameters
- $name : string
Return values
string|null —getHandle()
Handle getter
public
getHandle() : string
Return values
string —getModel()
Model getter
public
getModel() : Model|null
Return values
Model|null —getModelName()
Get model name
public
getModelName() : 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()
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 —setModel()
Model setter
public
setModel(Model $model) : mixed
Parameters
- $model : Model
Return values
mixed —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
Return values
string —getFieldLabels()
Get the labels for the fields
protected
getFieldLabels() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getModelLink()
Get a link to the model edit page
protected
getModelLink() : string
Tags
Return values
string —getNameField()
Get model name field name
protected
getNameField() : string
Return values
string —loadModel()
Load the model
protected
loadModel() : Model|null