Files
sterivein/documentation/api/class-Thelia.Core.TheliaHttpKernel.html
2013-02-18 14:19:17 +01:00

302 lines
7.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class Thelia\Core\TheliaHttpKernel | thelia</title>
<script type="text/javascript" src="resources/combined.js?394153670"></script>
<script type="text/javascript" src="elementlist.js?319012511"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-PHP.html">PHP</a>
</li>
<li class="active"><a href="namespace-Thelia.html">Thelia<span></span></a>
<ul>
<li><a href="namespace-Thelia.Action.html">Action</a>
</li>
<li><a href="namespace-Thelia.Controller.html">Controller</a>
</li>
<li class="active"><a href="namespace-Thelia.Core.html">Core<span></span></a>
<ul>
<li><a href="namespace-Thelia.Core.Bundle.html">Bundle</a>
</li>
<li><a href="namespace-Thelia.Core.Event.html">Event</a>
</li>
<li><a href="namespace-Thelia.Core.EventListener.html">EventListener</a>
</li>
<li><a href="namespace-Thelia.Core.Template.html">Template</a>
</li>
</ul></li>
<li><a href="namespace-Thelia.Exception.html">Exception</a>
</li>
<li><a href="namespace-Thelia.Log.html">Log<span></span></a>
<ul>
<li><a href="namespace-Thelia.Log.Destination.html">Destination</a>
</li>
</ul></li>
<li><a href="namespace-Thelia.Model.html">Model<span></span></a>
<ul>
<li><a href="namespace-Thelia.Model.map.html">map</a>
</li>
<li><a href="namespace-Thelia.Model.om.html">om</a>
</li>
</ul></li>
<li><a href="namespace-Thelia.Routing.html">Routing<span></span></a>
<ul>
<li><a href="namespace-Thelia.Routing.Matcher.html">Matcher</a>
</li>
</ul></li>
<li><a href="namespace-Thelia.Tools.html">Tools</a>
</li>
</ul></li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Thelia.Core.Thelia.html">Thelia</a></li>
<li class="active"><a href="class-Thelia.Core.TheliaHttpKernel.html">TheliaHttpKernel</a></li>
</ul>
</div>
</div>
</div>
<div id="splitter"></div>
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" class="text" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-Thelia.Core.html" title="Summary of Thelia\Core"><span>Namespace</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<div id="content" class="class">
<h1>Class TheliaHttpKernel</h1>
<dl class="tree">
<dd style="padding-left:0px">
Symfony\Component\HttpKernel\HttpKernel
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by" />
<b><span>Thelia\Core\TheliaHttpKernel</span></b>
</dd>
</dl>
<div class="info">
<b>Namespace:</b> <a href="namespace-Thelia.html">Thelia</a>\<a href="namespace-Thelia.Core.html">Core</a><br />
<b>Author:</b>
Manuel Raynaud &lt;<a
href="mailto:mraynaud&#64;openstudio.fr">mraynaud&#64;<!---->openstudio.fr</a>&gt;<br />
<b>Located at</b> <a href="source-class-Thelia.Core.TheliaHttpKernel.html#36-113" title="Go to source code">core/lib/Thelia/Core/TheliaHttpKernel.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="__construct" id="___construct">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#___construct">#</a>
<code><a href="source-class-Thelia.Core.TheliaHttpKernel.html#42-47" title="Go to source code">__construct</a>( <span>Symfony\Component\EventDispatcher\EventDispatcherInterface <var>$dispatcher</var></span>, <span>Symfony\Component\DependencyInjection\ContainerInterface <var>$container</var></span>, <span>Symfony\Component\HttpKernel\Controller\ControllerResolverInterface <var>$controllerResolver</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="handle" id="_handle">
<td class="attributes"><code>
public
Response
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_handle">#</a>
<code><a href="source-class-Thelia.Core.TheliaHttpKernel.html#49-84" title="Go to source code">handle</a>( <span>Symfony\Component\HttpFoundation\Request <var>$request</var></span>, <span>integer <var>$type</var> = Thelia\Core\HttpKernelInterface::MASTER_REQUEST</span>, <span>Boolean <var>$catch</var> = <span class="php-keyword1">true</span></span> )</code>
<div class="description short">
<p>Handles a Request to convert it to a Response.</p>
</div>
<div class="description detailed hidden">
<p>Handles a Request to convert it to a Response.</p>
<p>When $catch is true, the implementation must catch all exceptions and do its
best to convert them to a Response instance.</p>
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$request</var></dt>
<dd><code>Symfony\Component\HttpFoundation\Request</code><br>$request A Request instance</dd>
<dt><var>$type</var></dt>
<dd><code>integer</code><br>$type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or
HttpKernelInterface::SUB_REQUEST)</dd>
<dt><var>$catch</var></dt>
<dd><code>Boolean</code><br>$catch Whether to catch exceptions or not</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>Response</code><br>A Response instance<br />
</div>
<h4>Throws</h4>
<div class="list">
<code><code><a href="class-Exception.html">Exception</a></code></code><br>When an Exception occurs during processing<br />
</div>
<h4>Api</h4>
<div class="list">
</div>
</div>
</div></td>
</tr>
<tr data-order="initSession" id="_initSession">
<td class="attributes"><code>
protected
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_initSession">#</a>
<code><a href="source-class-Thelia.Core.TheliaHttpKernel.html#86-112" title="Go to source code">initSession</a>( <span>Symfony\Component\HttpFoundation\Request <var>$request</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
</table>
</div>
<div id="footer">
thelia API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>