457 lines
9.2 KiB
HTML
457 lines
9.2 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\Event\ActionEvent | 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 class="active"><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 class="active"><a href="class-Thelia.Core.Event.ActionEvent.html">ActionEvent</a></li>
|
|
<li><a href="class-Thelia.Core.Event.TheliaEvents.html">TheliaEvents</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.Event.html" title="Summary of Thelia\Core\Event"><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 ActionEvent</h1>
|
|
|
|
|
|
<div class="description">
|
|
|
|
<p>Class thrown on Thelia.action event</p>
|
|
|
|
<p>call setAction if action match yours</p>
|
|
|
|
</div>
|
|
|
|
<dl class="tree">
|
|
<dd style="padding-left:0px">
|
|
Symfony\Component\EventDispatcher\Event
|
|
|
|
|
|
</dd>
|
|
<dd style="padding-left:30px">
|
|
<img src="resources/inherit.png" alt="Extended by" />
|
|
<b><span>Thelia\Core\Event\ActionEvent</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>\<a href="namespace-Thelia.Core.Event.html">Event</a><br />
|
|
|
|
|
|
<b>Located at</b> <a href="source-class-Thelia.Core.Event.ActionEvent.html#28-104" title="Go to source code">core/lib/Thelia/Core/Event/ActionEvent.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.Event.ActionEvent.html#56-64" title="Go to source code">__construct</a>( <span>Symfony\Component\HttpFoundation\Request <var>$request</var></span>, <span>string <var>$action</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$request</var></dt>
|
|
<dd><code>Symfony\Component\HttpFoundation\Request</code><br>$request</dd>
|
|
<dt><var>$action</var></dt>
|
|
<dd><code>string</code><br>$action</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getAction" id="_getAction">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getAction">#</a>
|
|
<code><a href="source-class-Thelia.Core.Event.ActionEvent.html#66-73" title="Go to source code">getAction</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getRequest" id="_getRequest">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
Symfony\Component\HttpFoundation\Request
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getRequest">#</a>
|
|
<code><a href="source-class-Thelia.Core.Event.ActionEvent.html#75-82" title="Go to source code">getRequest</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>Symfony\Component\HttpFoundation\Request</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setController" id="_setController">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setController">#</a>
|
|
<code><a href="source-class-Thelia.Core.Event.ActionEvent.html#84-91" title="Go to source code">setController</a>( <span>string <var>$controller</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$controller</var></dt>
|
|
<dd><code>string</code><br>$controller</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getController" id="_getController">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getController">#</a>
|
|
<code><a href="source-class-Thelia.Core.Event.ActionEvent.html#93-96" title="Go to source code">getController</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="hasController" id="_hasController">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_hasController">#</a>
|
|
<code><a href="source-class-Thelia.Core.Event.ActionEvent.html#98-101" title="Go to source code">hasController</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table class="summary" id="properties">
|
|
<caption>Properties summary</caption>
|
|
<tr data-order="request" id="$request">
|
|
<td class="attributes"><code>
|
|
protected
|
|
Symfony\Component\HttpFoundation\Request
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Core.Event.ActionEvent.html#38-42" title="Go to source code"><var>$request</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$request" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="action" id="$action">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Core.Event.ActionEvent.html#44-48" title="Go to source code"><var>$action</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$action" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="controller" id="$controller">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Core.Event.ActionEvent.html#50-54" title="Go to source code"><var>$controller</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$controller" class="anchor">#</a>
|
|
|
|
<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>
|