z_scomp (zotonic_core v1.0.0-rc.12)

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.

Link to this section Summary

Functions

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

Link to this section Functions

Link to this function

render(ScompName, Args, Vars, Context)

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

render_all(ScompName, Args, Vars, Context)

Link to this function

render_optional(ScompName, Args, Vars, Context)