/doc/core/z.html
https://code.google.com/p/zotonic/ · HTML · 113 lines · 94 code · 19 blank · 0 comment · 0 complexity · 4dffd7f1a1fd2267427ed20480976119 MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>Module z</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</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>Some easy shortcut functions.
- <p>Copyright 2009 Marc Worrell
- Date: 2009-04-08
- </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>Some easy shortcut functions.
- <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="#c-1">c/1</a></td><td>Return a new context.</td></tr>
- <tr><td valign="top"><a href="#debug-2">debug/2</a></td><td>Log a debug message, with extra props.</td></tr>
- <tr><td valign="top"><a href="#debug-3">debug/3</a></td><td></td></tr>
- <tr><td valign="top"><a href="#debug_msg-3">debug_msg/3</a></td><td>Echo and return a debugging value.</td></tr>
- <tr><td valign="top"><a href="#flush-0">flush/0</a></td><td>Reset all caches, reload the dispatch rules and rescan all modules.</td></tr>
- <tr><td valign="top"><a href="#flush-1">flush/1</a></td><td></td></tr>
- <tr><td valign="top"><a href="#info-2">info/2</a></td><td>Log an informational message.</td></tr>
- <tr><td valign="top"><a href="#info-3">info/3</a></td><td></td></tr>
- <tr><td valign="top"><a href="#m-0">m/0</a></td><td>(Re)make all erlang source modules and reset the caches.</td></tr>
- <tr><td valign="top"><a href="#n-2">n/2</a></td><td>Send a notification.</td></tr>
- <tr><td valign="top"><a href="#n1-2">n1/2</a></td><td>Send a notification to the first observer.</td></tr>
- <tr><td valign="top"><a href="#restart-0">restart/0</a></td><td>Full restart of Zotonic.</td></tr>
- <tr><td valign="top"><a href="#warning-2">warning/2</a></td><td>Log a warning.</td></tr>
- <tr><td valign="top"><a href="#warning-3">warning/3</a></td><td></td></tr>
- </table>
- <h2><a name="functions">Function Details</a></h2>
- <h3 class="function"><a name="c-1">c/1</a></h3>
- <div class="spec">
- <p><tt>c(Site) -> any()</tt></p>
- </div><p>Return a new context</p>
- <h3 class="function"><a name="debug-2">debug/2</a></h3>
- <div class="spec">
- <p><tt>debug(Msg, Context) -> any()</tt></p>
- </div><p>Log a debug message, with extra props.</p>
- <h3 class="function"><a name="debug-3">debug/3</a></h3>
- <div class="spec">
- <p><tt>debug(Msg, Props, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="debug_msg-3">debug_msg/3</a></h3>
- <div class="spec">
- <p><tt>debug_msg(Module, Line, Msg) -> any()</tt></p>
- </div><p>Echo and return a debugging value</p>
- <h3 class="function"><a name="flush-0">flush/0</a></h3>
- <div class="spec">
- <p><tt>flush() -> any()</tt></p>
- </div><p>Reset all caches, reload the dispatch rules and rescan all modules.</p>
- <h3 class="function"><a name="flush-1">flush/1</a></h3>
- <div class="spec">
- <p><tt>flush(Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="info-2">info/2</a></h3>
- <div class="spec">
- <p><tt>info(Msg, Context) -> any()</tt></p>
- </div><p>Log an informational message.</p>
- <h3 class="function"><a name="info-3">info/3</a></h3>
- <div class="spec">
- <p><tt>info(Msg, Props, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="m-0">m/0</a></h3>
- <div class="spec">
- <p><tt>m() -> any()</tt></p>
- </div><p>(Re)make all erlang source modules and reset the caches.</p>
- <h3 class="function"><a name="n-2">n/2</a></h3>
- <div class="spec">
- <p><tt>n(Msg, Context) -> any()</tt></p>
- </div><p>Send a notification</p>
- <h3 class="function"><a name="n1-2">n1/2</a></h3>
- <div class="spec">
- <p><tt>n1(Msg, Context) -> any()</tt></p>
- </div><p>Send a notification to the first observer</p>
- <h3 class="function"><a name="restart-0">restart/0</a></h3>
- <div class="spec">
- <p><tt>restart() -> any()</tt></p>
- </div><p>Full restart of Zotonic</p>
- <h3 class="function"><a name="warning-2">warning/2</a></h3>
- <div class="spec">
- <p><tt>warning(Msg, Context) -> any()</tt></p>
- </div><p>Log a warning.</p>
- <h3 class="function"><a name="warning-3">warning/3</a></h3>
- <div class="spec">
- <p><tt>warning(Msg, Props, 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, 20:01:40.</i></p>
- </body>
- </html>