HumHub Documentation (unofficial)

NarrativeFilter extends SimpleFilter
in package

Filters features by their narrative using regular expression.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

Properties

$regex  : string

Methods

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

Properties

Methods

__construct()

Initializes filter.

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

isFeatureMatch()

Checks if Feature matches specified filter.

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

Feature instance

Return values
bool

        
On this page

Search results