phpDocumentor

ThemeDetails

Class ThemeDetails

Table of Contents

$available  : array<string|int, mixed>
$selected  : string
$version  : string
__construct()  : mixed
TemplateDetails constructor.
available()  : array<string|int, mixed>
Returns a list of available themes and templates.
create()  : ThemeDetails
Creates and returns a new ThemeDetails instance.
selected()  : string
Returns the name of the active theme or template.
version()  : string
Returns the version of the active theme or template.

Properties

Methods

__construct()

TemplateDetails constructor.

public __construct(array<string|int, mixed> $available, string $selected, string $version) : mixed
Parameters
$available : array<string|int, mixed>
$selected : string
$version : string
Return values
mixed

available()

Returns a list of available themes and templates.

public available() : array<string|int, mixed>
Return values
array<string|int, mixed>

create()

Creates and returns a new ThemeDetails instance.

public static create(array<string|int, mixed> $available, string $selected, string $version) : ThemeDetails
Parameters
$available : array<string|int, mixed>
$selected : string
$version : string
Return values
ThemeDetails

selected()

Returns the name of the active theme or template.

public selected() : string
Return values
string

version()

Returns the version of the active theme or template.

public version() : string
Return values
string

Search results