/doc/core/z_lib_include.html
https://code.google.com/p/zotonic/ · HTML · 48 lines · 40 code · 8 blank · 0 comment · 0 complexity · 3ba0e6d6ecc35c84efa6544d9feca18b MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>Module z_lib_include</title>
- <link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
- </head>
- <body bgcolor="white">
- <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>
- <hr>
- <h1>Module z_lib_include</h1>
- <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>Support for the {% lib filename ...
- <p>Copyright (c) 2009 Marc Worrell</p>
- <p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>
- <h2><a name="description">Description</a></h2>Support for the {% lib filename ... %} tag in the templates.
- Generates the <link> or <script></script> tag for css or js files. Also
- adds the greatest modification date so that updates are loaded by
- the browser.
- <h2><a name="index">Function Index</a></h2>
- <table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#tag-2">tag/2</a></td><td>Generate the link and/or script tags for the given files.</td></tr>
- <tr><td valign="top"><a href="#tag-3">tag/3</a></td><td>Generate the link and/or script tags for the given files.</td></tr>
- <tr><td valign="top"><a href="#uncollapse-1">uncollapse/1</a></td><td>Given the filepath of the request, return all files collapsed in the path.</td></tr>
- </table>
- <h2><a name="functions">Function Details</a></h2>
- <h3 class="function"><a name="tag-2">tag/2</a></h3>
- <div class="spec">
- <p><tt>tag(Files, Context) -> any()</tt></p>
- </div><p>Generate the link and/or script tags for the given files.</p>
- <h3 class="function"><a name="tag-3">tag/3</a></h3>
- <div class="spec">
- <p><tt>tag(Files, Args, Context) -> any()</tt></p>
- </div><p>Generate the link and/or script tags for the given files.</p>
- <h3 class="function"><a name="uncollapse-1">uncollapse/1</a></h3>
- <div class="spec">
- <p><tt>uncollapse(Path::string()) -> list()</tt></p>
- </div><p>Given the filepath of the request, return all files collapsed in the path.</p>
- <hr>
- <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>
- <p><i>Generated by EDoc, Aug 12 2011, 20:01:39.</i></p>
- </body>
- </html>