HumHub Documentation (unofficial)

TaggedNodeInterface extends NodeInterface

Gherkin tagged node interface.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

Methods

getLine()  : int
Returns feature declaration line number.
getNodeType()  : string
Returns node type string
getTags()  : array<string|int, string>
Returns node tags (including inherited from feature).
hasTag()  : bool
Checks if node is tagged with tag.
hasTags()  : bool
Checks if node has tags (both inherited from feature and own).

Methods

getLine()

Returns feature declaration line number.

public getLine() : int
Return values
int

getNodeType()

Returns node type string

public getNodeType() : string
Return values
string

getTags()

Returns node tags (including inherited from feature).

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

hasTag()

Checks if node is tagged with tag.

public hasTag(string $tag) : bool
Parameters
$tag : string
Return values
bool

hasTags()

Checks if node has tags (both inherited from feature and own).

public hasTags() : bool
Return values
bool

        
On this page

Search results