HumHub Documentation (unofficial)

RoleFilter extends SimpleFilter
in package

Filters features by their actors role.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

Properties

$pattern  : mixed

Methods

__construct()  : mixed
Initializes filter.
filterFeature()  : FeatureNode
Filters feature according to the filter.
isFeatureMatch()  : bool
Checks if Feature matches specified filter.
isScenarioMatch()  : false
Checks if scenario or outline matches specified filter.

Properties

Methods

__construct()

Initializes filter.

public __construct(string $role) : mixed
Parameters
$role : string

Approved role wildcard

isFeatureMatch()

Checks if Feature matches specified filter.

public isFeatureMatch(FeatureNode $feature) : bool
Parameters
$feature : FeatureNode

Feature instance

Return values
bool

isScenarioMatch()

Checks if scenario or outline matches specified filter.

public isScenarioMatch(ScenarioInterface $scenario) : false
Parameters
$scenario : ScenarioInterface

Scenario or Outline node instance

Return values
false

This filter is designed to work only with features


        
On this page

Search results