70 lines
1.8 KiB
Twig
70 lines
1.8 KiB
Twig
<h2>Propel configuration</h2>
|
|
|
|
<table summary="Current Propel configuration">
|
|
<thead>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th>Propel version</th>
|
|
<td>{{ propel_version }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Default connection</th>
|
|
<td>{{ default_connection }}</td>
|
|
<tr>
|
|
<th>Logging</th>
|
|
<td>{{ logging ? 'enabled' : 'disabled' }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<h2>Propel connections</h2>
|
|
|
|
<table summary="Current Propel connections">
|
|
<thead>
|
|
<tr>
|
|
<th>Connection name</th>
|
|
<th colspan="2" style="text-align: center;">Configuration parameters</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for name, config in configuration %}
|
|
<tr>
|
|
<th rowspan="5" style="vertical-align: top;">
|
|
{{ name }}
|
|
</th>
|
|
<th>Adapter</th>
|
|
<td>{{ config.adapter }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>DSN</th>
|
|
<td>{{ config.connection.dsn }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Class</th>
|
|
<td>{{ config.connection.classname }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Options</th>
|
|
<td>
|
|
<ul>
|
|
{% for key, value in config.connection.options %}
|
|
<li>{{ key }} : {{ value }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Attributes</th>
|
|
<td>
|
|
<ul>
|
|
{% for key, value in config.connection.attributes %}
|
|
<li>{{ key }} : {{ value }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|