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 - Query\QueryParser</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">Query</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">QueryParser</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<nav class="box">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#introduction">Introduction</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#synopsis">Synopsis</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#members">Members</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#methods">Methods</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#history">History</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../source/QueryParser.php.html#line22">Source</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
<section>
|
|
|
|
|
<h1 id="introduction"><small>Query\</small>QueryParser</h1>
|
|
|
|
|
<h4>Utility Class to parse sql clauses for properly escaping identifiers</h4>
|
|
|
|
|
<p/>
|
|
|
|
|
<ul/>
|
|
|
|
|
<h2 id="synopsis">Synopsis</h2>
|
|
|
|
|
<div class="synopsis">class QueryParser
|
|
|
|
|
{<br/><ul class="none"><li>// members</li><li>public array <a href="#members">$matches</a> =
|
|
|
|
|
;
|
|
|
|
|
</li></ul><ul class="none"><li>// methods</li><li>public void <a title="Query\QueryParser" href="../classes/Query_QueryParser/__construct.html">__construct</a>()
|
|
|
|
|
</li><li>public array <a title="Query\QueryParser" href="../classes/Query_QueryParser/parseJoin.html">parseJoin</a>()
|
|
|
|
|
</li><li>public string <a title="Query\QueryParser" href="../classes/Query_QueryParser/compileJoin.html">compileJoin</a>()
|
|
|
|
|
</li></ul>
|
|
|
|
|
|
|
|
|
|
}<br/></div>
|
|
|
|
|
<h2 id="members">Members</h2>
|
|
|
|
|
<div class="styled members">
|
|
|
|
|
<h4>public</h4>
|
|
|
|
|
<ul class="members">
|
|
|
|
|
<li id="matches"><strong>$matches</strong>
|
|
|
|
|
—
|
|
|
|
|
array<br/><span class="indent">Regex matches</span></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<h2 id="methods">Methods</h2>
|
|
|
|
|
<div class="styled">
|
|
|
|
|
<h4>public</h4>
|
|
|
|
|
<ul>
|
|
|
|
|
<li id="__construct"><a title="Query\QueryParser" href="../classes/Query_QueryParser/__construct.html">__construct()</a>
|
|
|
|
|
— Constructor/entry point into parser</li>
|
|
|
|
|
<li id="compileJoin"><a title="Query\QueryParser" href="../classes/Query_QueryParser/compileJoin.html">compileJoin()</a>
|
|
|
|
|
— Compiles a join condition after parsing</li>
|
|
|
|
|
<li id="parseJoin"><a title="Query\QueryParser" href="../classes/Query_QueryParser/parseJoin.html">parseJoin()</a>
|
|
|
|
|
— Parser method for setting the parse string</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<h2 id="history">History</h2>
|
|
|
|
|
<ul class="styled history">
|
|
|
|
|
<li>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2018-01-19T15:47:34-05:00 (commit #<span title="369ca6eb0439091697ee9cbc34c83e9a4bdaace3">369ca6e</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2018-01-19T13:43:19-05:00 (commit #<span title="c735c27559da47b4d53867da59cd706e8048f4a0">c735c27</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2016-10-13T21:55:23-04:00 (commit #<span title="b8d4768b1bfe0f38d6b65f0d4acd982793c0e9ee">b8d4768</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2016-10-12T22:12:25-04:00 (commit #<span title="6740aaef79540842110b2f162d17a9373d2c30da">6740aae</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2016-09-07T17:39:19-04:00 (commit #<span title="ca601623ba0b2a5879c01597efbf55bbde3a34fa">ca60162</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2016-09-07T13:17:17-04:00 (commit #<span title="24f3b1d7011b6087a549e190582386c2669da8ce">24f3b1d</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2016-09-07T13:10:03-04:00 (commit #<span title="bb382131cc0d34c5ef725a27b7133c595d11825e">bb38213</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2015-11-10T20:59:03-05:00 (commit #<span title="2613a1c8a44d7b94f427dce703114a25f38b15e8">2613a1c</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2015-11-10T16:29:17-05:00 (commit #<span title="a1c3b9e7db3f6bba83b85240604151a9985546bb">a1c3b9e</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<div>
|
|
|
|
|
<p>
|
|
|
|
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|
|
|
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="wrapped">Change test setup to be more extensible</pre>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2015-11-10T11:18:11-05:00 (commit #<span title="1e2a7ee5669b6512fa3549aa2bb46b4816b6899c">1e2a7ee</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<div>
|
|
|
|
|
<p>
|
|
|
|
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|
|
|
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="wrapped">Actually fix tests</pre>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2015-11-10T10:12:23-05:00 (commit #<span title="b5a141ffc741a4f271bf4e110814ac8861a2312f">b5a141f</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2015-07-31T10:24:34-04:00 (commit #<span title="056e8bf6d9f78943b397010657f29b43b45e9e12">056e8bf</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<div>
|
|
|
|
|
<p>
|
|
|
|
|
Author: Timothy J. Warren (tim@timshomepage.net) /
|
|
|
|
|
Commiter: Timothy J. Warren (tim@timshomepage.net)
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="wrapped">Re-add some missing tests, and update README</pre>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2015-07-29T16:51:17-04:00 (commit #<span title="8511c6a445e935547b59a1d3736e7c08cf9633ea">8511c6a</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2015-07-17T16:01:41-04:00 (commit #<span title="b4118ce591ee74fdd71d609ac40355e830d56765">b4118ce</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<div>
|
|
|
|
|
<p>
|
|
|
|
|
Author: Timothy J. Warren (tim@timshomepage.net) /
|
|
|
|
|
Commiter: Timothy J. Warren (tim@timshomepage.net)
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="wrapped">Update docs</pre>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2015-07-16T16:56:13-04:00 (commit #<span title="bfc3ea33ca5c8ddc8500b3d2d8857b9f95304417">bfc3ea3</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<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>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h3>2014-08-08T13:48:20-04:00 (commit #<span title="dd672df81d8f6e423b4b8ed6d7b8077306a191a3">dd672df</span>)</h3>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<div>
|
|
|
|
|
<p>
|
|
|
|
|
Author: Timothy J. Warren (tim@timshomepage.net) /
|
|
|
|
|
Commiter: Timothy J. Warren (tim@timshomepage.net)
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="wrapped">Reorganize classes to autoload by namespace</pre>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
<footer>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2019 by Arne Blankerts and Contributors</span>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
</footer>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|