PageRenderTime 28ms CodeModel.GetById 14ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 1ms

/doc/core/z_site_sup.html

https://code.google.com/p/zotonic/
HTML | 40 lines | 33 code | 7 blank | 0 comment | 0 complexity | e3a5974bbcb36da90c59696f90a9e390 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 2<html>
 3<head>
 4<title>Module z_site_sup</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 z_site_sup</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>Supervisor for a zotonic server.
13<p>Copyright Š 2009 Marc Worrell</p>
14
15<p><b>Behaviours:</b> <a href="supervisor.html"><tt>supervisor</tt></a>.</p>
16<p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>
17
18<h2><a name="description">Description</a></h2>Supervisor for a zotonic server. Starts webmachine, all base zotonic processes and the site supervisor.
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="#init-1">init/1</a></td><td>Supervisor callback, returns the supervisor tree for a zotonic site.</td></tr>
21<tr><td valign="top"><a href="#start_link-1">start_link/1</a></td><td>API for starting the site supervisor.</td></tr>
22</table>
23
24<h2><a name="functions">Function Details</a></h2>
25
26<h3 class="function"><a name="init-1">init/1</a></h3>
27<div class="spec">
28<p><tt>init(Host) -&gt; SupervisorTree</tt></p>
29</div><p>Supervisor callback, returns the supervisor tree for a zotonic site</p>
30
31<h3 class="function"><a name="start_link-1">start_link/1</a></h3>
32<div class="spec">
33<p><tt>start_link(Host) -&gt; ServerRet</tt></p>
34</div><p>API for starting the site supervisor.</p>
35<hr>
36
37<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>
38<p><i>Generated by EDoc, Aug 12 2011, 20:01:39.</i></p>
39</body>
40</html>