PageRenderTime 31ms CodeModel.GetById 13ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/modules/mod_admin/resource_admin_edit.html

https://code.google.com/p/zotonic/
HTML | 57 lines | 47 code | 10 blank | 0 comment | 0 complexity | f02e0192ad1770135908d58d66e80af3 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 2<html>
 3<head>
 4<title>Module resource_admin_edit</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_admin_edit</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>Admin webmachine_resource.
13<p>Copyright Š 2009-2010 Marc Worrell, Arjan Scherpenisse</p>
14
15<p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>
16
17<h2><a name="description">Description</a></h2>Admin webmachine_resource.
18<h2><a name="index">Function Index</a></h2>
19<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#ensure_id-1">ensure_id/1</a></td><td>Fetch the (numerical) page id from the request.</td></tr>
20<tr><td valign="top"><a href="#event-2">event/2</a></td><td>Handle the submit of the resource edit form.</td></tr>
21<tr><td valign="top"><a href="#filter_props-1">filter_props/1</a></td><td>Remove some properties that are part of the postback.</td></tr>
22<tr><td valign="top"><a href="#is_authorized-2">is_authorized/2</a></td><td></td></tr>
23<tr><td valign="top"><a href="#resource_exists-2">resource_exists/2</a></td><td></td></tr>
24</table>
25
26<h2><a name="functions">Function Details</a></h2>
27
28<h3 class="function"><a name="ensure_id-1">ensure_id/1</a></h3>
29<div class="spec">
30<p><tt>ensure_id(Context) -&gt; any()</tt></p>
31</div><p>Fetch the (numerical) page id from the request</p>
32
33<h3 class="function"><a name="event-2">event/2</a></h3>
34<div class="spec">
35<p><tt>event(X1, Context) -&gt; any()</tt></p>
36</div><p>Handle the submit of the resource edit form</p>
37
38<h3 class="function"><a name="filter_props-1">filter_props/1</a></h3>
39<div class="spec">
40<p><tt>filter_props(Fs) -&gt; any()</tt></p>
41</div><p>Remove some properties that are part of the postback</p>
42
43<h3 class="function"><a name="is_authorized-2">is_authorized/2</a></h3>
44<div class="spec">
45<p><tt>is_authorized(ReqData, Context) -&gt; any()</tt></p>
46</div>
47
48<h3 class="function"><a name="resource_exists-2">resource_exists/2</a></h3>
49<div class="spec">
50<p><tt>resource_exists(ReqData, Context) -&gt; any()</tt></p>
51</div>
52<hr>
53
54<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>
55<p><i>Generated by EDoc, Aug 12 2011, 19:36:11.</i></p>
56</body>
57</html>