Table of Contents
-
$compatible
: bool
-
$description
: string
-
$enabled
: bool
-
$folder
: string
-
$hidden
: bool
-
$installed
: bool
-
$min_php
: float
-
$min_version
: float
-
$name
: string
-
$order
: int
-
$post_disable
: bool
-
$post_enable
: bool
-
$require
: array<string|int, mixed>
-
$require_php
: array<string|int, mixed>
-
$version
: float
-
$compatibilityDescription
: string
-
__construct()
: mixed
-
compatibilityDescription()
: string
-
delete()
: bool
-
dependenciesOk()
: bool
-
disabled()
: bool
-
exists()
: bool
-
folder()
: string
-
forja()
: mixed
-
getFromZip()
: Plugin|null
-
hasUpdate()
: bool
-
init()
: bool
-
checkCompatibility()
: void
-
hidden()
: bool
-
loadIniData()
: void
-
loadIniFile()
: void
$compatible
public
bool
$compatible
= false
$description
public
string
$description
= 'unknown'
$enabled
public
bool
$enabled
= false
$folder
public
string
$folder
= '-'
$hidden
public
bool
$hidden
= false
$installed
public
bool
$installed
= false
$min_php
public
float
$min_php
= 7.3
$min_version
public
float
$min_version
= 0
$name
public
string
$name
= '-'
$order
public
int
$order
= 0
$post_disable
public
bool
$post_disable
= false
$post_enable
public
bool
$post_enable
= false
$require
public
array<string|int, mixed>
$require
= []
$require_php
public
array<string|int, mixed>
$require_php
= []
$version
public
float
$version
= 0.0
$compatibilityDescription
private
string
$compatibilityDescription
= ''
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
-
$data
: array<string|int, mixed>
= []
-
Return values
mixed
—
compatibilityDescription()
public
compatibilityDescription() : string
Return values
string
—
delete()
public
delete() : bool
Return values
bool
—
dependenciesOk()
public
dependenciesOk(array<string|int, mixed> $enabledPlugins[, bool $showErrors = false ]) : bool
Parameters
-
$enabledPlugins
: array<string|int, mixed>
-
-
$showErrors
: bool
= false
-
Return values
bool
—
disabled()
public
disabled() : bool
Return values
bool
—
exists()
public
exists() : bool
Return values
bool
—
folder()
public
folder() : string
Return values
string
—
forja()
public
forja(string $field, mixed $default) : mixed
Parameters
-
$field
: string
-
-
$default
: mixed
-
Return values
mixed
—
getFromZip()
public
static getFromZip(string $zipPath) : Plugin|null
Parameters
-
$zipPath
: string
-
Return values
Plugin|null
—
hasUpdate()
public
hasUpdate() : bool
Return values
bool
—
init()
public
init() : bool
Return values
bool
—
checkCompatibility()
private
checkCompatibility() : void
Return values
void
—
hidden()
private
hidden() : bool
Return values
bool
—
loadIniData()
private
loadIniData(array<string|int, mixed> $data) : void
Parameters
-
$data
: array<string|int, mixed>
-
Return values
void
—
loadIniFile()
private
loadIniFile() : void
Return values
void
—