Files
sterivein/documentation/api/class-Thelia.Tpex.Element.ElementCollection.html
2013-04-15 10:29:58 +02:00

474 lines
11 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\Element\ElementCollection | 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 class="active"><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.Element.BaseElement.html">BaseElement</a></li>
<li><a href="class-Thelia.Tpex.Element.ConditionalLoopElement.html">ConditionalLoopElement</a></li>
<li><a href="class-Thelia.Tpex.Element.ConditionalVarLoopElement.html">ConditionalVarLoopElement</a></li>
<li class="active"><a href="class-Thelia.Tpex.Element.ElementCollection.html">ElementCollection</a></li>
<li><a href="class-Thelia.Tpex.Element.RepeatLoopElement.html">RepeatLoopElement</a></li>
<li><a href="class-Thelia.Tpex.Element.SimpleLoopElement.html">SimpleLoopElement</a></li>
<li><a href="class-Thelia.Tpex.Element.TestLoopElement.html">TestLoopElement</a></li>
<li><a href="class-Thelia.Tpex.Element.TextElement.html">TextElement</a></li>
<li><a href="class-Thelia.Tpex.Element.VariablesTemplate.html">VariablesTemplate</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.Element.html" title="Summary of Thelia\Tpex\Element"><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 ElementCollection</h1>
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-Thelia.Tpex.Element.BaseElement.html"><span>Thelia\Tpex\Element\BaseElement</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by" />
<b><span>Thelia\Tpex\Element\ElementCollection</span></b>
</dd>
</dl>
<div class="info">
<b>Namespace:</b> <a href="namespace-Thelia.html">Thelia</a>\<a href="namespace-Thelia.Tpex.html">Tpex</a>\<a href="namespace-Thelia.Tpex.Element.html">Element</a><br />
<b>Located at</b> <a href="source-class-Thelia.Tpex.Element.ElementCollection.html#28-71" title="Go to source code">core/lib/Thelia/Tpex/Element/ElementCollection.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="addElement" id="_addElement">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_addElement">#</a>
<code><a href="source-class-Thelia.Tpex.Element.ElementCollection.html#37-48" title="Go to source code">addElement</a>( <span><code><a href="class-Thelia.Tpex.Element.BaseElement.html">Thelia\Tpex\Element\BaseElement</a></code> <var>$element</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="addContent" id="_addContent">
<td class="attributes"><code>
public
mixed
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_addContent">#</a>
<code><a href="source-class-Thelia.Tpex.Element.ElementCollection.html#50" title="Go to source code">addContent</a>( <span>mixed <var>$content</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$content</var></dt>
<dd><code>mixed</code><br>$content</dd>
</dl></div>
<h4>Returns</h4>
<div class="list">
<code>mixed</code><br />
</div>
</div>
</div></td>
</tr>
<tr data-order="exec" id="_exec">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_exec">#</a>
<code><a href="source-class-Thelia.Tpex.Element.ElementCollection.html#52-60" title="Go to source code">exec</a>( <span>mixed <var>$substitutions</var> = <span class="php-keyword1">array</span>()</span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="type" id="_type">
<td class="attributes"><code>
public
integer
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_type">#</a>
<code><a href="source-class-Thelia.Tpex.Element.ElementCollection.html#62-65" title="Go to source code">type</a>( )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
<p>type must return the code of this element.</p>
<p>ex : return Thelia\Tpex\TpexToken::TpexText</p>
<h4>Returns</h4>
<div class="list">
<code>integer</code><br />
</div>
</div>
</div></td>
</tr>
<tr data-order="getElements" id="_getElements">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_getElements">#</a>
<code><a href="source-class-Thelia.Tpex.Element.ElementCollection.html#67-70" title="Go to source code">getElements</a>( )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
</table>
<table class="summary inherited">
<caption>Methods inherited from <a href="class-Thelia.Tpex.Element.BaseElement.html#methods">Thelia\Tpex\Element\BaseElement</a></caption>
<tr>
<td><code>
<a href="class-Thelia.Tpex.Element.BaseElement.html#_replace">replace()</a>
</code></td>
</tr>
</table>
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="elements" id="$elements">
<td class="attributes"><code>
protected
array
</code></td>
<td class="name">
<a href="source-class-Thelia.Tpex.Element.ElementCollection.html#30-33" title="Go to source code"><var>$elements</var></a>
</td>
<td class="value"><code><span class="php-keyword1">array</span>()</code></td>
<td class="description"><div>
<a href="#$elements" class="anchor">#</a>
<div class="description short">
<p>BaseElement</p>
</div>
<div class="description detailed hidden">
<p>BaseElement</p>
</div>
</div></td>
</tr>
<tr data-order="idx" id="$idx">
<td class="attributes"><code>
protected
integer
</code></td>
<td class="name">
<a href="source-class-Thelia.Tpex.Element.ElementCollection.html#34" title="Go to source code"><var>$idx</var></a>
</td>
<td class="value"><code><span class="php-num">0</span></code></td>
<td class="description"><div>
<a href="#$idx" class="anchor">#</a>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="lastType" id="$lastType">
<td class="attributes"><code>
protected
integer
</code></td>
<td class="name">
<a href="source-class-Thelia.Tpex.Element.ElementCollection.html#35" title="Go to source code"><var>$lastType</var></a>
</td>
<td class="value"><code>-<span class="php-num">1</span></code></td>
<td class="description"><div>
<a href="#$lastType" class="anchor">#</a>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
</table>
<table class="summary inherited">
<caption>Properties inherited from <a href="class-Thelia.Tpex.Element.BaseElement.html#properties">Thelia\Tpex\Element\BaseElement</a></caption>
<tr>
<td><code>
<a href="class-Thelia.Tpex.Element.BaseElement.html#$content"><var>$content</var></a>
</code></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>