1678 lines
87 KiB
HTML
1678 lines
87 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||
<meta charset="utf-8"/>
|
||
<title>Query</title>
|
||
<meta name="author" content=""/>
|
||
<meta name="description" content=""/>
|
||
|
||
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||
|
||
<!--[if lt IE 9]>
|
||
<script src="../js/html5.js"></script>
|
||
<![endif]-->
|
||
<script src="../js/jquery-1.11.0.min.js"></script>
|
||
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||
<script src="../js/bootstrap.min.js"></script>
|
||
<script src="../js/jquery.smooth-scroll.js"></script>
|
||
<script src="../js/prism.min.js"></script>
|
||
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||
<script type="text/javascript">
|
||
function loadExternalCodeSnippets() {
|
||
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||
var src = pre.getAttribute('data-src');
|
||
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||
var language = 'php';
|
||
|
||
var code = document.createElement('code');
|
||
code.className = 'language-' + language;
|
||
|
||
pre.textContent = '';
|
||
|
||
code.textContent = 'Loading…';
|
||
|
||
pre.appendChild(code);
|
||
|
||
var xhr = new XMLHttpRequest();
|
||
|
||
xhr.open('GET', src, true);
|
||
|
||
xhr.onreadystatechange = function () {
|
||
if (xhr.readyState == 4) {
|
||
|
||
if (xhr.status < 400 && xhr.responseText) {
|
||
code.textContent = xhr.responseText;
|
||
|
||
Prism.highlightElement(code);
|
||
}
|
||
else if (xhr.status >= 400) {
|
||
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||
}
|
||
else {
|
||
code.textContent = '✖ Error: File does not exist or is empty';
|
||
}
|
||
}
|
||
};
|
||
|
||
xhr.send(null);
|
||
});
|
||
}
|
||
|
||
$(document).ready(function(){
|
||
loadExternalCodeSnippets();
|
||
});
|
||
$('#source-view').on('shown', function () {
|
||
loadExternalCodeSnippets();
|
||
})
|
||
</script>
|
||
|
||
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||
</head>
|
||
<body>
|
||
|
||
<div class="navbar navbar-fixed-top">
|
||
<div class="navbar-inner">
|
||
<div class="container">
|
||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||
<i class="icon-ellipsis-vertical"></i>
|
||
</a>
|
||
<a class="brand" href="../index.html">Query</a>
|
||
|
||
<div class="nav-collapse">
|
||
<ul class="nav pull-right">
|
||
<li class="dropdown">
|
||
<a href="../index.html" class="dropdown-toggle" data-toggle="dropdown">
|
||
API Documentation <b class="caret"></b>
|
||
</a>
|
||
<ul class="dropdown-menu">
|
||
<li><a href="../namespaces/Query.html">\Query</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="dropdown" id="charts-menu">
|
||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||
Charts <b class="caret"></b>
|
||
</a>
|
||
<ul class="dropdown-menu">
|
||
<li>
|
||
<a href="../graphs/class.html">
|
||
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="dropdown" id="reports-menu">
|
||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||
Reports <b class="caret"></b>
|
||
</a>
|
||
<ul class="dropdown-menu">
|
||
<li>
|
||
<a href="../reports/errors.html">
|
||
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">31</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="../reports/markers.html">
|
||
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="../reports/deprecated.html">
|
||
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!--<div class="go_to_top">-->
|
||
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||
<!--</div>-->
|
||
</div>
|
||
|
||
<div id="___" class="container-fluid">
|
||
<section class="row-fluid">
|
||
<div class="span2 sidebar">
|
||
<div class="accordion" style="margin-bottom: 0">
|
||
<div class="accordion-group">
|
||
<div class="accordion-heading">
|
||
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1469218559"></a>
|
||
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||
</div>
|
||
<div id="namespace-1469218559" class="accordion-body collapse in">
|
||
<div class="accordion-inner">
|
||
|
||
<div class="accordion" style="margin-bottom: 0">
|
||
<div class="accordion-group">
|
||
<div class="accordion-heading">
|
||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1579123178"></a>
|
||
<a href="../namespaces/Query.html" style="margin-left: 30px; padding-left: 0">Query</a>
|
||
</div>
|
||
<div id="namespace-1579123178" class="accordion-body collapse ">
|
||
<div class="accordion-inner">
|
||
|
||
<div class="accordion" style="margin-bottom: 0">
|
||
<div class="accordion-group">
|
||
<div class="accordion-heading">
|
||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1054897871"></a>
|
||
<a href="../namespaces/Query.Drivers.html" style="margin-left: 30px; padding-left: 0">Drivers</a>
|
||
</div>
|
||
<div id="namespace-1054897871" class="accordion-body collapse ">
|
||
<div class="accordion-inner">
|
||
|
||
<div class="accordion" style="margin-bottom: 0">
|
||
<div class="accordion-group">
|
||
<div class="accordion-heading">
|
||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-102823238"></a>
|
||
<a href="../namespaces/Query.Drivers.Firebird.html" style="margin-left: 30px; padding-left: 0">Firebird</a>
|
||
</div>
|
||
<div id="namespace-102823238" class="accordion-body collapse ">
|
||
<div class="accordion-inner">
|
||
|
||
|
||
<ul>
|
||
<li class="class"><a href="../classes/Query.Drivers.Firebird.Driver.html">Driver</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Firebird.Result.html">Result</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Firebird.SQL.html">SQL</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Firebird.Util.html">Util</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="accordion" style="margin-bottom: 0">
|
||
<div class="accordion-group">
|
||
<div class="accordion-heading">
|
||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-919512830"></a>
|
||
<a href="../namespaces/Query.Drivers.Mysql.html" style="margin-left: 30px; padding-left: 0">Mysql</a>
|
||
</div>
|
||
<div id="namespace-919512830" class="accordion-body collapse ">
|
||
<div class="accordion-inner">
|
||
|
||
|
||
<ul>
|
||
<li class="class"><a href="../classes/Query.Drivers.Mysql.Driver.html">Driver</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Mysql.SQL.html">SQL</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Mysql.Util.html">Util</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="accordion" style="margin-bottom: 0">
|
||
<div class="accordion-group">
|
||
<div class="accordion-heading">
|
||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1664380060"></a>
|
||
<a href="../namespaces/Query.Drivers.Pgsql.html" style="margin-left: 30px; padding-left: 0">Pgsql</a>
|
||
</div>
|
||
<div id="namespace-1664380060" class="accordion-body collapse ">
|
||
<div class="accordion-inner">
|
||
|
||
|
||
<ul>
|
||
<li class="class"><a href="../classes/Query.Drivers.Pgsql.Driver.html">Driver</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Pgsql.SQL.html">SQL</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Pgsql.Util.html">Util</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="accordion" style="margin-bottom: 0">
|
||
<div class="accordion-group">
|
||
<div class="accordion-heading">
|
||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1223368432"></a>
|
||
<a href="../namespaces/Query.Drivers.Sqlite.html" style="margin-left: 30px; padding-left: 0">Sqlite</a>
|
||
</div>
|
||
<div id="namespace-1223368432" class="accordion-body collapse ">
|
||
<div class="accordion-inner">
|
||
|
||
|
||
<ul>
|
||
<li class="class"><a href="../classes/Query.Drivers.Sqlite.Driver.html">Driver</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Sqlite.SQL.html">SQL</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.Sqlite.Util.html">Util</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<ul>
|
||
<li class="interface"><a href="../classes/Query.Drivers.DriverInterface.html">DriverInterface</a></li>
|
||
<li class="interface"><a href="../classes/Query.Drivers.PDOInterface.html">PDOInterface</a></li>
|
||
<li class="interface"><a href="../classes/Query.Drivers.PDOStatementInterface.html">PDOStatementInterface</a></li>
|
||
<li class="interface"><a href="../classes/Query.Drivers.SQLInterface.html">SQLInterface</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.AbstractDriver.html">AbstractDriver</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.AbstractSQL.html">AbstractSQL</a></li>
|
||
<li class="class"><a href="../classes/Query.Drivers.AbstractUtil.html">AbstractUtil</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<ul>
|
||
<li class="interface"><a href="../classes/Query.QueryBuilderInterface.html">QueryBuilderInterface</a></li>
|
||
<li class="class"><a href="../classes/Query.AbstractQueryBuilder.html">AbstractQueryBuilder</a></li>
|
||
<li class="class"><a href="../classes/Query.BadDBDriverException.html">BadDBDriverException</a></li>
|
||
<li class="class"><a href="../classes/Query.ConnectionManager.html">ConnectionManager</a></li>
|
||
<li class="class"><a href="../classes/Query.DriverFactory.html">DriverFactory</a></li>
|
||
<li class="class"><a href="../classes/Query.QueryBuilder.html">QueryBuilder</a></li>
|
||
<li class="class"><a href="../classes/Query.QueryParser.html">QueryParser</a></li>
|
||
<li class="class"><a href="../classes/Query.State.html">State</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<ul>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</section>
|
||
<section class="row-fluid">
|
||
<div class="span10 offset2">
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<nav>
|
||
<a href="../namespaces/Query.html">\Query</a> <i class="icon-level-up"></i>
|
||
</nav>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||
|
||
<h1><small>\Query</small>AbstractQueryBuilder</h1>
|
||
<p><em>Abstract Class for internal implementation methods of the Query Builder</em></p>
|
||
|
||
|
||
|
||
<section id="summary">
|
||
<h2>Summary</h2>
|
||
<section class="row-fluid heading">
|
||
<section class="span4">
|
||
<a href="#methods">Methods</a>
|
||
</section>
|
||
<section class="span4">
|
||
<a href="#properties">Properties</a>
|
||
</section>
|
||
<section class="span4">
|
||
<a href="#constants">Constants</a>
|
||
</section>
|
||
</section>
|
||
<section class="row-fluid public">
|
||
<section class="span4">
|
||
<em>No public methods found</em>
|
||
</section>
|
||
<section class="span4">
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_connName" class="">$connName</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_queries" class="">$queries</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_db" class="">$db</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_parser" class="">$parser</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_util" class="">$util</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_sql" class="">$sql</a><br />
|
||
</section>
|
||
<section class="span4">
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#constant_KEY" class="">KEY</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#constant_VALUE" class="">VALUE</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#constant_BOTH" class="">BOTH</a><br />
|
||
</section>
|
||
</section>
|
||
<section class="row-fluid protected">
|
||
<section class="span4">
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__mixedSet" class="">_mixedSet()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__select" class="">_select()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__getCompile" class="">_getCompile()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__like" class="">_like()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__having" class="">_having()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__where" class="">_where()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__whereString" class="">_whereString()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__whereIn" class="">_whereIn()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__run" class="">_run()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__appendMap" class="">_appendMap()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__appendQuery" class="">_appendQuery()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__compileType" class="">_compileType()</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#method__compile" class="">_compile()</a><br />
|
||
</section>
|
||
<section class="span4">
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_selectString" class="">$selectString</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_fromString" class="">$fromString</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_setString" class="">$setString</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_orderString" class="">$orderString</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_groupString" class="">$groupString</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_setArrayKeys" class="">$setArrayKeys</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_orderArray" class="">$orderArray</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_groupArray" class="">$groupArray</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_values" class="">$values</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_whereValues" class="">$whereValues</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_limit" class="">$limit</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_offset" class="">$offset</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_queryMap" class="">$queryMap</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_havingMap" class="">$havingMap</a><br />
|
||
<a href="../classes/Query.AbstractQueryBuilder.html#property_explain" class="">$explain</a><br />
|
||
</section>
|
||
<section class="span4">
|
||
<em>N/A</em>
|
||
</section>
|
||
</section>
|
||
<section class="row-fluid private">
|
||
<section class="span4">
|
||
<em>No private methods found</em>
|
||
</section>
|
||
<section class="span4">
|
||
<em>No private properties found</em>
|
||
</section>
|
||
<section class="span4">
|
||
<em>N/A</em>
|
||
</section>
|
||
</section>
|
||
</section>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<span class="label label-info">abstract</span>
|
||
|
||
|
||
<dl>
|
||
<dt>File</dt>
|
||
<dd><a href="../files/Query.AbstractQueryBuilder.html"><div class="path-wrapper">Query/AbstractQueryBuilder.php</div></a></dd>
|
||
<dt>Package</dt>
|
||
<dd><div class="namespace-wrapper">Default</div></dd>
|
||
<dt>Class hierarchy</dt>
|
||
<dd class="hierarchy">
|
||
<div class="namespace-wrapper">\Query\AbstractQueryBuilder</div>
|
||
</dd>
|
||
|
||
|
||
|
||
|
||
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<a id="constants" name="constants"></a>
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<h2>Constants</h2>
|
||
</div>
|
||
<aside class="span4 detailsbar"></aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="constant_KEY" name="constant_KEY" class="anchor"></a>
|
||
<article id="constant_KEY" class="constant">
|
||
<h3 class="">KEY</h3>
|
||
<pre class="signature">KEY</pre>
|
||
<p><em></em></p>
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="constant_VALUE" name="constant_VALUE" class="anchor"></a>
|
||
<article id="constant_VALUE" class="constant">
|
||
<h3 class="">VALUE</h3>
|
||
<pre class="signature">VALUE</pre>
|
||
<p><em></em></p>
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="constant_BOTH" name="constant_BOTH" class="anchor"></a>
|
||
<article id="constant_BOTH" class="constant">
|
||
<h3 class="">BOTH</h3>
|
||
<pre class="signature">BOTH</pre>
|
||
<p><em></em></p>
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
|
||
<a id="properties" name="properties"></a>
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<h2>Properties</h2>
|
||
</div>
|
||
<aside class="span4 detailsbar"></aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_connName" name="property_connName" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="public ">$connName</h3>
|
||
<pre class="signature">$connName : string</pre>
|
||
<p><em>Convenience property for connection management</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
string
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_queries" name="property_queries" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="public ">$queries</h3>
|
||
<pre class="signature">$queries : array</pre>
|
||
<p><em>List of queries executed</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
array
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_db" name="property_db" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="public ">$db</h3>
|
||
<pre class="signature">$db : \Query\Drivers\DriverInterface</pre>
|
||
<p><em>The current database driver</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
<a href="../classes/Query.Drivers.DriverInterface.html">\Query\Drivers\DriverInterface</a>
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_parser" name="property_parser" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="public ">$parser</h3>
|
||
<pre class="signature">$parser : \Query\QueryParser</pre>
|
||
<p><em>Query parser class instance</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
<a href="../classes/Query.QueryParser.html">\Query\QueryParser</a>
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_util" name="property_util" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="public ">$util</h3>
|
||
<pre class="signature">$util : \Query\Drivers\AbstractUtil</pre>
|
||
<p><em>Alias to driver util class</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
<a href="../classes/Query.Drivers.AbstractUtil.html">\Query\Drivers\AbstractUtil</a>
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_sql" name="property_sql" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="public ">$sql</h3>
|
||
<pre class="signature">$sql : \Query\Drivers\SQLInterface</pre>
|
||
<p><em>Alias to driver sql class</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
<a href="../classes/Query.Drivers.SQLInterface.html">\Query\Drivers\SQLInterface</a>
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_selectString" name="property_selectString" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$selectString</h3>
|
||
<pre class="signature">$selectString : string</pre>
|
||
<p><em>Compiled 'select' clause</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
string
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_fromString" name="property_fromString" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$fromString</h3>
|
||
<pre class="signature">$fromString : string</pre>
|
||
<p><em>Compiled 'from' clause</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
string
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_setString" name="property_setString" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$setString</h3>
|
||
<pre class="signature">$setString : string</pre>
|
||
<p><em>Compiled arguments for insert / update</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
string
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_orderString" name="property_orderString" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$orderString</h3>
|
||
<pre class="signature">$orderString : string</pre>
|
||
<p><em>Order by clause</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
string
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_groupString" name="property_groupString" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$groupString</h3>
|
||
<pre class="signature">$groupString : string</pre>
|
||
<p><em>Group by clause</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
string
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_setArrayKeys" name="property_setArrayKeys" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$setArrayKeys</h3>
|
||
<pre class="signature">$setArrayKeys : array</pre>
|
||
<p><em>Keys for insert/update statement</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
array
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_orderArray" name="property_orderArray" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$orderArray</h3>
|
||
<pre class="signature">$orderArray : array</pre>
|
||
<p><em>Key/val pairs for order by clause</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
array
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_groupArray" name="property_groupArray" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$groupArray</h3>
|
||
<pre class="signature">$groupArray : array</pre>
|
||
<p><em>Key/val pairs for group by clause</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
array
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_values" name="property_values" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$values</h3>
|
||
<pre class="signature">$values : array</pre>
|
||
<p><em>Values to apply to prepared statements</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
array
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_whereValues" name="property_whereValues" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$whereValues</h3>
|
||
<pre class="signature">$whereValues : array</pre>
|
||
<p><em>Values to apply to where clauses in prepared statements</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
array
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_limit" name="property_limit" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$limit</h3>
|
||
<pre class="signature">$limit : string</pre>
|
||
<p><em>Value for limit string</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
string
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_offset" name="property_offset" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$offset</h3>
|
||
<pre class="signature">$offset : integer</pre>
|
||
<p><em>Value for offset in limit string</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
integer
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_queryMap" name="property_queryMap" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$queryMap</h3>
|
||
<pre class="signature">$queryMap : array</pre>
|
||
<p><em>Query component order mapping
|
||
for complex select queries</em></p>
|
||
<p>Format:
|
||
array(
|
||
'type' => 'where',
|
||
'conjunction' => ' AND ',
|
||
'string' => 'k=?'
|
||
)</p>
|
||
|
||
<h4>Type</h4>
|
||
array
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_havingMap" name="property_havingMap" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$havingMap</h3>
|
||
<pre class="signature">$havingMap : array</pre>
|
||
<p><em>Map for having clause</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
array
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="property_explain" name="property_explain" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="protected ">$explain</h3>
|
||
<pre class="signature">$explain : boolean</pre>
|
||
<p><em>Whether to do only an explain on the query</em></p>
|
||
|
||
|
||
<h4>Type</h4>
|
||
boolean
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
|
||
<a id="methods" name="methods"></a>
|
||
<div class="row-fluid">
|
||
<div class="span8 content class"><h2>Methods</h2></div>
|
||
<aside class="span4 detailsbar"></aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__mixedSet" name="method__mixedSet" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_mixedSet()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_mixedSet(array <span class="argument">$var</span>, mixed <span class="argument">$key</span>, mixed <span class="argument">$val = NULL</span>, integer <span class="argument">$valType = self::BOTH</span>) : array</pre>
|
||
<p><em>Set values in the class, with either an array or key value pair</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>array</td>
|
||
<td>$var </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$key </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$val </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>integer</td>
|
||
<td>$valType </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
array
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__select" name="method__select" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_select()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_select(string <span class="argument">$field</span>, string|boolean <span class="argument">$as = FALSE</span>) : string</pre>
|
||
<p><em>Method to simplify select_ methods</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$field </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string|boolean</td>
|
||
<td>$as </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
string
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__getCompile" name="method__getCompile" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_getCompile()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_getCompile(string <span class="argument">$type</span>, string <span class="argument">$table</span>, boolean <span class="argument">$reset</span>) : string</pre>
|
||
<p><em>Helper function for returning sql strings</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$type </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>boolean</td>
|
||
<td>$reset </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
string
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__like" name="method__like" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_like()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_like(string <span class="argument">$field</span>, mixed <span class="argument">$val</span>, string <span class="argument">$pos</span>, string <span class="argument">$like = 'LIKE'</span>, string <span class="argument">$conj = 'AND'</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Simplify 'like' methods</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$field </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$val </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$pos </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$like </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$conj </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
<a href="../classes/Query.QueryBuilderInterface.html">\Query\QueryBuilderInterface</a>
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__having" name="method__having" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_having()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_having(mixed <span class="argument">$key</span>, mixed <span class="argument">$val = array()</span>, string <span class="argument">$conj = 'AND'</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Simplify building having clauses</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$key </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$val </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$conj </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
<a href="../classes/Query.QueryBuilderInterface.html">\Query\QueryBuilderInterface</a>
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__where" name="method__where" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_where()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_where(mixed <span class="argument">$key</span>, mixed <span class="argument">$val = array()</span>) : array</pre>
|
||
<p><em>Do all the redundant stuff for where/having type methods</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$key </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$val </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
array
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__whereString" name="method__whereString" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_whereString()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_whereString(mixed <span class="argument">$key</span>, mixed <span class="argument">$val = array()</span>, string <span class="argument">$defaultConj = 'AND'</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Simplify generating where string</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$key </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$val </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$defaultConj </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
<a href="../classes/Query.QueryBuilderInterface.html">\Query\QueryBuilderInterface</a>
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__whereIn" name="method__whereIn" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_whereIn()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_whereIn(mixed <span class="argument">$key</span>, mixed <span class="argument">$val = array()</span>, string <span class="argument">$in = 'IN'</span>, string <span class="argument">$conj = 'AND'</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Simplify where_in methods</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$key </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$val </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$in </td>
|
||
<td><ul>
|
||
<li>The (not) in fragment</li>
|
||
</ul></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$conj </td>
|
||
<td><ul>
|
||
<li>The where in conjunction</li>
|
||
</ul></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
<a href="../classes/Query.QueryBuilderInterface.html">\Query\QueryBuilderInterface</a>
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__run" name="method__run" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_run()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_run(string <span class="argument">$type</span>, string <span class="argument">$table</span>, string <span class="argument">$sql = NULL</span>, array|null <span class="argument">$vals = NULL</span>, boolean <span class="argument">$reset = TRUE</span>) : \PDOStatement</pre>
|
||
<p><em>Executes the compiled query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$type </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$sql </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>array|null</td>
|
||
<td>$vals </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>boolean</td>
|
||
<td>$reset </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
\PDOStatement
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__appendMap" name="method__appendMap" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_appendMap()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_appendMap(string <span class="argument">$conjunction = ''</span>, string <span class="argument">$string = ''</span>, string <span class="argument">$type = ''</span>) : void</pre>
|
||
<p><em>Add an additional set of mapping pairs to a internal map</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$conjunction </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$string </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$type </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__appendQuery" name="method__appendQuery" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_appendQuery()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_appendQuery(array <span class="argument">$vals</span>, string <span class="argument">$sql</span>, integer <span class="argument">$totalTime</span>) : void</pre>
|
||
<p><em>Convert the prepared statement into readable sql</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>array</td>
|
||
<td>$vals </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$sql </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>integer</td>
|
||
<td>$totalTime </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__compileType" name="method__compileType" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_compileType()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_compileType(string <span class="argument">$type = ''</span>, string <span class="argument">$table = ''</span>) : string</pre>
|
||
<p><em>Sub-method for generating sql strings</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$type </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
string
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method__compile" name="method__compile" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="protected ">_compile()</h3>
|
||
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||
<pre class="signature" style="margin-right: 54px;">_compile(string <span class="argument">$type = ''</span>, string <span class="argument">$table = ''</span>) : string</pre>
|
||
<p><em>String together the sql statements for sending to the db</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$type </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
string
|
||
|
||
</article>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
<h1><i class="icon-arrow-down"></i></h1>
|
||
<dl>
|
||
</dl>
|
||
<h2>Tags</h2>
|
||
<table class="table table-condensed">
|
||
<tr><td colspan="2"><em>None found</em></td></tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
</div>
|
||
</section>
|
||
|
||
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h3 id="source-view-label">AbstractQueryBuilder.php</h3>
|
||
</div>
|
||
<div class="modal-body">
|
||
<pre data-src="../files/Query/AbstractQueryBuilder.php.txt" class="language-php line-numbers"></pre>
|
||
</div>
|
||
</div>
|
||
|
||
<footer class="row-fluid">
|
||
<section class="span10 offset2">
|
||
<section class="row-fluid">
|
||
<section class="span10 offset1">
|
||
<section class="row-fluid footer-sections">
|
||
<section class="span4">
|
||
<h1><i class="icon-code"></i></h1>
|
||
<div>
|
||
<ul>
|
||
<li><a href="../namespaces/Query.html">\Query</a></li>
|
||
</ul>
|
||
</div>
|
||
</section>
|
||
<section class="span4">
|
||
<h1><i class="icon-bar-chart"></i></h1>
|
||
<div>
|
||
<ul>
|
||
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||
</ul>
|
||
</div>
|
||
</section>
|
||
<section class="span4">
|
||
<h1><i class="icon-pushpin"></i></h1>
|
||
<div>
|
||
<ul>
|
||
<li><a href="../reports/errors.html">Errors</a></li>
|
||
<li><a href="../reports/markers.html">Markers</a></li>
|
||
</ul>
|
||
</div>
|
||
</section>
|
||
</section>
|
||
</section>
|
||
</section>
|
||
<section class="row-fluid">
|
||
<section class="span10 offset1">
|
||
<hr />
|
||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||
on February 28th, 2017 at 21:36.
|
||
</section>
|
||
</section>
|
||
</section>
|
||
</footer>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|