From 9787587c3817609b95f43da15120e55d693a10ee Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 28 Mar 2019 09:57:28 +0100 Subject: new render engine for elements --- app/class/model.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/class/model.php') 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']; -- cgit v1.2.3