PageRenderTime 26ms CodeModel.GetById 9ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/modules/mod_base/resource_id.html

https://code.google.com/p/zotonic/
HTML | 58 lines | 48 code | 10 blank | 0 comment | 0 complexity | 0e22fbe7399426244f17a19425263ad0 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 2<html>
 3<head>
 4<title>Module resource_id</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 resource_id</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>Redirect to resources depening on the content type requested.
13<p>Copyright Š 2009 Marc Worrell &lt;marc@worrell.nl&gt;
14  Date: 2009-04-28</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>Redirect to resources depening on the content type requested.
19<h2><a name="index">Function Index</a></h2>
20<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#content_types_provided-2">content_types_provided/2</a></td><td></td></tr>
21<tr><td valign="top"><a href="#init-1">init/1</a></td><td></td></tr>
22<tr><td valign="top"><a href="#resource_exists-2">resource_exists/2</a></td><td></td></tr>
23<tr><td valign="top"><a href="#see_other-2">see_other/2</a></td><td></td></tr>
24<tr><td valign="top"><a href="#service_available-2">service_available/2</a></td><td></td></tr>
25</table>
26
27<h2><a name="functions">Function Details</a></h2>
28
29<h3 class="function"><a name="content_types_provided-2">content_types_provided/2</a></h3>
30<div class="spec">
31<p><tt>content_types_provided(ReqData, Context) -&gt; any()</tt></p>
32</div>
33
34<h3 class="function"><a name="init-1">init/1</a></h3>
35<div class="spec">
36<p><tt>init(DispatchArgs) -&gt; any()</tt></p>
37</div>
38
39<h3 class="function"><a name="resource_exists-2">resource_exists/2</a></h3>
40<div class="spec">
41<p><tt>resource_exists(ReqData, Context) -&gt; any()</tt></p>
42</div>
43
44<h3 class="function"><a name="see_other-2">see_other/2</a></h3>
45<div class="spec">
46<p><tt>see_other(ReqData, Context) -&gt; any()</tt></p>
47</div>
48
49<h3 class="function"><a name="service_available-2">service_available/2</a></h3>
50<div class="spec">
51<p><tt>service_available(ReqData, DispatchArgs) -&gt; any()</tt></p>
52</div>
53<hr>
54
55<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>
56<p><i>Generated by EDoc, Aug 12 2011, 19:36:11.</i></p>
57</body>
58</html>