2018-01-24 15:31:27 -05:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<!DOCTYPE html SYSTEM "about:legacy-compat">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<title>phpDox - Query\QueryBuilder::where</title>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen"/>
|
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<nav class="topnav">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="logo"><span>/**</span>phpDox</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../index.html">Overview</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../namespaces.html">Namespaces</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../../interfaces.html">Interfaces</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../../classes.html">Classes</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../source/index.html">Source</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
<div id="mainstage">
|
|
|
|
|
<div class="box">
|
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../../index.html">Overview</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../classes.html">Classes</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a href="../../classes.html#Query">Query</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">
|
|
|
|
|
<a title="Query\QueryBuilder" href="../../classes/Query_QueryBuilder.html">QueryBuilder</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="separator">where</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<nav class="box">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#introduction">Introduction</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#synopsis">Synopsis</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#parameter">Parameter</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#return">Return</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#interface">Interface</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<a href="#tests">Tests</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../../source/QueryBuilder.php.html#line367">Source</a>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
<section>
|
|
|
|
|
<h1><small>Query\QueryBuilder::</small>where</h1>
|
|
|
|
|
<h4>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</h4>
|
|
|
|
|
<p/>
|
|
|
|
|
<ul/>
|
|
|
|
|
<h2 id="signature">Signature</h2>
|
|
|
|
|
<div class="styled synopsis">
|
|
|
|
|
<code>public function where(mixed
|
|
|
|
|
$key,
|
|
|
|
|
[array
|
|
|
|
|
$val = ,
|
|
|
|
|
[mixed
|
|
|
|
|
$escape = NULL]] )
|
|
|
|
|
</code>
|
|
|
|
|
</div>
|
|
|
|
|
<h2 id="parameterlist">Parameters</h2>
|
|
|
|
|
<dl class="styled">
|
|
|
|
|
<dt><code>$key</code>
|
|
|
|
|
—
|
|
|
|
|
mixed</dt>
|
|
|
|
|
<dd/>
|
|
|
|
|
<dt><code>$val</code>
|
|
|
|
|
—
|
|
|
|
|
array</dt>
|
|
|
|
|
<dd/>
|
|
|
|
|
<dt><code>$escape</code>
|
|
|
|
|
—
|
|
|
|
|
mixed</dt>
|
|
|
|
|
<dd/>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2 id="return">Returns</h2>
|
|
|
|
|
<dl class="styled">
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<dt>QueryBuilder</dt>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
<dd><br/>
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2 id="interface">Defined by Interface</h2>
|
|
|
|
|
<p class="styled">
|
|
|
|
|
<code>
|
|
|
|
|
<a title="Query\QueryBuilderInterface" href="../../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
|
|
|
|
|
</code>
|
|
|
|
|
</p>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<h2 id="tests">Test Coverage</h2>
|
|
|
|
|
<div class="styled">
|
|
|
|
|
<h3>Information</h3>
|
|
|
|
|
<ul class="styled">
|
|
|
|
|
<li>Coverage: / Lines (%)</li>
|
|
|
|
|
<li>Tests: 0</li>
|
|
|
|
|
<li>Passed: 0 (0%)</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
<footer>
|
2019-12-11 16:09:58 -05:00
|
|
|
|
<span>Generated using phpDox 0.12.0-dev - Copyright (C) 2010 - 2019 by Arne Blankerts and Contributors</span>
|
2018-01-24 15:31:27 -05:00
|
|
|
|
</footer>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|