HumHub Documentation (unofficial)

ModuleNode extends Node
in package

FinalYes

Represents a module node.

Consider this class as being final. If you need to customize the behavior of the generated class, consider adding nodes to the following nodes: display_start, display_end, constructor_start, constructor_end, and class_end.

Tags
author

Fabien Potencier fabien@symfony.com

Attributes
#[YieldReady]

Table of Contents

Properties

$attributes  : mixed
$lineno  : mixed
$nodes  : mixed
$tag  : mixed
$sourceContext  : mixed

Methods

__construct()  : mixed
__toString()  : mixed
compile()  : void
count()  : int
getAttribute()  : mixed
getIterator()  : Traversable
getNode()  : self
getNodeTag()  : string|null
getSourceContext()  : Source|null
getTemplateLine()  : int
getTemplateName()  : string|null
hasAttribute()  : bool
hasNode()  : bool
removeAttribute()  : void
removeNode()  : void
setAttribute()  : void
setIndex()  : mixed
setNode()  : void
setSourceContext()  : void
compileClassFooter()  : mixed
compileClassHeader()  : mixed
compileConstructor()  : mixed
compileDebugInfo()  : mixed
compileDisplay()  : mixed
compileGetParent()  : mixed
compileGetSourceContext()  : mixed
compileGetTemplateName()  : mixed
compileIsTraitable()  : mixed
compileLoadTemplate()  : mixed
compileMacros()  : mixed
compileTemplate()  : mixed
hasNodeOutputNodes()  : bool

Properties

$attributes

protected mixed $attributes

$lineno

protected mixed $lineno

$nodes

protected mixed $nodes

$tag

protected mixed $tag

$sourceContext

private mixed $sourceContext

Methods

__toString()

public __toString() : mixed

getAttribute()

public getAttribute(string $name) : mixed
Parameters
$name : string

getIterator()

public getIterator() : Traversable
Return values
Traversable

getNode()

public getNode(string $name) : self
Parameters
$name : string
Return values
self

getNodeTag()

public getNodeTag() : string|null
Return values
string|null

getSourceContext()

public getSourceContext() : Source|null
Return values
Source|null

getTemplateLine()

public getTemplateLine() : int
Return values
int

getTemplateName()

public getTemplateName() : string|null
Return values
string|null

hasAttribute()

public hasAttribute(string $name) : bool
Parameters
$name : string
Return values
bool

hasNode()

public hasNode(string $name) : bool
Parameters
$name : string
Return values
bool

removeAttribute()

public removeAttribute(string $name) : void
Parameters
$name : string

removeNode()

public removeNode(string $name) : void
Parameters
$name : string

setAttribute()

public setAttribute(string $name, mixed $value) : void
Parameters
$name : string
$value : mixed

setIndex()

public setIndex(mixed $index) : mixed
Parameters
$index : mixed

setNode()

public setNode(string $name, self $node) : void
Parameters
$name : string
$node : self

setSourceContext()

public setSourceContext(Source $source) : void
Parameters
$source : Source

compileLoadTemplate()

protected compileLoadTemplate(Compiler $compiler, mixed $node, mixed $var) : mixed
Parameters
$compiler : Compiler
$node : mixed
$var : mixed

hasNodeOutputNodes()

private hasNodeOutputNodes(Node $node) : bool
Parameters
$node : Node
Return values
bool

        
On this page

Search results