aboutsummaryrefslogtreecommitdiff
path: root/app/class/element.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-03-28 10:26:01 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-03-28 10:26:01 +0100
commitd97c84ab440b2b68a8068b813638117244864937 (patch)
treeaecd0d3bad1a5ddf7524e9a89142ee5718afecd7 /app/class/element.php
parent9787587c3817609b95f43da15120e55d693a10ee (diff)
downloadwcms-d97c84ab440b2b68a8068b813638117244864937.tar.gz
wcms-d97c84ab440b2b68a8068b813638117244864937.zip
render engine html tags
Diffstat (limited to 'app/class/element.php')
-rw-r--r--app/class/element.php5
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;
+ }
+