PageRenderTime 25ms CodeModel.GetById 11ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/core/z_scomp.html

https://code.google.com/p/zotonic/
HTML | 42 lines | 35 code | 7 blank | 0 comment | 0 complexity | ce00061285540ac766c1ad9c5d680e71 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 2<html>
 3<head>
 4<title>Module z_scomp</title>
 5<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
 6</head>
 7<body bgcolor="white">
 8<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
 9<hr>
10
11<h1>Module z_scomp</h1>
12<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Module for rendering and caching scomps.
13<p>Copyright Š 2009-2010 Marc Worrell
14 </p>
15
16<p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>
17
18<h2><a name="description">Description</a></h2>Module for rendering and caching scomps.  Scomps can be caching and
19       non caching, depending on the passed arguments and the results of the
20       scomp's varies/2 function.
21<h2><a name="index">Function Index</a></h2>
22<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#render-4">render/4</a></td><td>Render the names scomp, Args are the scomp arguments and Vars are the variables given to the template.</td></tr>
23<tr><td valign="top"><a href="#render_all-4">render_all/4</a></td><td></td></tr>
24</table>
25
26<h2><a name="functions">Function Details</a></h2>
27
28<h3 class="function"><a name="render-4">render/4</a></h3>
29<div class="spec">
30<p><tt>render(ScompName, Args, Vars, Context) -&gt; {ok, Context} | {ok, io_list} | {error, Reason}</tt></p>
31</div><p>Render the names scomp, Args are the scomp arguments and Vars are the variables given to the template</p>
32
33<h3 class="function"><a name="render_all-4">render_all/4</a></h3>
34<div class="spec">
35<p><tt>render_all(ScompName, Args, Vars, Context) -&gt; any()</tt></p>
36</div>
37<hr>
38
39<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
40<p><i>Generated by EDoc, Aug 12 2011, 20:01:39.</i></p>
41</body>
42</html>