1038 lines
22 KiB
HTML
1038 lines
22 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\Tpex\Tpex | thelia</title>
|
|
|
|
<script type="text/javascript" src="resources/combined.js?394153670"></script>
|
|
<script type="text/javascript" src="elementlist.js?2310571897"></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 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.Config.html">Config</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Controller.html">Controller</a>
|
|
</li>
|
|
<li><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.DependencyInjection.html">DependencyInjection<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Core.DependencyInjection.Compiler.html">Compiler</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Core.DependencyInjection.Loader.html">Loader</a>
|
|
</li>
|
|
</ul></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<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Core.Template.BaseParam.html">BaseParam</a>
|
|
</li>
|
|
</ul></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>
|
|
<li class="active"><a href="namespace-Thelia.Tpex.html">Tpex<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Tpex.BaseParam.html">BaseParam</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Tpex.Element.html">Element<span></span></a>
|
|
<ul>
|
|
<li><a href="namespace-Thelia.Tpex.Element.Loop.html">Loop</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Tpex.Element.TestLoop.html">TestLoop</a>
|
|
</li>
|
|
</ul></li>
|
|
<li><a href="namespace-Thelia.Tpex.Event.html">Event</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Tpex.Exception.html">Exception</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Tpex.Filter.html">Filter</a>
|
|
</li>
|
|
<li><a href="namespace-Thelia.Tpex.Tokenizer.html">Tokenizer</a>
|
|
</li>
|
|
</ul></li></ul></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
|
|
<div id="elements">
|
|
<h3>Classes</h3>
|
|
<ul>
|
|
<li><a href="class-Thelia.Tpex.Tools.html">Tools</a></li>
|
|
<li class="active"><a href="class-Thelia.Tpex.Tpex.html">Tpex</a></li>
|
|
<li><a href="class-Thelia.Tpex.TpexEvents.html">TpexEvents</a></li>
|
|
<li><a href="class-Thelia.Tpex.TpexToken.html">TpexToken</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.Tpex.html" title="Summary of Thelia\Tpex"><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 Tpex</h1>
|
|
|
|
|
|
<div class="description">
|
|
|
|
<p>Tpex is a parser used by Thelia CMS (<a
|
|
href="http://thelia.net">http://thelia.net</a>)</p>
|
|
|
|
<p>Tpex use syntax like loop : <THELIA id="loopId" type="loopName"
|
|
parameter1="value1" parameter2="value2"> #SUBTITUTION1 #SUBSTITUTION2
|
|
#SUBSTITUTION-n </THELIA></p>
|
|
|
|
<p>you have to implements your own loop, all the logical is in your loop not in
|
|
Tpex</p>
|
|
|
|
<p>filter syntax :</p>
|
|
|
|
<p>[...(filter_name{param1, param2, ... }) ... ]</p>
|
|
|
|
<p>base param syntax :</p>
|
|
|
|
<p>PARAM_BASE_parameName=paramValue</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="info">
|
|
|
|
|
|
<b>Namespace:</b> <a href="namespace-Thelia.html">Thelia</a>\<a href="namespace-Thelia.Tpex.html">Tpex</a><br />
|
|
|
|
|
|
<b>Author:</b>
|
|
Manuel Raynaud <<a
|
|
href="mailto:mraynaud@openstudio.fr">mraynaud@<!---->openstudio.fr</a>><br />
|
|
<b>Located at</b> <a href="source-class-Thelia.Tpex.Tpex.html#34-374" title="Go to source code">core/lib/Thelia/Tpex/Tpex.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.Tpex.Tpex.html#134-146" title="Go to source code">__construct</a>( <span>Symfony\Component\HttpFoundation\Request <var>$request</var></span>, <span>Symfony\Component\EventDispatcher\EventDispatcherInterface <var>$dispatcher</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>Tpex constructor</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>Tpex constructor</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$request</var></dt>
|
|
<dd><code>Symfony\Component\HttpFoundation\Request</code><br>$request</dd>
|
|
<dt><var>$dispatcher</var></dt>
|
|
<dd><code>Symfony\Component\EventDispatcher\EventDispatcherInterface</code><br>$dispatcher</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setContent" id="_setContent">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setContent">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#148-157" title="Go to source code">setContent</a>( <span>string <var>$content</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>set the content to parse</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>set the content to parse</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$content</var></dt>
|
|
<dd><code>string</code><br>$content</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setBaseDir" id="_setBaseDir">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setBaseDir">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#159-167" title="Go to source code">setBaseDir</a>( <span>string <var>$baseDir</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
<p>set the base directory. include are based from this base directory</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>set the base directory. include are based from this base directory</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$baseDir</var></dt>
|
|
<dd><code>string</code><br>$baseDir</dd>
|
|
</dl></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="configure" id="_configure">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_configure">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#169-189" title="Go to source code">configure</a>( <span>array <var>$config</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$config</var></dt>
|
|
<dd><code>array</code><br>$config</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>RuntimeException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="isInitialized" id="_isInitialized">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
boolean
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_isInitialized">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#191-200" title="Go to source code">isInitialized</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>verify if Tpex is initialized</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>boolean</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="getContent" id="_getContent">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
string
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_getContent">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#202-211" title="Go to source code">getContent</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>return the current at the current state during parsing</p>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
<div class="list">
|
|
<code>string</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setLoop" id="_setLoop">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setLoop">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#213-216" title="Go to source code">setLoop</a>( <span>array <var>$loop</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setFilter" id="_setFilter">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setFilter">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#218-221" title="Go to source code">setFilter</a>( <span>array <var>$filter</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setTestLoop" id="_setTestLoop">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setTestLoop">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#223-226" title="Go to source code">setTestLoop</a>( <span>array <var>$testLoop</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="setBaseParams" id="_setBaseParams">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_setBaseParams">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#228-249" title="Go to source code">setBaseParams</a>( <span>array <var>$baseParams</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>add multiple baseParam ine one time in Tpex Parser</p>
|
|
|
|
<p>key is baseParam name value is the class implementing/extending base
|
|
baseParam classes</p>
|
|
|
|
<p>$baseParam = array( "secure" => "Thelia\BaseParam\Secure", "reset" =>
|
|
"Thelia\BaseParam\reset", "myBaseParam" => "My\Own\BaseParam" );</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$baseParams</var></dt>
|
|
<dd><code>array</code><br>$baseParams</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>InvalidArgumentException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="addBaseParam" id="_addBaseParam">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_addBaseParam">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#251-266" title="Go to source code">addBaseParam</a>( <span>type <var>$name</var></span>, <span>type <var>$className</var></span> )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>add a new baseParam to Tpex param</p>
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
<div class="list"><dl>
|
|
<dt><var>$name</var></dt>
|
|
<dd><code>type</code><br>$name baseParam name. Must be unique</dd>
|
|
<dt><var>$className</var></dt>
|
|
<dd><code>type</code><br>$className class name implementing/extending filter classes</dd>
|
|
</dl></div>
|
|
|
|
|
|
<h4>Throws</h4>
|
|
<div class="list">
|
|
<code>InvalidArgumentException</code><br />
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="execute" id="_execute">
|
|
|
|
<td class="attributes"><code>
|
|
public
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_execute">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#268-287" title="Go to source code">execute</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="parseBaseParam" id="_parseBaseParam">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_parseBaseParam">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#289-305" title="Go to source code">parseBaseParam</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="parseInclude" id="_parseInclude">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_parseInclude">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#307-327" title="Go to source code">parseInclude</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="parseString" id="_parseString">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_parseString">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#329-337" title="Go to source code">parseString</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="parseStringWithCache" id="_parseStringWithCache">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_parseStringWithCache">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#339-352" title="Go to source code">parseStringWithCache</a>( )</code>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="cleanCache" id="_cleanCache">
|
|
|
|
<td class="attributes"><code>
|
|
protected
|
|
|
|
|
|
</code>
|
|
</td>
|
|
|
|
<td class="name"><div>
|
|
<a class="anchor" href="#_cleanCache">#</a>
|
|
<code><a href="source-class-Thelia.Tpex.Tpex.html#354-373" title="Go to source code">cleanCache</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="content" id="$content">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Tpex.Tpex.html#58-64" title="Go to source code"><var>$content</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$content" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>$content contains string to parse</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="basedir" id="$basedir">
|
|
<td class="attributes"><code>
|
|
protected
|
|
string
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Tpex.Tpex.html#66-72" title="Go to source code"><var>$basedir</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$basedir" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>the base directory for searching all files for inclusion</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<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.Tpex.Tpex.html#74-78" 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="dispatcher" id="$dispatcher">
|
|
<td class="attributes"><code>
|
|
protected
|
|
Symfony\Component\EventDispatcher\EventDispatcherInterface
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Tpex.Tpex.html#80-84" title="Go to source code"><var>$dispatcher</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$dispatcher" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="baseParam" id="$baseParam">
|
|
<td class="attributes"><code>
|
|
protected
|
|
Array
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Tpex.Tpex.html#86-102" title="Go to source code"><var>$baseParam</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">array</span>()</code></td>
|
|
<td class="description"><div>
|
|
<a href="#$baseParam" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
<p>associative array containing information for baseParam execution</p>
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>associative array containing information for baseParam execution</p>
|
|
|
|
<p>key is baseParam name value is the class implementing/extending base
|
|
baseParam classes</p>
|
|
|
|
<p>ex :</p>
|
|
|
|
<p>$baseParam = array( "secure" => "Thelia\BaseParam\Secure", "reset" =>
|
|
"Thelia\BaseParam\reset", "myBaseParam" => "My\Own\BaseParam" );</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="init" id="$init">
|
|
<td class="attributes"><code>
|
|
protected
|
|
boolean
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Tpex.Tpex.html#104" title="Go to source code"><var>$init</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">false</span></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$init" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="config" id="$config">
|
|
<td class="attributes"><code>
|
|
protected
|
|
array
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Tpex.Tpex.html#106-122" title="Go to source code"><var>$config</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">array</span>(
|
|
<span class="php-quote">"cacheDir"</span> => <span class="php-keyword1">false</span>,
|
|
<span class="php-quote">"cacheTimeFile"</span> => <span class="php-quote">".time_cache"</span>,
|
|
<span class="php-quote">"fileLifeTime"</span> => <span class="php-num">86400</span>,
|
|
<span class="php-quote">"checkPeriod"</span> => <span class="php-num">7200</span>
|
|
)</code></td>
|
|
<td class="description"><div>
|
|
<a href="#$config" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
<p>config array</p>
|
|
|
|
<p>cacheDir where cache is created cacheTimeFile File containing last cache pass
|
|
fileLifeTime : file lifetime in seconds in cache system checkPeriod : Time in
|
|
seconds between each cache examination</p>
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="regex" id="$regex">
|
|
<td class="attributes"><code>
|
|
protected
|
|
array
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Tpex.Tpex.html#124-127" title="Go to source code"><var>$regex</var></a>
|
|
</td>
|
|
<td class="value"><code><span class="php-keyword1">array</span>(
|
|
<span class="php-quote">'include'</span> => <span class="php-quote">'/#INCLUDE[\s]*"([^"]*)"/'</span>,
|
|
<span class="php-quote">'baseParam'</span> => <span class="php-quote">'/#PARAM_BASE_([a-zA-Z0-9_]+)[\s]*=[\s]*([0-9]*)[\s]*/'</span>
|
|
)</code></td>
|
|
<td class="description"><div>
|
|
<a href="#$regex" class="anchor">#</a>
|
|
|
|
<div class="description short">
|
|
|
|
</div>
|
|
|
|
<div class="description detailed hidden">
|
|
|
|
|
|
</div>
|
|
</div></td>
|
|
</tr>
|
|
<tr data-order="tokenizer" id="$tokenizer">
|
|
<td class="attributes"><code>
|
|
protected
|
|
<code><a href="class-Thelia.Tpex.Tokenizer.Tokenize.html">Thelia\Tpex\Tokenizer\Tokenize</a></code>
|
|
</code></td>
|
|
|
|
<td class="name">
|
|
<a href="source-class-Thelia.Tpex.Tpex.html#129-132" title="Go to source code"><var>$tokenizer</var></a>
|
|
</td>
|
|
<td class="value"><code></code></td>
|
|
<td class="description"><div>
|
|
<a href="#$tokenizer" 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>
|