‪TYPO3CMS  ‪main
NodeInterface.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
35 {
48  public function ‪setIdentifier(string ‪$identifier): void;
49  public function ‪getIdentifier(): string;
50 
54  public function ‪getName(): ?string;
55  public function ‪updateName(string $name): void;
56 
60  public function ‪addChild(‪ChildNodeInterface $node): void;
61  public function ‪getChildByName(string $name): ?‪ChildNodeInterface;
62  public function ‪removeChildByName(string $name): void;
63  public function ‪hasChildren(): bool;
67  public function ‪getNextChild(): iterable;
68  public function ‪sortChildren(): void;
69 
73  public function ‪setValue(?string $value): void;
74  public function ‪appendValue(string $value): void;
75  public function ‪getValue(): ?string;
76  public function ‪isValueNull(): bool;
77 
82  public function ‪setPreviousValue(?string $value): void;
83  public function ‪getPreviousValue(): ?string;
84 
89  public function ‪setOriginalValueTokenStream(?‪TokenStreamInterface $tokenStream): void;
91 
97  public function ‪addComment(‪TokenStreamInterface $tokenStream): void;
101  public function ‪getComments(): array;
102 
111  public function ‪toArray(): ?array;
112 
124  public function ‪flatten(string $prefix = ''): array;
125 }
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\setValue
‪setValue(?string $value)
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\getOriginalValueTokenStream
‪getOriginalValueTokenStream()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\updateName
‪updateName(string $name)
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\getNextChild
‪iterable< ChildNodeInterface > getNextChild()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\toArray
‪toArray()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\getIdentifier
‪getIdentifier()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\isValueNull
‪isValueNull()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface
Definition: NodeInterface.php:35
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\flatten
‪flatten(string $prefix='')
‪TYPO3\CMS\Core\TypoScript\AST\Node\ChildNodeInterface
Definition: ChildNodeInterface.php:26
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\setOriginalValueTokenStream
‪setOriginalValueTokenStream(?TokenStreamInterface $tokenStream)
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenStreamInterface
Definition: TokenStreamInterface.php:30
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\hasChildren
‪hasChildren()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\getComments
‪TokenStreamInterface[] getComments()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\addChild
‪addChild(ChildNodeInterface $node)
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\sortChildren
‪sortChildren()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\setPreviousValue
‪setPreviousValue(?string $value)
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\getPreviousValue
‪getPreviousValue()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\getChildByName
‪getChildByName(string $name)
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\getName
‪getName()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\setIdentifier
‪setIdentifier(string $identifier)
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\addComment
‪addComment(TokenStreamInterface $tokenStream)
‪TYPO3\CMS\Webhooks\Message\$identifier
‪identifier readonly string $identifier
Definition: FileAddedMessage.php:37
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\removeChildByName
‪removeChildByName(string $name)
‪TYPO3\CMS\Core\TypoScript\AST\Node
Definition: AbstractChildNode.php:18
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\getValue
‪getValue()
‪TYPO3\CMS\Core\TypoScript\AST\Node\NodeInterface\appendValue
‪appendValue(string $value)