3747 lines
200 KiB
HTML
3747 lines
200 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-1932800501"></a>
|
||
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||
</div>
|
||
<div id="namespace-1932800501" 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-2378256"></a>
|
||
<a href="../namespaces/Query.html" style="margin-left: 30px; padding-left: 0">Query</a>
|
||
</div>
|
||
<div id="namespace-2378256" 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-2130593368"></a>
|
||
<a href="../namespaces/Query.Drivers.html" style="margin-left: 30px; padding-left: 0">Drivers</a>
|
||
</div>
|
||
<div id="namespace-2130593368" 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-214708925"></a>
|
||
<a href="../namespaces/Query.Drivers.Firebird.html" style="margin-left: 30px; padding-left: 0">Firebird</a>
|
||
</div>
|
||
<div id="namespace-214708925" 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-1823519784"></a>
|
||
<a href="../namespaces/Query.Drivers.Mysql.html" style="margin-left: 30px; padding-left: 0">Mysql</a>
|
||
</div>
|
||
<div id="namespace-1823519784" 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-431444039"></a>
|
||
<a href="../namespaces/Query.Drivers.Pgsql.html" style="margin-left: 30px; padding-left: 0">Pgsql</a>
|
||
</div>
|
||
<div id="namespace-431444039" 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-682481399"></a>
|
||
<a href="../namespaces/Query.Drivers.Sqlite.html" style="margin-left: 30px; padding-left: 0">Sqlite</a>
|
||
</div>
|
||
<div id="namespace-682481399" 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>QueryBuilder</h1>
|
||
<p><em>Convenience class for creating sql queries</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">
|
||
<a href="../classes/Query.QueryBuilder.html#method___construct" class="">__construct()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method___destruct" class="">__destruct()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method___call" class="">__call()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_select" class="">select()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_selectMax" class="">selectMax()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_selectMin" class="">selectMin()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_selectAvg" class="">selectAvg()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_selectSum" class="">selectSum()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_distinct" class="">distinct()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_explain" class="">explain()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_from" class="">from()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_like" class="">like()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orLike" class="">orLike()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_notLike" class="">notLike()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orNotLike" class="">orNotLike()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_having" class="">having()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orHaving" class="">orHaving()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_where" class="">where()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orWhere" class="">orWhere()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_whereIn" class="">whereIn()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orWhereIn" class="">orWhereIn()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_whereNotIn" class="">whereNotIn()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orWhereNotIn" class="">orWhereNotIn()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_set" class="">set()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_join" class="">join()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_groupBy" class="">groupBy()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orderBy" class="">orderBy()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_limit" class="">limit()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_groupStart" class="">groupStart()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_notGroupStart" class="">notGroupStart()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orGroupStart" class="">orGroupStart()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_orNotGroupStart" class="">orNotGroupStart()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_groupEnd" class="">groupEnd()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_get" class="">get()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_getWhere" class="">getWhere()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_countAll" class="">countAll()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_countAllResults" class="">countAllResults()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_insert" class="">insert()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_insertBatch" class="">insertBatch()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_update" class="">update()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_updateBatch" class="">updateBatch()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_replace" class="">replace()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_delete" class="">delete()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_getCompiledSelect" class="">getCompiledSelect()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_getCompiledInsert" class="">getCompiledInsert()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_getCompiledUpdate" class="">getCompiledUpdate()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_getCompiledDelete" class="">getCompiledDelete()</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#method_resetQuery" class="">resetQuery()</a><br />
|
||
</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">
|
||
<a href="../classes/Query.QueryBuilder.html#property_stringVars" class="">$stringVars</a><br />
|
||
<a href="../classes/Query.QueryBuilder.html#property_arrayVars" class="">$arrayVars</a><br />
|
||
</section>
|
||
<section class="span4">
|
||
<em>N/A</em>
|
||
</section>
|
||
</section>
|
||
</section>
|
||
</div>
|
||
<aside class="span4 detailsbar">
|
||
|
||
|
||
<dl>
|
||
<dt>File</dt>
|
||
<dd><a href="../files/Query.QueryBuilder.html"><div class="path-wrapper">Query/QueryBuilder.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"><a href="../classes/Query.AbstractQueryBuilder.html">\Query\AbstractQueryBuilder</a></div>
|
||
<div class="namespace-wrapper">\Query\QueryBuilder</div>
|
||
</dd>
|
||
|
||
<dt>Implements</dt>
|
||
<dd><a href="../classes/Query.QueryBuilderInterface.html"><div class="namespace-wrapper">\Query\QueryBuilderInterface</div></a></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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></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="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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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_stringVars" name="property_stringVars" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="private ">$stringVars</h3>
|
||
<pre class="signature">$stringVars : array</pre>
|
||
<p><em>String class values to be reset</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_arrayVars" name="property_arrayVars" class="anchor"></a>
|
||
<article class="property">
|
||
<h3 class="private ">$arrayVars</h3>
|
||
<pre class="signature">$arrayVars : array</pre>
|
||
<p><em>Array class variables to be reset</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>
|
||
|
||
|
||
<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___construct" name="method___construct" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">__construct()</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;">__construct(\Query\Drivers\DriverInterface <span class="argument">$db</span>, \Query\QueryParser <span class="argument">$parser</span>) </pre>
|
||
<p><em>Constructor</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td><a href="../classes/Query.Drivers.DriverInterface.html">\Query\Drivers\DriverInterface</a></td>
|
||
<td>$db </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td><a href="../classes/Query.QueryParser.html">\Query\QueryParser</a></td>
|
||
<td>$parser </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___destruct" name="method___destruct" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">__destruct()</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;">__destruct() </pre>
|
||
<p><em>Destructor</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>
|
||
<th>
|
||
codeCoverageIgnore
|
||
</th>
|
||
<td>
|
||
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</aside>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span8 content class">
|
||
<a id="method___call" name="method___call" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">__call()</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;">__call(string <span class="argument">$name</span>, array <span class="argument">$params</span>) : mixed</pre>
|
||
<p><em>Calls a function further down the inheritance chain</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$name </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>array</td>
|
||
<td>$params </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
<h4>Throws</h4>
|
||
<dl>
|
||
<dt>\BadMethodCallException</dt>
|
||
<dd></dd>
|
||
</dl>
|
||
|
||
<h4>Returns</h4>
|
||
mixed
|
||
|
||
</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="public ">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">$fields</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Specifies rows to select in a query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$fields </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_selectMax" name="method_selectMax" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">selectMax()</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;">selectMax(string <span class="argument">$field</span>, string|boolean <span class="argument">$as = FALSE</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Selects the maximum value of a field from a query</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>
|
||
<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_selectMin" name="method_selectMin" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">selectMin()</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;">selectMin(string <span class="argument">$field</span>, string|boolean <span class="argument">$as = FALSE</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Selects the minimum value of a field from a query</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>
|
||
<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_selectAvg" name="method_selectAvg" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">selectAvg()</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;">selectAvg(string <span class="argument">$field</span>, string|boolean <span class="argument">$as = FALSE</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Selects the average value of a field from a query</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>
|
||
<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_selectSum" name="method_selectSum" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">selectSum()</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;">selectSum(string <span class="argument">$field</span>, string|boolean <span class="argument">$as = FALSE</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Selects the sum of a field from a query</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>
|
||
<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_distinct" name="method_distinct" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">distinct()</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;">distinct() : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Adds the 'distinct' keyword to a query</em></p>
|
||
|
||
|
||
|
||
|
||
<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_explain" name="method_explain" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">explain()</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;">explain() : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Tell the database to give you the query plan instead of result set</em></p>
|
||
|
||
|
||
|
||
|
||
<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_from" name="method_from" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">from()</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;">from(string <span class="argument">$tblname</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Specify the database table to select from</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$tblname </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_like" name="method_like" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">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 = 'both'</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Creates a Like clause in the sql statement</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>
|
||
</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_orLike" name="method_orLike" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orLike()</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;">orLike(string <span class="argument">$field</span>, mixed <span class="argument">$val</span>, string <span class="argument">$pos = 'both'</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Generates an OR Like clause</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>
|
||
</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_notLike" name="method_notLike" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">notLike()</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;">notLike(string <span class="argument">$field</span>, mixed <span class="argument">$val</span>, string <span class="argument">$pos = 'both'</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Generates a NOT LIKE clause</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>
|
||
</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_orNotLike" name="method_orNotLike" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orNotLike()</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;">orNotLike(string <span class="argument">$field</span>, mixed <span class="argument">$val</span>, string <span class="argument">$pos = 'both'</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Generates a OR NOT LIKE clause</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>
|
||
</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="public ">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>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Generates a 'Having' clause</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>
|
||
<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_orHaving" name="method_orHaving" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orHaving()</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;">orHaving(mixed <span class="argument">$key</span>, mixed <span class="argument">$val = array()</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Generates a 'Having' clause prefixed with 'OR'</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>
|
||
<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="public ">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>, mixed <span class="argument">$escape = NULL</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Specify condition(s) in the where clause of a query
|
||
Note: this function works with key / value, or a
|
||
passed array with key / value pairs</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>mixed</td>
|
||
<td>$escape </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_orWhere" name="method_orWhere" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orWhere()</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;">orWhere(string <span class="argument">$key</span>, mixed <span class="argument">$val = array()</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Where clause prefixed with "OR"</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$key </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$val </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="public ">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">$field</span>, mixed <span class="argument">$val = array()</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Where clause with 'IN' statement</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$field </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$val </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_orWhereIn" name="method_orWhereIn" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orWhereIn()</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;">orWhereIn(string <span class="argument">$field</span>, mixed <span class="argument">$val = array()</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Where in statement prefixed with "or"</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>
|
||
</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_whereNotIn" name="method_whereNotIn" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">whereNotIn()</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;">whereNotIn(string <span class="argument">$field</span>, mixed <span class="argument">$val = array()</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>WHERE NOT IN (FOO) clause</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>
|
||
</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_orWhereNotIn" name="method_orWhereNotIn" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orWhereNotIn()</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;">orWhereNotIn(string <span class="argument">$field</span>, mixed <span class="argument">$val = array()</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>OR WHERE NOT IN (FOO) clause</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>
|
||
</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_set" name="method_set" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">set()</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;">set(mixed <span class="argument">$key</span>, mixed <span class="argument">$val = NULL</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Sets values for inserts / updates / deletes</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>
|
||
<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_join" name="method_join" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">join()</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;">join(string <span class="argument">$table</span>, string <span class="argument">$condition</span>, string <span class="argument">$type = ''</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Creates a join phrase in a compiled query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$condition </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$type </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_groupBy" name="method_groupBy" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">groupBy()</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;">groupBy(mixed <span class="argument">$field</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Group the results by the selected field(s)</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$field </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_orderBy" name="method_orderBy" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orderBy()</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;">orderBy(string <span class="argument">$field</span>, string <span class="argument">$type = ""</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Order the results by the selected field(s)</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</td>
|
||
<td>$type </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_limit" name="method_limit" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">limit()</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;">limit(integer <span class="argument">$limit</span>, integer|boolean <span class="argument">$offset = FALSE</span>) : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Set a limit on the current sql statement</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>integer</td>
|
||
<td>$limit </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>integer|boolean</td>
|
||
<td>$offset </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_groupStart" name="method_groupStart" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">groupStart()</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;">groupStart() : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Adds a paren to the current query for query grouping</em></p>
|
||
|
||
|
||
|
||
|
||
<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_notGroupStart" name="method_notGroupStart" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">notGroupStart()</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;">notGroupStart() : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Adds a paren to the current query for query grouping,
|
||
prefixed with 'NOT'</em></p>
|
||
|
||
|
||
|
||
|
||
<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_orGroupStart" name="method_orGroupStart" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orGroupStart()</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;">orGroupStart() : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Adds a paren to the current query for query grouping,
|
||
prefixed with 'OR'</em></p>
|
||
|
||
|
||
|
||
|
||
<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_orNotGroupStart" name="method_orNotGroupStart" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">orNotGroupStart()</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;">orNotGroupStart() : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Adds a paren to the current query for query grouping,
|
||
prefixed with 'OR NOT'</em></p>
|
||
|
||
|
||
|
||
|
||
<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_groupEnd" name="method_groupEnd" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">groupEnd()</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;">groupEnd() : \Query\QueryBuilderInterface</pre>
|
||
<p><em>Ends a query group</em></p>
|
||
|
||
|
||
|
||
|
||
<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_get" name="method_get" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">get()</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;">get(string <span class="argument">$table = ''</span>, integer|boolean <span class="argument">$limit = FALSE</span>, integer|boolean <span class="argument">$offset = FALSE</span>) : \PDOStatement</pre>
|
||
<p><em>Select and retrieve all records from the current table, and/or
|
||
execute current compiled query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>integer|boolean</td>
|
||
<td>$limit </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>integer|boolean</td>
|
||
<td>$offset </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_getWhere" name="method_getWhere" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">getWhere()</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;">getWhere(string <span class="argument">$table</span>, array <span class="argument">$where = array()</span>, integer|boolean <span class="argument">$limit = FALSE</span>, integer|boolean <span class="argument">$offset = FALSE</span>) : \PDOStatement</pre>
|
||
<p><em>Convenience method for get() with a where clause</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>array</td>
|
||
<td>$where </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>integer|boolean</td>
|
||
<td>$limit </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>integer|boolean</td>
|
||
<td>$offset </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_countAll" name="method_countAll" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">countAll()</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;">countAll(string <span class="argument">$table</span>) : integer</pre>
|
||
<p><em>Retrieve the number of rows in the selected table</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</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="method_countAllResults" name="method_countAllResults" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">countAllResults()</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;">countAllResults(string <span class="argument">$table = ''</span>, boolean <span class="argument">$reset = TRUE</span>) : integer</pre>
|
||
<p><em>Retrieve the number of results for the generated query - used
|
||
in place of the get() method</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>boolean</td>
|
||
<td>$reset </td>
|
||
<td><ul>
|
||
<li>Whether to keep the query after counting the results</li>
|
||
</ul></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</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="method_insert" name="method_insert" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">insert()</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;">insert(string <span class="argument">$table</span>, mixed <span class="argument">$data = array()</span>) : \PDOStatement</pre>
|
||
<p><em>Creates an insert clause, and executes it</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$data </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_insertBatch" name="method_insertBatch" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">insertBatch()</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;">insertBatch(string <span class="argument">$table</span>, array <span class="argument">$data = array()</span>) : \PDOStatement</pre>
|
||
<p><em>Creates and executes a batch insertion query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>array</td>
|
||
<td>$data </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_update" name="method_update" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">update()</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;">update(string <span class="argument">$table</span>, mixed <span class="argument">$data = array()</span>) : \PDOStatement</pre>
|
||
<p><em>Creates an update clause, and executes it</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$data </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_updateBatch" name="method_updateBatch" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">updateBatch()</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;">updateBatch(string <span class="argument">$table</span>, array|object <span class="argument">$data</span>, string <span class="argument">$where</span>) : integer|null</pre>
|
||
<p><em>Creates a batch update, and executes it.</em></p>
|
||
<p>Returns the number of affected rows</p>
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>array|object</td>
|
||
<td>$data </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$where </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
integer|null
|
||
|
||
</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_replace" name="method_replace" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">replace()</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;">replace(string <span class="argument">$table</span>, array <span class="argument">$data = array()</span>) : \PDOStatement|null</pre>
|
||
<p><em>Insertion with automatic overwrite, rather than attempted duplication</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>array</td>
|
||
<td>$data </td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<h4>Returns</h4>
|
||
\PDOStatement|null
|
||
|
||
</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_delete" name="method_delete" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">delete()</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;">delete(string <span class="argument">$table</span>, mixed <span class="argument">$where = ''</span>) : \PDOStatement</pre>
|
||
<p><em>Deletes data from a table</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<tr>
|
||
<td>string</td>
|
||
<td>$table </td>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<td>mixed</td>
|
||
<td>$where </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_getCompiledSelect" name="method_getCompiledSelect" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">getCompiledSelect()</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;">getCompiledSelect(string <span class="argument">$table = ''</span>, boolean <span class="argument">$reset = TRUE</span>) : string</pre>
|
||
<p><em>Returns the generated 'select' sql query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<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_getCompiledInsert" name="method_getCompiledInsert" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">getCompiledInsert()</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;">getCompiledInsert(string <span class="argument">$table</span>, boolean <span class="argument">$reset = TRUE</span>) : string</pre>
|
||
<p><em>Returns the generated 'insert' sql query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<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_getCompiledUpdate" name="method_getCompiledUpdate" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">getCompiledUpdate()</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;">getCompiledUpdate(string <span class="argument">$table = ''</span>, boolean <span class="argument">$reset = TRUE</span>) : string</pre>
|
||
<p><em>Returns the generated 'update' sql query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<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_getCompiledDelete" name="method_getCompiledDelete" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">getCompiledDelete()</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;">getCompiledDelete(string <span class="argument">$table = ''</span>, boolean <span class="argument">$reset = TRUE</span>) : string</pre>
|
||
<p><em>Returns the generated 'delete' sql query</em></p>
|
||
|
||
|
||
<h4>Parameters</h4>
|
||
<table class="table table-condensed table-hover">
|
||
<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_resetQuery" name="method_resetQuery" class="anchor"></a>
|
||
<article class="method">
|
||
<h3 class="public ">resetQuery()</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;">resetQuery() : void</pre>
|
||
<p><em>Clear out the class variables, so the next query can be run</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="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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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>
|
||
<dt>Inherited from</dt>
|
||
<dd><a href="../classes/Query.AbstractQueryBuilder.html"><div class="path-wrapper">\Query\AbstractQueryBuilder</div></a></dd>
|
||
</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">QueryBuilder.php</h3>
|
||
</div>
|
||
<div class="modal-body">
|
||
<pre data-src="../files/Query/QueryBuilder.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>
|