|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/* layout/layout.twig */ |
|
4
|
|
|
class __TwigTemplate_d3eee76ecac02cc1b279fc0444acf3a1baca0ae0247e024dc63f0ba2599e8af1 extends Twig_Template |
|
|
|
|
|
|
5
|
|
|
{ |
|
6
|
|
|
public function __construct(Twig_Environment $env) |
|
7
|
|
|
{ |
|
8
|
|
|
parent::__construct($env); |
|
9
|
|
|
|
|
10
|
|
|
// line 1 |
|
11
|
|
|
$this->parent = $this->loadTemplate("layout/base.twig", "layout/layout.twig", 1); |
|
12
|
|
|
$this->blocks = array( |
|
13
|
|
|
'content' => array($this, 'block_content'), |
|
14
|
|
|
'below_menu' => array($this, 'block_below_menu'), |
|
15
|
|
|
'page_content' => array($this, 'block_page_content'), |
|
16
|
|
|
'menu' => array($this, 'block_menu'), |
|
17
|
|
|
'leftnav' => array($this, 'block_leftnav'), |
|
18
|
|
|
'control_panel' => array($this, 'block_control_panel'), |
|
19
|
|
|
'footer' => array($this, 'block_footer'), |
|
20
|
|
|
); |
|
21
|
|
|
} |
|
22
|
|
|
|
|
23
|
|
|
protected function doGetParent(array $context) |
|
24
|
|
|
{ |
|
25
|
|
|
return "layout/base.twig"; |
|
26
|
|
|
} |
|
27
|
|
|
|
|
28
|
|
|
protected function doDisplay(array $context, array $blocks = array()) |
|
29
|
|
|
{ |
|
30
|
|
|
$this->parent->display($context, array_merge($this->blocks, $blocks)); |
|
31
|
|
|
} |
|
32
|
|
|
|
|
33
|
|
|
// line 3 |
|
34
|
|
|
public function block_content($context, array $blocks = array()) |
|
|
|
|
|
|
35
|
|
|
{ |
|
36
|
|
|
// line 4 |
|
37
|
|
|
echo " <div id=\"content\"> |
|
38
|
|
|
<div id=\"left-column\"> |
|
39
|
|
|
"; |
|
40
|
|
|
// line 6 |
|
41
|
|
|
$this->displayBlock("control_panel", $context, $blocks); |
|
42
|
|
|
echo " |
|
43
|
|
|
"; |
|
44
|
|
|
// line 7 |
|
45
|
|
|
$this->displayBlock("leftnav", $context, $blocks); |
|
46
|
|
|
echo " |
|
47
|
|
|
</div> |
|
48
|
|
|
<div id=\"right-column\"> |
|
49
|
|
|
"; |
|
50
|
|
|
// line 10 |
|
51
|
|
|
$this->displayBlock("menu", $context, $blocks); |
|
52
|
|
|
echo " |
|
53
|
|
|
"; |
|
54
|
|
|
// line 11 |
|
55
|
|
|
$this->displayBlock('below_menu', $context, $blocks); |
|
56
|
|
|
// line 12 |
|
57
|
|
|
echo " <div id=\"page-content\"> |
|
58
|
|
|
"; |
|
59
|
|
|
// line 13 |
|
60
|
|
|
$this->displayBlock('page_content', $context, $blocks); |
|
61
|
|
|
// line 14 |
|
62
|
|
|
echo " </div> |
|
63
|
|
|
"; |
|
64
|
|
|
// line 15 |
|
65
|
|
|
$this->displayBlock("footer", $context, $blocks); |
|
66
|
|
|
echo " |
|
67
|
|
|
</div> |
|
68
|
|
|
</div> |
|
69
|
|
|
"; |
|
70
|
|
|
} |
|
71
|
|
|
|
|
72
|
|
|
// line 11 |
|
73
|
|
|
public function block_below_menu($context, array $blocks = array()) |
|
|
|
|
|
|
74
|
|
|
{ |
|
75
|
|
|
echo ""; |
|
76
|
|
|
} |
|
77
|
|
|
|
|
78
|
|
|
// line 13 |
|
79
|
|
|
public function block_page_content($context, array $blocks = array()) |
|
|
|
|
|
|
80
|
|
|
{ |
|
81
|
|
|
echo ""; |
|
82
|
|
|
} |
|
83
|
|
|
|
|
84
|
|
|
// line 20 |
|
85
|
|
|
public function block_menu($context, array $blocks = array()) |
|
|
|
|
|
|
86
|
|
|
{ |
|
87
|
|
|
// line 21 |
|
88
|
|
|
echo " <nav id=\"site-nav\" class=\"navbar navbar-default\" role=\"navigation\"> |
|
89
|
|
|
<div class=\"container-fluid\"> |
|
90
|
|
|
<div class=\"navbar-header\"> |
|
91
|
|
|
<button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#navbar-elements\"> |
|
92
|
|
|
<span class=\"sr-only\">Toggle navigation</span> |
|
93
|
|
|
<span class=\"icon-bar\"></span> |
|
94
|
|
|
<span class=\"icon-bar\"></span> |
|
95
|
|
|
<span class=\"icon-bar\"></span> |
|
96
|
|
|
</button> |
|
97
|
|
|
<a class=\"navbar-brand\" href=\""; |
|
98
|
|
|
// line 30 |
|
99
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, "index.html"), "html", null, true); |
|
100
|
|
|
echo "\">"; |
|
101
|
|
|
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["project"]) ? $context["project"] : $this->getContext($context, "project")), "config", array(0 => "title"), "method"), "html", null, true); |
|
102
|
|
|
echo "</a> |
|
103
|
|
|
</div> |
|
104
|
|
|
<div class=\"collapse navbar-collapse\" id=\"navbar-elements\"> |
|
105
|
|
|
<ul class=\"nav navbar-nav\"> |
|
106
|
|
|
<li><a href=\""; |
|
107
|
|
|
// line 34 |
|
108
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, "classes.html"), "html", null, true); |
|
109
|
|
|
echo "\">Classes</a></li> |
|
110
|
|
|
"; |
|
111
|
|
|
// line 35 |
|
112
|
|
|
if ((isset($context["has_namespaces"]) ? $context["has_namespaces"] : $this->getContext($context, "has_namespaces"))) { |
|
113
|
|
|
// line 36 |
|
114
|
|
|
echo " <li><a href=\""; |
|
115
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, "namespaces.html"), "html", null, true); |
|
116
|
|
|
echo "\">Namespaces</a></li> |
|
117
|
|
|
"; |
|
118
|
|
|
} |
|
119
|
|
|
// line 38 |
|
120
|
|
|
echo " <li><a href=\""; |
|
121
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, "interfaces.html"), "html", null, true); |
|
122
|
|
|
echo "\">Interfaces</a></li> |
|
123
|
|
|
<li><a href=\""; |
|
124
|
|
|
// line 39 |
|
125
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, "traits.html"), "html", null, true); |
|
126
|
|
|
echo "\">Traits</a></li> |
|
127
|
|
|
<li><a href=\""; |
|
128
|
|
|
// line 40 |
|
129
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, "doc-index.html"), "html", null, true); |
|
130
|
|
|
echo "\">Index</a></li> |
|
131
|
|
|
<li><a href=\""; |
|
132
|
|
|
// line 41 |
|
133
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, "search.html"), "html", null, true); |
|
134
|
|
|
echo "\">Search</a></li> |
|
135
|
|
|
</ul> |
|
136
|
|
|
</div> |
|
137
|
|
|
</div> |
|
138
|
|
|
</nav> |
|
139
|
|
|
"; |
|
140
|
|
|
} |
|
141
|
|
|
|
|
142
|
|
|
// line 48 |
|
143
|
|
|
public function block_leftnav($context, array $blocks = array()) |
|
|
|
|
|
|
144
|
|
|
{ |
|
145
|
|
|
// line 49 |
|
146
|
|
|
echo " <div id=\"api-tree\"></div> |
|
147
|
|
|
"; |
|
148
|
|
|
} |
|
149
|
|
|
|
|
150
|
|
|
// line 52 |
|
151
|
|
|
public function block_control_panel($context, array $blocks = array()) |
|
|
|
|
|
|
152
|
|
|
{ |
|
153
|
|
|
// line 53 |
|
154
|
|
|
echo " <div id=\"control-panel\"> |
|
155
|
|
|
"; |
|
156
|
|
|
// line 54 |
|
157
|
|
|
if ((twig_length_filter($this->env, $this->getAttribute((isset($context["project"]) ? $context["project"] : $this->getContext($context, "project")), "versions", array())) > 1)) { |
|
158
|
|
|
// line 55 |
|
159
|
|
|
echo " <form action=\"#\" method=\"GET\"> |
|
160
|
|
|
<select id=\"version-switcher\" name=\"version\"> |
|
161
|
|
|
"; |
|
162
|
|
|
// line 57 |
|
163
|
|
|
$context['_parent'] = $context; |
|
164
|
|
|
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["project"]) ? $context["project"] : $this->getContext($context, "project")), "versions", array())); |
|
165
|
|
|
foreach ($context['_seq'] as $context["_key"] => $context["version"]) { |
|
166
|
|
|
// line 58 |
|
167
|
|
|
echo " <option value=\""; |
|
168
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, (("../" . $context["version"]) . "/index.html")), "html", null, true); |
|
169
|
|
|
echo "\""; |
|
170
|
|
|
echo ((($context["version"] == $this->getAttribute((isset($context["project"]) ? $context["project"] : $this->getContext($context, "project")), "version", array()))) ? (" selected") : ("")); |
|
171
|
|
|
echo ">"; |
|
172
|
|
|
echo twig_escape_filter($this->env, $this->getAttribute($context["version"], "longname", array()), "html", null, true); |
|
173
|
|
|
echo "</option> |
|
174
|
|
|
"; |
|
175
|
|
|
} |
|
176
|
|
|
$_parent = $context['_parent']; |
|
177
|
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['version'], $context['_parent'], $context['loop']); |
|
178
|
|
|
$context = array_intersect_key($context, $_parent) + $_parent; |
|
179
|
|
|
// line 60 |
|
180
|
|
|
echo " </select> |
|
181
|
|
|
</form> |
|
182
|
|
|
"; |
|
183
|
|
|
} |
|
184
|
|
|
// line 63 |
|
185
|
|
|
echo " <form id=\"search-form\" action=\""; |
|
186
|
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForStaticFile($context, "search.html"), "html", null, true); |
|
187
|
|
|
echo "\" method=\"GET\"> |
|
188
|
|
|
<span class=\"glyphicon glyphicon-search\"></span> |
|
189
|
|
|
<input name=\"search\" |
|
190
|
|
|
class=\"typeahead form-control\" |
|
191
|
|
|
type=\"search\" |
|
192
|
|
|
placeholder=\"Search\"> |
|
193
|
|
|
</form> |
|
194
|
|
|
</div> |
|
195
|
|
|
"; |
|
196
|
|
|
} |
|
197
|
|
|
|
|
198
|
|
|
// line 73 |
|
199
|
|
|
public function block_footer($context, array $blocks = array()) |
|
|
|
|
|
|
200
|
|
|
{ |
|
201
|
|
|
// line 74 |
|
202
|
|
|
echo " <div id=\"footer\"> |
|
203
|
|
|
Generated by <a href=\"http://sami.sensiolabs.org/\">Sami, the API Documentation Generator</a>. |
|
204
|
|
|
</div> |
|
205
|
|
|
"; |
|
206
|
|
|
} |
|
207
|
|
|
|
|
208
|
|
|
public function getTemplateName() |
|
209
|
|
|
{ |
|
210
|
|
|
return "layout/layout.twig"; |
|
211
|
|
|
} |
|
212
|
|
|
|
|
213
|
|
|
public function isTraitable() |
|
214
|
|
|
{ |
|
215
|
|
|
return false; |
|
216
|
|
|
} |
|
217
|
|
|
|
|
218
|
|
|
public function getDebugInfo() |
|
219
|
|
|
{ |
|
220
|
|
|
return array ( 202 => 74, 199 => 73, 185 => 63, 180 => 60, 167 => 58, 163 => 57, 159 => 55, 157 => 54, 154 => 53, 151 => 52, 146 => 49, 143 => 48, 133 => 41, 129 => 40, 125 => 39, 120 => 38, 114 => 36, 112 => 35, 108 => 34, 99 => 30, 88 => 21, 85 => 20, 79 => 13, 73 => 11, 65 => 15, 62 => 14, 60 => 13, 57 => 12, 55 => 11, 51 => 10, 45 => 7, 41 => 6, 37 => 4, 34 => 3, 11 => 1,); |
|
221
|
|
|
} |
|
222
|
|
|
} |
|
223
|
|
|
/* {% extends "layout/base.twig" %}*/ |
|
|
|
|
|
|
224
|
|
|
/* */ |
|
225
|
|
|
/* {% block content %}*/ |
|
226
|
|
|
/* <div id="content">*/ |
|
227
|
|
|
/* <div id="left-column">*/ |
|
228
|
|
|
/* {{ block('control_panel') }}*/ |
|
|
|
|
|
|
229
|
|
|
/* {{ block('leftnav') }}*/ |
|
|
|
|
|
|
230
|
|
|
/* </div>*/ |
|
231
|
|
|
/* <div id="right-column">*/ |
|
232
|
|
|
/* {{ block('menu') }}*/ |
|
|
|
|
|
|
233
|
|
|
/* {% block below_menu '' %}*/ |
|
234
|
|
|
/* <div id="page-content">*/ |
|
235
|
|
|
/* {% block page_content '' %}*/ |
|
236
|
|
|
/* </div>*/ |
|
237
|
|
|
/* {{ block('footer') }}*/ |
|
|
|
|
|
|
238
|
|
|
/* </div>*/ |
|
239
|
|
|
/* </div>*/ |
|
240
|
|
|
/* {% endblock %}*/ |
|
241
|
|
|
/* */ |
|
242
|
|
|
/* {% block menu %}*/ |
|
243
|
|
|
/* <nav id="site-nav" class="navbar navbar-default" role="navigation">*/ |
|
244
|
|
|
/* <div class="container-fluid">*/ |
|
245
|
|
|
/* <div class="navbar-header">*/ |
|
246
|
|
|
/* <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">*/ |
|
247
|
|
|
/* <span class="sr-only">Toggle navigation</span>*/ |
|
248
|
|
|
/* <span class="icon-bar"></span>*/ |
|
249
|
|
|
/* <span class="icon-bar"></span>*/ |
|
250
|
|
|
/* <span class="icon-bar"></span>*/ |
|
251
|
|
|
/* </button>*/ |
|
252
|
|
|
/* <a class="navbar-brand" href="{{ path('index.html') }}">{{ project.config('title') }}</a>*/ |
|
|
|
|
|
|
253
|
|
|
/* </div>*/ |
|
254
|
|
|
/* <div class="collapse navbar-collapse" id="navbar-elements">*/ |
|
255
|
|
|
/* <ul class="nav navbar-nav">*/ |
|
256
|
|
|
/* <li><a href="{{ path('classes.html') }}">Classes</a></li>*/ |
|
257
|
|
|
/* {% if has_namespaces %}*/ |
|
258
|
|
|
/* <li><a href="{{ path('namespaces.html') }}">Namespaces</a></li>*/ |
|
259
|
|
|
/* {% endif %}*/ |
|
|
|
|
|
|
260
|
|
|
/* <li><a href="{{ path('interfaces.html') }}">Interfaces</a></li>*/ |
|
261
|
|
|
/* <li><a href="{{ path('traits.html') }}">Traits</a></li>*/ |
|
262
|
|
|
/* <li><a href="{{ path('doc-index.html') }}">Index</a></li>*/ |
|
263
|
|
|
/* <li><a href="{{ path('search.html') }}">Search</a></li>*/ |
|
264
|
|
|
/* </ul>*/ |
|
265
|
|
|
/* </div>*/ |
|
266
|
|
|
/* </div>*/ |
|
267
|
|
|
/* </nav>*/ |
|
268
|
|
|
/* {% endblock %}*/ |
|
269
|
|
|
/* */ |
|
270
|
|
|
/* {% block leftnav %}*/ |
|
271
|
|
|
/* <div id="api-tree"></div>*/ |
|
272
|
|
|
/* {% endblock %}*/ |
|
273
|
|
|
/* */ |
|
274
|
|
|
/* {% block control_panel %}*/ |
|
275
|
|
|
/* <div id="control-panel">*/ |
|
276
|
|
|
/* {% if project.versions|length > 1 %}*/ |
|
277
|
|
|
/* <form action="#" method="GET">*/ |
|
278
|
|
|
/* <select id="version-switcher" name="version">*/ |
|
279
|
|
|
/* {% for version in project.versions %}*/ |
|
280
|
|
|
/* <option value="{{ path('../' ~ version ~ '/index.html') }}"{{ version == project.version ? ' selected' : '' }}>{{ version.longname }}</option>*/ |
|
281
|
|
|
/* {% endfor %}*/ |
|
|
|
|
|
|
282
|
|
|
/* </select>*/ |
|
283
|
|
|
/* </form>*/ |
|
284
|
|
|
/* {% endif %}*/ |
|
|
|
|
|
|
285
|
|
|
/* <form id="search-form" action="{{ path('search.html') }}" method="GET">*/ |
|
286
|
|
|
/* <span class="glyphicon glyphicon-search"></span>*/ |
|
287
|
|
|
/* <input name="search"*/ |
|
288
|
|
|
/* class="typeahead form-control"*/ |
|
289
|
|
|
/* type="search"*/ |
|
290
|
|
|
/* placeholder="Search">*/ |
|
291
|
|
|
/* </form>*/ |
|
292
|
|
|
/* </div>*/ |
|
293
|
|
|
/* {% endblock %}*/ |
|
294
|
|
|
/* */ |
|
295
|
|
|
/* {% block footer %}*/ |
|
296
|
|
|
/* <div id="footer">*/ |
|
297
|
|
|
/* Generated by <a href="http://sami.sensiolabs.org/">Sami, the API Documentation Generator</a>.*/ |
|
298
|
|
|
/* </div>*/ |
|
299
|
|
|
/* {% endblock %}*/ |
|
300
|
|
|
/* */ |
|
301
|
|
|
|
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.