2018-01-24 15:31:27 -05:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<!DOCTYPE html SYSTEM "about:legacy-compat">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<title>phpDox - PDO::__construct</title>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
|
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<nav class="topnav">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="logo"><span>/**</span>phpDox</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../index.html">Overview</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../namespaces.html">Namespaces</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../../interfaces.html">Interfaces</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../../classes.html">Classes</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../source/index.html">Source</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
<div id="mainstage">
|
|
|
|
|
<div class="box">
|
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../../index.html">Overview</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../classes.html">Classes</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../classes.html#"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a title="PDO" href="../../classes/PDO.html">PDO</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">__construct</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<nav class="box">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#introduction">Introduction</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#synopsis">Synopsis</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#parameter">Parameter</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#return">Return</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
<section>
|
|
|
|
|
<h1><small>PDO::</small>__construct</h1>
|
|
|
|
|
<h4>
|
|
|
|
|
Creates a PDO instance representing a connection to a database
|
|
|
|
|
</h4>
|
|
|
|
|
<p/>
|
|
|
|
|
<ul/>
|
|
|
|
|
<h2 id="signature">Signature</h2>
|
|
|
|
|
<div class="styled synopsis">
|
|
|
|
|
<code>public function __construct(string
|
|
|
|
|
$dsn,
|
|
|
|
|
string
|
|
|
|
|
$username,
|
|
|
|
|
string
|
2019-12-11 16:09:58 -05:00
|
|
|
|
$passwd,
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<a title="" href="../../classes/.html"/>
|
|
|
|
|
$options )
|
|
|
|
|
</code>
|
|
|
|
|
</div>
|
|
|
|
|
<h2 id="parameterlist">Parameters</h2>
|
|
|
|
|
<dl class="styled">
|
|
|
|
|
<dt><code>$dsn</code>
|
|
|
|
|
—
|
|
|
|
|
string</dt>
|
|
|
|
|
<dd/>
|
|
|
|
|
<dt><code>$username</code>
|
|
|
|
|
—
|
|
|
|
|
string</dt>
|
|
|
|
|
<dd/>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<dt><code>$passwd</code>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
—
|
|
|
|
|
string</dt>
|
|
|
|
|
<dd/>
|
|
|
|
|
<dt><code>$options</code>
|
|
|
|
|
—
|
|
|
|
|
<a title="" href="../../classes/.html"/></dt>
|
|
|
|
|
<dd/>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2 id="return">Returns</h2>
|
|
|
|
|
<dl class="styled">
|
|
|
|
|
<dt>void</dt>
|
|
|
|
|
<dd/>
|
|
|
|
|
</dl>
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
<footer>
|
2020-04-17 15:05:37 -04:00
|
|
|
|
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2020 by Arne Blankerts and Contributors</span>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
</footer>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|