/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. <h1>Module resource_admin_edit</h1>
  11. <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.
  12. <p>Copyright Š 2009-2010 Marc Worrell, Arjan Scherpenisse</p>
  13. <p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>
  14. <h2><a name="description">Description</a></h2>Admin webmachine_resource.
  15. <h2><a name="index">Function Index</a></h2>
  16. <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>
  17. <tr><td valign="top"><a href="#event-2">event/2</a></td><td>Handle the submit of the resource edit form.</td></tr>
  18. <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>
  19. <tr><td valign="top"><a href="#is_authorized-2">is_authorized/2</a></td><td></td></tr>
  20. <tr><td valign="top"><a href="#resource_exists-2">resource_exists/2</a></td><td></td></tr>
  21. </table>
  22. <h2><a name="functions">Function Details</a></h2>
  23. <h3 class="function"><a name="ensure_id-1">ensure_id/1</a></h3>
  24. <div class="spec">
  25. <p><tt>ensure_id(Context) -&gt; any()</tt></p>
  26. </div><p>Fetch the (numerical) page id from the request</p>
  27. <h3 class="function"><a name="event-2">event/2</a></h3>
  28. <div class="spec">
  29. <p><tt>event(X1, Context) -&gt; any()</tt></p>
  30. </div><p>Handle the submit of the resource edit form</p>
  31. <h3 class="function"><a name="filter_props-1">filter_props/1</a></h3>
  32. <div class="spec">
  33. <p><tt>filter_props(Fs) -&gt; any()</tt></p>
  34. </div><p>Remove some properties that are part of the postback</p>
  35. <h3 class="function"><a name="is_authorized-2">is_authorized/2</a></h3>
  36. <div class="spec">
  37. <p><tt>is_authorized(ReqData, Context) -&gt; any()</tt></p>
  38. </div>
  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. <hr>
  44. <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>
  45. <p><i>Generated by EDoc, Aug 12 2011, 19:36:11.</i></p>
  46. </body>
  47. </html>