class RootElement in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/Parser/Tree/RootElement.php \Drupal\xbbcode\Parser\Tree\RootElement
The root element of the tag tree.
Hierarchy
- class \Drupal\xbbcode\Parser\Tree\NodeElement implements NodeElementInterface
- class \Drupal\xbbcode\Parser\Tree\RootElement
Expanded class hierarchy of RootElement
1 file declares its use of RootElement
- XBBCodeParser.php in src/
Parser/ XBBCodeParser.php
File
- src/
Parser/ Tree/ RootElement.php, line 8
Namespace
Drupal\xbbcode\Parser\TreeView source
class RootElement extends NodeElement {
/**
* {@inheritdoc}
*/
public function render() : string {
return $this
->getContent();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NodeElement:: |
protected | property | The children of this node. | |
NodeElement:: |
protected | property | The rendered children of this node. | |
NodeElement:: |
public | function |
Append an element to the children of this element. Overrides NodeElementInterface:: |
|
NodeElement:: |
public | function |
Get all children of the element. Overrides NodeElementInterface:: |
|
NodeElement:: |
public | function |
Retrieve the rendered content of the element. Overrides NodeElementInterface:: |
|
NodeElement:: |
public | function |
Retrieve the descendants of the node. Overrides NodeElementInterface:: |
|
NodeElement:: |
public | function |
Retrieve the rendered output of each child. Overrides NodeElementInterface:: |
|
RootElement:: |
public | function |
Render this element to a string. Overrides ElementInterface:: |