Table of Contents
Constants
-
EMAIL_LENGTH
= 254
-
WEBSITE_LENGTH
= 2083
-
LOCALHOST_PATTERN
= '/https?:\/\/(\w*:\w*@)?((localhost)|(127\.0\.0\.1))\b/'
-
PLUGIN_DESCRIPTION_LENGTH
= 1000
-
PLUGIN_DISPLAY_NAME_LENGTH
= 500
-
PLUGIN_NAME_RANGE_MAX
= 64
-
PLUGIN_NAME_RANGE_MIN
= 4
Properties
-
$receiver
: IValidationReceiver
-
$validator
: Validator
-
$environment
: Environment
Methods
-
__construct()
: mixed
-
isCheckUrl()
: bool
-
isDescription()
: bool
-
isDisplayName()
: bool
-
isEmail()
: bool
-
isFreePluginId()
: bool
-
isFreePluginName()
: bool
-
isPluginId()
: bool
-
isPluginName()
: bool
-
isWebsite()
: bool
EMAIL_LENGTH
public
mixed
EMAIL_LENGTH
= 254
WEBSITE_LENGTH
public
mixed
WEBSITE_LENGTH
= 2083
LOCALHOST_PATTERN
private
mixed
LOCALHOST_PATTERN
= '/https?:\/\/(\w*:\w*@)?((localhost)|(127\.0\.0\.1))\b/'
PLUGIN_DESCRIPTION_LENGTH
private
mixed
PLUGIN_DESCRIPTION_LENGTH
= 1000
PLUGIN_DISPLAY_NAME_LENGTH
private
mixed
PLUGIN_DISPLAY_NAME_LENGTH
= 500
PLUGIN_NAME_RANGE_MAX
private
mixed
PLUGIN_NAME_RANGE_MAX
= 64
PLUGIN_NAME_RANGE_MIN
private
mixed
PLUGIN_NAME_RANGE_MIN
= 4
__construct()
public
__construct(IValidationReceiver $receiver, Validator $validator, Environment $environment) : mixed
Parameters
-
$receiver
: IValidationReceiver
-
-
$validator
: Validator
-
-
$environment
: Environment
-
isCheckUrl()
public
isCheckUrl(string $key, string|null $value) : bool
Parameters
-
$key
: string
-
-
$value
: string|null
-
isDescription()
public
isDescription(string $key, string|null $value) : bool
Parameters
-
$key
: string
-
-
$value
: string|null
-
isDisplayName()
public
isDisplayName(string $key, string|null $value) : bool
Parameters
-
$key
: string
-
-
$value
: string|null
-
isEmail()
public
final isEmail(string $key, string|null $value) : bool
Parameters
-
$key
: string
-
-
$value
: string|null
-
isFreePluginId()
public
isFreePluginId(DatabaseContext $database, string $key, string $pluginId) : bool
Parameters
-
$database
: DatabaseContext
-
-
$key
: string
-
-
$pluginId
: string
-
isFreePluginName()
public
isFreePluginName(DatabaseContext $database, string $key, string $pluginName) : bool
Parameters
-
$database
: DatabaseContext
-
-
$key
: string
-
-
$pluginName
: string
-
isPluginId()
public
isPluginId(string $key, string|null $value) : bool
Parameters
-
$key
: string
-
-
$value
: string|null
-
isPluginName()
public
isPluginName(string $key, string|null $value) : bool
Parameters
-
$key
: string
-
-
$value
: string|null
-
isWebsite()
public
final isWebsite(string $key, string|null $value) : bool
Parameters
-
$key
: string
-
-
$value
: string|null
-