ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
Empty.php
Go to the documentation of this file.
1<?php
2
7{
8 public function toNode() {
9 $n = parent::toNode();
10 $n->empty = true;
11 return $n;
12 }
13}
14
15// vim: et sw=4 sts=4
$n
Definition: RandomTest.php:80
Concrete empty token class.
Definition: Empty.php:7
toNode()
Converts a token into its corresponding node.
Definition: Empty.php:8
Abstract class of a tag token (start, end or empty), and its behavior.
Definition: Tag.php:7