Jelix 1.8.13

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

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

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

Search results