diff options
Diffstat (limited to 'app/class/element.php')
-rw-r--r-- | app/class/element.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/class/element.php b/app/class/element.php index fd8ac71..1a801e4 100644 --- a/app/class/element.php +++ b/app/class/element.php @@ -89,6 +89,11 @@ class Element } } + public function addtags() + { + $this->content = PHP_EOL . '<' . $this->type() . '>' . PHP_EOL . $this->content() . PHP_EOL . '</' . $this->type() . '>' . PHP_EOL; + } + |