InstalledVersion
in package
Class InstalledVersion.
DB class for storing installed_version data.
Table of Contents
- $mid : int|null
- Module ID.
- $module : string|null
- Module name.
- $version : string|null
- Module version.
- __construct() : mixed
- dump() : array<string|int, mixed>
- Return the values as an associative array.
- getMid() : int|null
- Get the module ID.
- getModule() : string|null
- Get the module name.
- getVersion() : string|null
- Get the module version.
- setMid() : void
- Set the module ID.
- setModule() : void
- Set the module name.
- setVersion() : void
- Set the module version.
Properties
$mid
Module ID.
protected
int|null
$mid
$module
Module name.
protected
string|null
$module
$version
Module version.
protected
string|null
$version
Methods
__construct()
public
__construct([int|null $mid = null ][, string|null $module = null ][, string|null $version = null ]) : mixed
Parameters
- $mid : int|null = null
- $module : string|null = null
- $version : string|null = null
Return values
mixed —dump()
Return the values as an associative array.
public
dump() : array<string|int, mixed>
Return values
array<string|int, mixed> —Account.
getMid()
Get the module ID.
public
getMid() : int|null
Return values
int|null —Module ID.
getModule()
Get the module name.
public
getModule() : string|null
Return values
string|null —Module name.
getVersion()
Get the module version.
public
getVersion() : string|null
Return values
string|null —Module version.
setMid()
Set the module ID.
public
setMid(int|null $mid) : void
Parameters
- $mid : int|null
-
Module ID.
Return values
void —setModule()
Set the module name.
public
setModule(string|null $module) : void
Parameters
- $module : string|null
-
Module name.
Return values
void —setVersion()
Set the module version.
public
setVersion(string|null $version) : void
Parameters
- $version : string|null
-
Module version.