PageRenderTime 31ms CodeModel.GetById 15ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/core/m_acl.html

https://code.google.com/p/zotonic/
HTML | 48 lines | 40 code | 8 blank | 0 comment | 0 complexity | 35456175ad108ac4b3cd01fd725e9eba MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 2<html>
 3<head>
 4<title>Module m_acl</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 m_acl</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>Template access for access control functions and state.
13<p>Copyright Š 2009 Marc Worrell
14  Date: 2009-04-27
15 </p>
16
17<p><b>Behaviours:</b> <a href="gen_model.html"><tt>gen_model</tt></a>.</p>
18<p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>
19
20<h2><a name="description">Description</a></h2>Template access for access control functions and state
21<h2><a name="index">Function Index</a></h2>
22<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#m_find_value-3">m_find_value/3</a></td><td>Fetch the value for the key from a model source.</td></tr>
23<tr><td valign="top"><a href="#m_to_list-2">m_to_list/2</a></td><td>Transform a m_config value to a list, used for template loops.</td></tr>
24<tr><td valign="top"><a href="#m_value-2">m_value/2</a></td><td>Transform a model value so that it can be formatted or piped through filters.</td></tr>
25</table>
26
27<h2><a name="functions">Function Details</a></h2>
28
29<h3 class="function"><a name="m_find_value-3">m_find_value/3</a></h3>
30<div class="spec">
31<p><tt>m_find_value(Action::Key, M::Source, Context) -&gt; term()</tt></p>
32</div><p>Fetch the value for the key from a model source</p>
33
34<h3 class="function"><a name="m_to_list-2">m_to_list/2</a></h3>
35<div class="spec">
36<p><tt>m_to_list(X1::Source, Context) -&gt; List</tt></p>
37</div><p>Transform a m_config value to a list, used for template loops</p>
38
39<h3 class="function"><a name="m_value-2">m_value/2</a></h3>
40<div class="spec">
41<p><tt>m_value(M::Source, Context) -&gt; term()</tt></p>
42</div><p>Transform a model value so that it can be formatted or piped through filters</p>
43<hr>
44
45<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>
46<p><i>Generated by EDoc, Aug 12 2011, 20:01:40.</i></p>
47</body>
48</html>