/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
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>Module resource_admin_edit</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 resource_admin_edit</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>Admin webmachine_resource.
- <p>Copyright 2009-2010 Marc Worrell, Arjan Scherpenisse</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>Admin webmachine_resource.
- <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="#ensure_id-1">ensure_id/1</a></td><td>Fetch the (numerical) page id from the request.</td></tr>
- <tr><td valign="top"><a href="#event-2">event/2</a></td><td>Handle the submit of the resource edit form.</td></tr>
- <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>
- <tr><td valign="top"><a href="#is_authorized-2">is_authorized/2</a></td><td></td></tr>
- <tr><td valign="top"><a href="#resource_exists-2">resource_exists/2</a></td><td></td></tr>
- </table>
- <h2><a name="functions">Function Details</a></h2>
- <h3 class="function"><a name="ensure_id-1">ensure_id/1</a></h3>
- <div class="spec">
- <p><tt>ensure_id(Context) -> any()</tt></p>
- </div><p>Fetch the (numerical) page id from the request</p>
- <h3 class="function"><a name="event-2">event/2</a></h3>
- <div class="spec">
- <p><tt>event(X1, Context) -> any()</tt></p>
- </div><p>Handle the submit of the resource edit form</p>
- <h3 class="function"><a name="filter_props-1">filter_props/1</a></h3>
- <div class="spec">
- <p><tt>filter_props(Fs) -> any()</tt></p>
- </div><p>Remove some properties that are part of the postback</p>
- <h3 class="function"><a name="is_authorized-2">is_authorized/2</a></h3>
- <div class="spec">
- <p><tt>is_authorized(ReqData, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="resource_exists-2">resource_exists/2</a></h3>
- <div class="spec">
- <p><tt>resource_exists(ReqData, Context) -> any()</tt></p>
- </div>
- <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, 19:36:11.</i></p>
- </body>
- </html>