1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/lib/api/doctrine/dbal/configuration.html
2010-04-14 17:13:14 +02:00

160 lines
5.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)">
<meta name="when" content="Wed, 14 Apr 2010 15:12:03 +0000">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css">
<link rel="start" href="../../overview-summary.html">
<title>Configuration (Doctrine)</title>
</head>
<body id="definition" onload="parent.document.title=document.title;">
<div class="header">
<h1>Doctrine</h1>
<ul>
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
<li class="active">Class</li>
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
</ul>
</div>
<div class="small_links">
<a href="../../index.html" target="_top">Frames</a>
<a href="../../doctrine/dbal/configuration.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>
<div class="qualifiedName">Doctrine\DBAL\Configuration</div>
<div class="location">/Doctrine/DBAL/Configuration.php at line 39</div>
<h1>Class Configuration</h1>
<pre class="tree"><strong>Configuration</strong><br /></pre>
<hr>
<p class="signature">public class <strong>Configuration</strong></p>
<div class="comment" id="overview_description"><p>Configuration container for the Doctrine DBAL.</p></div>
<dl>
<dt>License:</dt>
<dd>http://www.opensource.org/licenses/lgpl-license.php LGPL</dd>
<dt>See Also:</dt>
<dd><code>www.doctrine-project.org</code></dd>
<dt>Since:</dt>
<dd>2.0</dd>
<dt>Version:</dt>
<dd>$Revision: 3938 $</dd>
<dt>Author:</dt>
<dd>Guilherme Blanco <guilhermeblanco@hotmail.com></dd>
<dd>Jonathan Wage <jonwage@gmail.com></dd>
<dd>Roman Borschel <roman@code-factory.org></dd>
<dt>Internal:</dt>
<dd>When adding a new configuration option just write a getter/setter pair and add the option to the _attributes array with a proper default value.</dd>
</dl>
<hr>
<table id="summary_field">
<tr><th colspan="2">Field Summary</th></tr>
<tr>
<td class="type">protected array</td>
<td class="description"><p class="name"><a href="#_attributes">$_attributes</a></p><p class="description">The attributes that are contained in the configuration.
</p></td>
</tr>
</table>
<table id="summary_constr">
<tr><th colspan="2">Constructor Summary</th></tr>
<tr>
<td class="description"><p class="name"><a href="#Configuration()">Configuration</a>()</p><p class="description">Creates a new DBAL configuration instance.</p></td>
</tr>
</table>
<table id="summary_method">
<tr><th colspan="2">Method Summary</th></tr>
<tr>
<td class="type"> <a href="../../doctrine/dbal/logging/sqllogger.html">SQLLogger</a></td>
<td class="description"><p class="name"><a href="#getSQLLogger()">getSQLLogger</a>()</p><p class="description">Gets the SQL logger that is used.</p></td>
</tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#setSQLLogger()">setSQLLogger</a>(<a href="../../doctrine/dbal/logging/sqllogger.html">SQLLogger</a> logger)</p><p class="description">Sets the SQL logger to use. </p></td>
</tr>
</table>
<h2 id="detail_field">Field Detail</h2>
<div class="location">/Doctrine/DBAL/Configuration.php at line 47</div>
<h3 id="_attributes">_attributes</h3>
<code class="signature">protected array <strong>$_attributes</strong> = array()</code>
<div class="details">
<p>The attributes that are contained in the configuration.
Values are default values.</p></div>
<hr>
<h2 id="detail_constr">Constructor Detail</h2>
<div class="location">/Doctrine/DBAL/Configuration.php at line 52</div>
<h3 id="Configuration()">Configuration</h3>
<code class="signature">public <strong>Configuration</strong>()</code>
<div class="details">
<p>Creates a new DBAL configuration instance.</p></div>
<hr>
<h2 id="detail_method">Method Detail</h2>
<div class="location">/Doctrine/DBAL/Configuration.php at line 74</div>
<h3 id="getSQLLogger()">getSQLLogger</h3>
<code class="signature">public <a href="../../doctrine/dbal/logging/sqllogger.html">SQLLogger</a> <strong>getSQLLogger</strong>()</code>
<div class="details">
<p>Gets the SQL logger that is used.</p></div>
<hr>
<div class="location">/Doctrine/DBAL/Configuration.php at line 64</div>
<h3 id="setSQLLogger()">setSQLLogger</h3>
<code class="signature">public void <strong>setSQLLogger</strong>(<a href="../../doctrine/dbal/logging/sqllogger.html">SQLLogger</a> logger)</code>
<div class="details">
<p>Sets the SQL logger to use. Defaults to NULL which means SQL logging is disabled.</p></div>
<hr>
<div class="header">
<h1>Doctrine</h1>
<ul>
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="../../doctrine/dbal/package-summary.html">Namespace</a></li>
<li class="active">Class</li>
<li><a href="../../doctrine/dbal/package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
</ul>
</div>
<div class="small_links">
<a href="../../index.html" target="_top">Frames</a>
<a href="../../doctrine/dbal/configuration.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>
<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>
</body>
</html>