PageRenderTime 22ms CodeModel.GetById 12ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/modules/mod_search/search_query_notify.html

https://code.google.com/p/zotonic/
HTML | 58 lines | 48 code | 10 blank | 0 comment | 0 complexity | be4a0d52fd7eb8fc03888663c565fcd4 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 2<html>
 3<head>
 4<title>Module search_query_notify</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 search_query_notify</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>Notifications for 'query' resources when items are added to them.
13<p>Copyright Š 2009-2010 Arjan Scherpenisse
14  Date: 2009-04-12</p>
15
16<p><b>Authors:</b> Arjan Scherpenisse (<a href="mailto:arjan@scherpenisse.net"><tt>arjan@scherpenisse.net</tt></a>).</p>
17
18<h2><a name="description">Description</a></h2>Notifications for 'query' resources when items are added to them.
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="#check_rsc-3">check_rsc/3</a></td><td>Check whether the given resource matches to the queries.</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="#send_notifications-3">send_notifications/3</a></td><td></td></tr>
23<tr><td valign="top"><a href="#watches_remove-3">watches_remove/3</a></td><td></td></tr>
24<tr><td valign="top"><a href="#watches_update-3">watches_update/3</a></td><td></td></tr>
25</table>
26
27<h2><a name="functions">Function Details</a></h2>
28
29<h3 class="function"><a name="check_rsc-3">check_rsc/3</a></h3>
30<div class="spec">
31<p><tt>check_rsc(Id, Watches, Context) -&gt; list()</tt></p>
32</div><p>Check whether the given resource matches to the queries. Returns list of matching query resource ids.</p>
33
34<h3 class="function"><a name="init-1">init/1</a></h3>
35<div class="spec">
36<p><tt>init(Context) -&gt; any()</tt></p>
37</div>
38
39<h3 class="function"><a name="send_notifications-3">send_notifications/3</a></h3>
40<div class="spec">
41<p><tt>send_notifications(Id, Rest, Context) -&gt; any()</tt></p>
42</div>
43
44<h3 class="function"><a name="watches_remove-3">watches_remove/3</a></h3>
45<div class="spec">
46<p><tt>watches_remove(Id, Watches, Context) -&gt; any()</tt></p>
47</div>
48
49<h3 class="function"><a name="watches_update-3">watches_update/3</a></h3>
50<div class="spec">
51<p><tt>watches_update(Id, Watches, Context) -&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:12.</i></p>
57</body>
58</html>