Renderer : Update docs to add the variable support to view

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1532 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-07-20 20:39:30 +00:00
parent 8612a760ba
commit 7d90d6fba8

View File

@@ -146,6 +146,8 @@ By default, the layout is a page named "layout.html", in the views directory.
It contains the HTML page with some special parts : the tokens. Tokens are It contains the HTML page with some special parts : the tokens. Tokens are
written like {content} or {title}. The renderer replace them by the result of written like {content} or {title}. The renderer replace them by the result of
replacement attibute. replacement attibute.
It is also possible to define some variable and pass them to the view. The view
will treat them as it want and modify the displayed content as needed.
8. Debug 8. Debug
-------- --------