jProfilesCompilerPlugin
in package
default plugin for jProfilesCompiler, and base plugin for other plugins.
Tags
Table of Contents
- $aliases : mixed
- $category : mixed
- $common : mixed
- $profiles : mixed
- __construct() : mixed
- addProfile() : mixed
- addProfiles() : void
- Add a list of profiles
- getProfiles() : mixed
- setAliases() : mixed
- setCommon() : mixed
- consolidate() : array<string|int, mixed>
- the method to be redefined in child class, to analyse, change, add, del, options in the given profile data.
Properties
$aliases
protected
mixed
$aliases
= array()
Tags
$category
protected
mixed
$category
= ''
Tags
$common
protected
mixed
$common
= array()
Tags
$profiles
protected
mixed
$profiles
= array()
Tags
Methods
__construct()
public
__construct(string $category) : mixed
Parameters
- $category : string
-
the category of profiles
Tags
Return values
mixed —addProfile()
public
addProfile(mixed $name, mixed $profile) : mixed
Parameters
- $name : mixed
- $profile : mixed
Tags
Return values
mixed —addProfiles()
Add a list of profiles
public
addProfiles(array<string|int, mixed> $profiles) : void
Parameters
- $profiles : array<string|int, mixed>
Tags
Return values
void —getProfiles()
public
getProfiles(mixed &$profiles) : mixed
Parameters
- $profiles : mixed
Tags
Return values
mixed —setAliases()
public
setAliases(mixed $aliases) : mixed
Parameters
- $aliases : mixed
Tags
Return values
mixed —setCommon()
public
setCommon(mixed $common) : mixed
Parameters
- $common : mixed
Tags
Return values
mixed —consolidate()
the method to be redefined in child class, to analyse, change, add, del, options in the given profile data.
protected
consolidate(array<string|int, mixed> $profile) : array<string|int, mixed>
Parameters
- $profile : array<string|int, mixed>
-
the option of a profile. It already contains common options
Tags
Return values
array<string|int, mixed> —final options values