diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-03-28 09:57:28 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-03-28 09:57:28 +0100 |
commit | 9787587c3817609b95f43da15120e55d693a10ee (patch) | |
tree | 7a1ef0c7737b008202e22cf9b60f5233d4a691b0 /app/class/model.php | |
parent | 83c3add386c187dbf06b9ff5cf33e749a35d1f23 (diff) | |
download | wcms-9787587c3817609b95f43da15120e55d693a10ee.tar.gz wcms-9787587c3817609b95f43da15120e55d693a10ee.zip |
new render engine for elements
Diffstat (limited to 'app/class/model.php')
-rw-r--r-- | app/class/model.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/class/model.php b/app/class/model.php index c8f251f..9bc5c67 100644 --- a/app/class/model.php +++ b/app/class/model.php @@ -27,8 +27,11 @@ abstract class Model const PASSWORD_MAX_LENGTH = 32; /** RENDER OPTIONS */ + // add class in html element indicating from witch page the content come. const RENDER_CLASS_ORIGIN = false; - const RENDER_EMPTY_ELEMENT = false; + // render empty CONTENT element as empty html element, if set to false, render html comment + const RENDER_EMPTY_ELEMENT = false; + /** CONFIG OPTIONS */ const HOMEPAGE = ['default', 'search', 'redirect']; |