Query/apiDocumentation/classes/Query_Drivers_Mysql_Util.html

307 lines
14 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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 - Query\Drivers\Mysql\Util</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#Query_Drivers_Mysql">Query\Drivers\Mysql</a>
</li>
<li class="separator">Util</li>
</ul>
</div>
<nav class="box">
<ul>
<li>
<a href="#introduction">Introduction</a>
</li>
<li>
<a href="#synopsis">Synopsis</a>
</li>
<li>
<a href="#hierarchy">Hierarchy</a>
</li>
<li>
<a href="#coverage">Coverage</a>
</li>
<li>
<a href="#methods">Methods</a>
</li>
<li>
<a href="#history">History</a>
</li>
<li>
<a href="../source/Drivers/Mysql/Util.php.html#line23">Source</a>
</li>
</ul>
</nav>
<section>
<h1 id="introduction"><small>Query\Drivers\Mysql\</small>Util</h1>
<h4>MySQL-specific backup, import and creation methods</h4>
<p/>
<ul/>
<h2 id="synopsis">Synopsis</h2>
<div class="synopsis">class Util
extends <a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil.html">AbstractUtil</a>
{<br/><ul class="none"><li>// methods</li><li>public string <a title="Query\Drivers\Mysql\Util" href="../classes/Query_Drivers_Mysql_Util/backupStructure.html">backupStructure</a>()
</li><li>public string <a title="Query\Drivers\Mysql\Util" href="../classes/Query_Drivers_Mysql_Util/backupData.html">backupData</a>()
</li></ul><ul class="none"><li>// Inherited methods from <span title="Query\Drivers\AbstractUtil">AbstractUtil</span></li><li>public void <a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/__construct.html">__construct</a>()
</li><li>public DriverInterface <a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/getDriver.html">getDriver</a>()
</li><li>public string <a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/createTable.html">createTable</a>()
</li><li>public string <a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/deleteTable.html">deleteTable</a>()
</li><li>public abstract string <a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/backupStructure.html">backupStructure</a>()
</li><li>public abstract string <a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/backupData.html">backupData</a>()
</li></ul>
}<br/></div>
<h2 id="hierarchy">Hierarchy</h2>
<div class="styled">
<h4>Extends</h4>
<ul>
<li>
<a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil.html">Query\Drivers\AbstractUtil</a>
</li>
</ul>
</div>
<h2 id="coverage">Coverage</h2>
<table class="styled">
<tr>
<td>Methods</td>
<td class="percent">0%</td>
<td class="nummeric">0 / 2</td>
</tr>
<tr>
<td>Lines</td>
<td class="percent">0%</td>
<td class="nummeric"> / </td>
</tr>
</table>
<h2 id="methods">Methods</h2>
<div class="styled">
<h4>public</h4>
<ul>
<li id="backupData"><a title="Query\Drivers\Mysql\Util" href="../classes/Query_Drivers_Mysql_Util/backupData.html">backupData()</a>
— Create an SQL backup file for the current database's data</li>
<li id="backupStructure"><a title="Query\Drivers\Mysql\Util" href="../classes/Query_Drivers_Mysql_Util/backupStructure.html">backupStructure()</a>
— Create an SQL backup file for the current database's structure</li>
</ul>
<h3>Inherited from <a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil.html">Query\Drivers\AbstractUtil</a></h3>
<h4>public</h4>
<ul>
<li id="backupData"><a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/backupData.html">backupData()</a>
— Return an SQL file with the database data as insert statements</li>
<li id="backupStructure"><a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/backupStructure.html">backupStructure()</a>
— Return an SQL file with the database table structure</li>
<li id="createTable"><a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/createTable.html">createTable()</a>
— Convenience public function to generate sql for creating a db table</li>
<li id="deleteTable"><a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/deleteTable.html">deleteTable()</a>
— Drop the selected table</li>
<li id="getDriver"><a title="Query\Drivers\AbstractUtil" href="../classes/Query_Drivers_AbstractUtil/getDriver.html">getDriver()</a>
— Get the driver object for the current connection</li>
</ul>
</div>
<h2 id="history">History</h2>
<ul class="styled history">
<li>
<h3>2018-01-24T18:14:03+00:00 (commit #<span title="1d583bcc23524ad8840e4be580e549e8d6e549f4">1d583bc</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Add more type hinting</pre>
</div>
</li>
<li>
<h3>2018-01-22T20:43:56+00:00 (commit #<span title="91eb8123d151dde674aa5aec4efbd1dc09e0b490">91eb812</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Various refactoring</pre>
</div>
</li>
<li>
<h3>2018-01-19T20:47:34+00:00 (commit #<span title="369ca6eb0439091697ee9cbc34c83e9a4bdaace3">369ca6e</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Flatten source structure a bit</pre>
</div>
</li>
<li>
<h3>2018-01-19T18:43:19+00:00 (commit #<span title="c735c27559da47b4d53867da59cd706e8048f4a0">c735c27</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Update file headers</pre>
</div>
</li>
<li>
<h3>2016-10-14T01:55:23+00:00 (commit #<span title="b8d4768b1bfe0f38d6b65f0d4acd982793c0e9ee">b8d4768</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">camelCase methods and properties</pre>
</div>
</li>
<li>
<h3>2016-10-13T02:12:25+00:00 (commit #<span title="6740aaef79540842110b2f162d17a9373d2c30da">6740aae</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">PHP7 or bust!</pre>
</div>
</li>
<li>
<h3>2016-09-07T21:39:19+00:00 (commit #<span title="ca601623ba0b2a5879c01597efbf55bbde3a34fa">ca60162</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Miscellaneous cleanup and refactoring</pre>
</div>
</li>
<li>
<h3>2016-09-07T17:17:17+00:00 (commit #<span title="24f3b1d7011b6087a549e190582386c2669da8ce">24f3b1d</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Update header comments</pre>
</div>
</li>
<li>
<h3>2016-09-07T17:10:03+00:00 (commit #<span title="bb382131cc0d34c5ef725a27b7133c595d11825e">bb38213</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Code Style fixes</pre>
</div>
</li>
<li>
<h3>2015-11-11T14:25:21+00:00 (commit #<span title="e62f5771a5d6cde4ca6f18f62bd99834ea0d06a0">e62f577</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Fix a bunch of one line if statements</pre>
</div>
</li>
<li>
<h3>2015-11-11T01:59:03+00:00 (commit #<span title="2613a1c8a44d7b94f427dce703114a25f38b15e8">2613a1c</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Update lots of comments</pre>
</div>
</li>
<li>
<h3>2015-11-10T15:12:23+00:00 (commit #<span title="b5a141ffc741a4f271bf4e110814ac8861a2312f">b5a141f</span>)</h3>
<div>
<p>
Author: Timothy J Warren (tim@timshomepage.net) /
Commiter: Timothy J Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Make class names Pascal Case</pre>
</div>
</li>
<li>
<h3>2015-07-29T20:51:17+00:00 (commit #<span title="8511c6a445e935547b59a1d3736e7c08cf9633ea">8511c6a</span>)</h3>
<div>
<p>
Author: Timothy J. Warren (tim@timshomepage.net) /
Commiter: Timothy J. Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Move library into src folder, fix simpletest test runner</pre>
</div>
</li>
<li>
<h3>2015-07-16T20:56:13+00:00 (commit #<span title="bfc3ea33ca5c8ddc8500b3d2d8857b9f95304417">bfc3ea3</span>)</h3>
<div>
<p>
Author: Timothy J. Warren (tim@timshomepage.net) /
Commiter: Timothy J. Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Reorganize drivers into a more modern layout</pre>
</div>
</li>
<li>
<h3>2014-04-24T19:32:09+00:00 (commit #<span title="17354ee87eae48b1ca3f852f61543487d79573d3">17354ee</span>)</h3>
<div>
<p>
Author: Timothy J. Warren (tim@timshomepage.net) /
Commiter: Timothy J. Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Move SQL and Util classes to their own namespaces</pre>
</div>
</li>
<li>
<h3>2014-04-24T17:42:01+00:00 (commit #<span title="ff77cea04160f92894b5f1363b61611b47d1cb44">ff77cea</span>)</h3>
<div>
<p>
Author: Timothy J. Warren (tim@timshomepage.net) /
Commiter: Timothy J. Warren (tim@timshomepage.net)
</p>
<pre class="wrapped">Remove __call method from util classes</pre>
</div>
</li>
</ul>
</section>
</div>
<footer>
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
</footer>
</body>
</html>