phpDocumentor

HubMenuFilterOneConfigActive
in package
implements FilterInterface

Class HubMenuFilterOneConfigActive

Interfaces, Classes and Traits

FilterInterface
Interface FilterInterface

Table of Contents

FILTER_METHOD  = 'oneConfigActive'
$configurationService  : ConfigurationService
__construct()  : mixed
check()  : bool
Performs a check, so a later process can filter with that result.
checkConfigActive()  : bool
Evaluates to true if the first argument is a configuration item that represents a "true - boolean" value.
isTrue()  : bool
Evaluates the configuration item.

Constants

Properties

Methods

checkConfigActive()

Evaluates to true if the first argument is a configuration item that represents a "true - boolean" value.

public checkConfigActive(string $arg) : bool
Parameters
$arg : string
Return values
bool

isTrue()

Evaluates the configuration item.

private isTrue(Configuration|null $configuration) : bool

This function performs several checks to determine if the given configuration should represent a "true - boolean" value. Returns false if it is not the case.

Parameters
$configuration : Configuration|null
Return values
bool

Search results