Module z_scomp

Module for rendering and caching scomps.

Copyright © 2009-2010 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Module for rendering and caching scomps. Scomps can be caching and non caching, depending on the passed arguments and the results of the scomp's varies/2 function.

Function Index

render/4Render the names scomp, Args are the scomp arguments and Vars are the variables given to the template.
render_all/4
render_optional/4

Function Details

render/4

render(ScompName, Args, Vars, Context) -> {ok, Context} | {ok, io_list} | {error, Reason}

Render the names scomp, Args are the scomp arguments and Vars are the variables given to the template

render_all/4

render_all(ScompName, Args, Vars, Context) -> any()

render_optional/4

render_optional(ScompName, Args, Vars, Context) -> any()


Generated by EDoc