PluginVersion
extends BaseModel
in package
Helper class for managing plugin versions
Tags
Table of Contents
- $exists : bool
- $fillable : mixed
- $pluginCodeObj : PluginCode
- $updatedData : mixed
- $validationMessages : mixed
- $validationRules : mixed
- fill() : mixed
- getModelPluginName() : mixed
- getPluginCodeObj() : mixed
- getPluginVersionInformation() : mixed
- isNewModel() : mixed
- setPluginCode() : mixed
- Sets a string code of a plugin the model is associated with
- setPluginCodeObj() : mixed
- Sets a code object of a plugin the model is associated with
- validate() : mixed
- getPluginUpdatesPath() : mixed
- validateBeforeCreate() : mixed
Properties
$exists
public
bool
$exists
= false
This property is used by the system internally.
$fillable
protected
static mixed
$fillable
= []
$pluginCodeObj
protected
PluginCode
$pluginCodeObj
= null
The plugin code object the model is associated with.
$updatedData
protected
mixed
$updatedData
= []
$validationMessages
protected
mixed
$validationMessages
= []
$validationRules
protected
mixed
$validationRules
= []
Methods
fill()
public
fill(array<string|int, mixed> $attributes) : mixed
Parameters
- $attributes : array<string|int, mixed>
Return values
mixed —getModelPluginName()
public
getModelPluginName() : mixed
Return values
mixed —getPluginCodeObj()
public
getPluginCodeObj() : mixed
Return values
mixed —getPluginVersionInformation()
public
getPluginVersionInformation(mixed $pluginCodeObj) : mixed
Parameters
- $pluginCodeObj : mixed
Return values
mixed —isNewModel()
public
isNewModel() : mixed
Return values
mixed —setPluginCode()
Sets a string code of a plugin the model is associated with
public
setPluginCode(string $code) : mixed
Parameters
- $code : string
-
Specifies the plugin code
Return values
mixed —setPluginCodeObj()
Sets a code object of a plugin the model is associated with
public
setPluginCodeObj(PluginCode $obj) : mixed
Parameters
- $obj : PluginCode
-
Specifies the plugin code object
Return values
mixed —validate()
public
validate() : mixed
Return values
mixed —getPluginUpdatesPath()
protected
getPluginUpdatesPath(mixed $pluginCodeObj[, mixed $fileName = null ]) : mixed
Parameters
- $pluginCodeObj : mixed
- $fileName : mixed = null
Return values
mixed —validateBeforeCreate()
protected
validateBeforeCreate() : mixed