2015-07-17 16:01:41 -04:00
|
|
|
|
<!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="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
|
|
|
|
<link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/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="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
|
|
|
|
|
<![endif]-->
|
|
|
|
|
<script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/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">
|
2015-07-29 16:45:55 -04:00
|
|
|
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">0</span>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="../reports/markers.html">
|
2015-07-29 16:45:55 -04:00
|
|
|
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">1</span>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</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">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-642672957"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
|
|
</div>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div id="namespace-642672957" class="accordion-body collapse in">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
|
|
<div class="accordion" style="margin-bottom: 0">
|
|
|
|
|
<div class="accordion-group">
|
|
|
|
|
<div class="accordion-heading">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-503154077"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<a href="../namespaces/Query.html" style="margin-left: 30px; padding-left: 0">Query</a>
|
|
|
|
|
</div>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div id="namespace-503154077" class="accordion-body collapse ">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
|
|
<div class="accordion" style="margin-bottom: 0">
|
|
|
|
|
<div class="accordion-group">
|
|
|
|
|
<div class="accordion-heading">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1164102775"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<a href="../namespaces/Query.Drivers.html" style="margin-left: 30px; padding-left: 0">Drivers</a>
|
|
|
|
|
</div>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div id="namespace-1164102775" class="accordion-body collapse ">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
|
|
<div class="accordion" style="margin-bottom: 0">
|
|
|
|
|
<div class="accordion-group">
|
|
|
|
|
<div class="accordion-heading">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-185787214"></a>
|
|
|
|
|
<a href="../namespaces/Query.Drivers.Sqlite.html" style="margin-left: 30px; padding-left: 0">Sqlite</a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</div>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div id="namespace-185787214" class="accordion-body collapse ">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<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>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="accordion" style="margin-bottom: 0">
|
|
|
|
|
<div class="accordion-group">
|
|
|
|
|
<div class="accordion-heading">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-945012521"></a>
|
|
|
|
|
<a href="../namespaces/Query.Drivers.Firebird.html" style="margin-left: 30px; padding-left: 0">Firebird</a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</div>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div id="namespace-945012521" class="accordion-body collapse ">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.Drivers.Firebird.SQL.html">SQL</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.Util.html">Util</a></li>
|
|
|
|
|
<li class="class"><a href="../classes/Query.Drivers.Firebird.Driver.html">Driver</a></li>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="accordion" style="margin-bottom: 0">
|
|
|
|
|
<div class="accordion-group">
|
|
|
|
|
<div class="accordion-heading">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1139012929"></a>
|
|
|
|
|
<a href="../namespaces/Query.Drivers.Mysql.html" style="margin-left: 30px; padding-left: 0">Mysql</a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</div>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div id="namespace-1139012929" class="accordion-body collapse ">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<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>
|
|
|
|
|
<li class="class"><a href="../classes/Query.Drivers.Mysql.Driver.html">Driver</a></li>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="accordion" style="margin-bottom: 0">
|
|
|
|
|
<div class="accordion-group">
|
|
|
|
|
<div class="accordion-heading">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1837053701"></a>
|
|
|
|
|
<a href="../namespaces/Query.Drivers.Pdo_firebird.html" style="margin-left: 30px; padding-left: 0">Pdo_firebird</a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</div>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div id="namespace-1837053701" class="accordion-body collapse ">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.Drivers.Pdo_firebird.SQL.html">SQL</a></li>
|
|
|
|
|
<li class="class"><a href="../classes/Query.Drivers.Pdo_firebird.Util.html">Util</a></li>
|
|
|
|
|
<li class="class"><a href="../classes/Query.Drivers.Pdo_firebird.Driver.html">Driver</a></li>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="accordion" style="margin-bottom: 0">
|
|
|
|
|
<div class="accordion-group">
|
|
|
|
|
<div class="accordion-heading">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1823526066"></a>
|
|
|
|
|
<a href="../namespaces/Query.Drivers.Pgsql.html" style="margin-left: 30px; padding-left: 0">Pgsql</a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</div>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div id="namespace-1823526066" class="accordion-body collapse ">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="accordion-inner">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.Drivers.Pgsql.Util.html">Util</a></li>
|
|
|
|
|
<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>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
2015-07-29 16:45:55 -04:00
|
|
|
|
<li class="interface"><a href="../classes/Query.Query_Builder_Interface.html">Query_Builder_Interface</a></li>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<li class="interface"><a href="../classes/Query.Driver_Interface.html">Driver_Interface</a></li>
|
|
|
|
|
<li class="interface"><a href="../classes/Query.SQL_Interface.html">SQL_Interface</a></li>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.Abstract_Util.html">Abstract_Util</a></li>
|
|
|
|
|
<li class="class"><a href="../classes/Query.Abstract_SQL.html">Abstract_SQL</a></li>
|
2015-07-20 15:23:27 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.BadDBDriverException.html">BadDBDriverException</a></li>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.Query_Builder.html">Query_Builder</a></li>
|
2015-07-29 16:45:55 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.Abstract_Query_Builder.html">Abstract_Query_Builder</a></li>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.Abstract_Driver.html">Abstract_Driver</a></li>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<li class="class"><a href="../classes/Query.Connection_Manager.html">Connection_Manager</a></li>
|
|
|
|
|
<li class="class"><a href="../classes/Query.Query_Parser.html">Query_Parser</a></li>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</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>Abstract_Driver</h1>
|
|
|
|
|
<p><em>Base Database class</em></p>
|
|
|
|
|
<p>Extends PDO to simplify cross-database issues</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.Abstract_Driver.html#method___construct" class="">__construct()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method___call" class="">__call()</a><br />
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_last_query" class="">get_last_query()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_set_last_query" class="">set_last_query()</a><br />
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_sql" class="">get_sql()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_util" class="">get_util()</a><br />
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_set_table_prefix" class="">set_table_prefix()</a><br />
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_prepare_query" class="">prepare_query()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_prepare_execute" class="">prepare_execute()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_affected_rows" class="">affected_rows()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_prefix_table" class="">prefix_table()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_quote_table" class="">quote_table()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_quote_ident" class="">quote_ident()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_schemas" class="">get_schemas()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_tables" class="">get_tables()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_dbs" class="">get_dbs()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_views" class="">get_views()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_sequences" class="">get_sequences()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_functions" class="">get_functions()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_procedures" class="">get_procedures()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_triggers" class="">get_triggers()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_system_tables" class="">get_system_tables()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_columns" class="">get_columns()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_fks" class="">get_fks()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_indexes" class="">get_indexes()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_get_types" class="">get_types()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_driver_query" class="">driver_query()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_num_rows" class="">num_rows()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_insert_batch" class="">insert_batch()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method__quote" class="">_quote()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method_truncate" class="">truncate()</a><br />
|
|
|
|
|
</section>
|
|
|
|
|
<section class="span4">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<em>No public properties found</em>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</section>
|
|
|
|
|
<section class="span4">
|
|
|
|
|
<em>No constants found</em>
|
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
<section class="row-fluid protected">
|
|
|
|
|
<section class="span4">
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method__load_sub_classes" class="">_load_sub_classes()</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#method__prefix" class="">_prefix()</a><br />
|
|
|
|
|
</section>
|
|
|
|
|
<section class="span4">
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#property_statement" class="">$statement</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#property_escape_char" class="">$escape_char</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#property_sql" class="">$sql</a><br />
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#property_util" class="">$util</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#property_last_query" class="">$last_query</a><br />
|
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#property_table_prefix" class="">$table_prefix</a><br />
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<a href="../classes/Query.Abstract_Driver.html#property_has_truncate" class="">$has_truncate</a><br />
|
|
|
|
|
</section>
|
|
|
|
|
<section class="span4">
|
|
|
|
|
<em>N/A</em>
|
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
<section class="row-fluid private">
|
|
|
|
|
<section class="span4">
|
|
|
|
|
<em>No private methods found</em>
|
|
|
|
|
</section>
|
|
|
|
|
<section class="span4">
|
|
|
|
|
<em>No private properties found</em>
|
|
|
|
|
</section>
|
|
|
|
|
<section class="span4">
|
|
|
|
|
<em>N/A</em>
|
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<span class="label label-info">abstract</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>File</dt>
|
2015-07-29 16:45:55 -04:00
|
|
|
|
<dd><a href="../files/src.Query.Abstract_Driver.php.html"><div class="path-wrapper">src/Query/Abstract_Driver.php</div></a></dd>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<dt>Package</dt>
|
|
|
|
|
<dd><div class="namespace-wrapper">\Query\Drivers\Drivers</div></dd>
|
|
|
|
|
<dt>Class hierarchy</dt>
|
|
|
|
|
<dd class="hierarchy">
|
|
|
|
|
|
|
|
|
|
<div class="namespace-wrapper">\PDO</div>
|
|
|
|
|
<div class="namespace-wrapper">\Query\Abstract_Driver</div>
|
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</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>
|
|
|
|
|
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div class="row-fluid">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="span8 content class">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a id="property_statement" name="property_statement" class="anchor"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<article class="property">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<h3 class="protected ">$statement</h3>
|
|
|
|
|
<pre class="signature">$statement : \PDOStatement</pre>
|
|
|
|
|
<p><em>Reference to the last executed query</em></p>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Type</h4>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
\PDOStatement
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a id="property_escape_char" name="property_escape_char" class="anchor"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<article class="property">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<h3 class="protected ">$escape_char</h3>
|
|
|
|
|
<pre class="signature">$escape_char : string</pre>
|
|
|
|
|
<p><em>Character to escape identifiers</em></p>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Type</h4>
|
|
|
|
|
string
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a id="property_sql" name="property_sql" class="anchor"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<article class="property">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<h3 class="protected ">$sql</h3>
|
|
|
|
|
<pre class="signature">$sql : \Query\SQL_Interface</pre>
|
|
|
|
|
<p><em>Reference to sql class</em></p>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Type</h4>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a href="../classes/Query.SQL_Interface.html">\Query\SQL_Interface</a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<div class="row-fluid">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<div class="span8 content class">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a id="property_util" name="property_util" class="anchor"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<article class="property">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<h3 class="protected ">$util</h3>
|
|
|
|
|
<pre class="signature">$util : \Query\Abstract_Util</pre>
|
|
|
|
|
<p><em>Reference to util class</em></p>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Type</h4>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a href="../classes/Query.Abstract_Util.html">\Query\Abstract_Util</a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a id="property_last_query" name="property_last_query" class="anchor"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<article class="property">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<h3 class="protected ">$last_query</h3>
|
|
|
|
|
<pre class="signature">$last_query : string</pre>
|
|
|
|
|
<p><em>Last query executed</em></p>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Type</h4>
|
|
|
|
|
string
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a id="property_table_prefix" name="property_table_prefix" class="anchor"></a>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<article class="property">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<h3 class="protected ">$table_prefix</h3>
|
|
|
|
|
<pre class="signature">$table_prefix : string</pre>
|
|
|
|
|
<p><em>Prefix to apply to table names</em></p>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Type</h4>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
string
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="property_has_truncate" name="property_has_truncate" class="anchor"></a>
|
|
|
|
|
<article class="property">
|
|
|
|
|
<h3 class="protected ">$has_truncate</h3>
|
|
|
|
|
<pre class="signature">$has_truncate : bool</pre>
|
|
|
|
|
<p><em>Whether the driver supports 'TRUNCATE'</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Type</h4>
|
|
|
|
|
bool
|
|
|
|
|
</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</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(string <span class="argument">$dsn</span>, string <span class="argument">$username</span>, string <span class="argument">$password</span>, array <span class="argument">$driver_options</span>)</pre>
|
|
|
|
|
<p><em>PDO constructor wrapper</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string</td>
|
|
|
|
|
<td>$dsn</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string</td>
|
|
|
|
|
<td>$username</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string</td>
|
|
|
|
|
<td>$password</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>array</td>
|
|
|
|
|
<td>$driver_options</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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</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">$args</span>) : mixed</pre>
|
|
|
|
|
<p><em>Allow invoke to work on table object</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>$args</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<th>
|
|
|
|
|
codeCoverageIgnore
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a id="method_get_last_query" name="method_get_last_query" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_last_query()</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_last_query() : string</pre>
|
|
|
|
|
<p><em>Get the last sql query exexcuted</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_set_last_query" name="method_set_last_query" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">set_last_query()</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_last_query(string <span class="argument">$query_string</span>) : void</pre>
|
|
|
|
|
<p><em>Set the last query sql</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string</td>
|
|
|
|
|
<td>$query_string</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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<a id="method_get_sql" name="method_get_sql" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_sql()</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_sql() : \Query\SQL_Interface</pre>
|
|
|
|
|
<p><em>Get the SQL class for the current driver</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
<a href="../classes/Query.SQL_Interface.html">\Query\SQL_Interface</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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_util" name="method_get_util" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_util()</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_util() : \Query\Abstract_Util</pre>
|
|
|
|
|
<p><em>Get the Util class for the current driver</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
<a href="../classes/Query.Abstract_Util.html">\Query\Abstract_Util</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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<a id="method_set_table_prefix" name="method_set_table_prefix" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">set_table_prefix()</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_table_prefix(string <span class="argument">$prefix</span>) : void</pre>
|
|
|
|
|
<p><em>Set the common table name prefix</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string</td>
|
|
|
|
|
<td>$prefix</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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<a id="method_prepare_query" name="method_prepare_query" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">prepare_query()</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;">prepare_query(string <span class="argument">$sql</span>, array <span class="argument">$data</span>) : \PDOStatement</pre>
|
|
|
|
|
<p><em>Simplifies prepared statements for database queries</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string</td>
|
|
|
|
|
<td>$sql</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>array</td>
|
|
|
|
|
<td>$data</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<h4>Throws</h4>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>\InvalidArgumentException</dt>
|
|
|
|
|
<dd></dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
\PDOStatement
|
|
|
|
|
— <p>| FALSE</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_prepare_execute" name="method_prepare_execute" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">prepare_execute()</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;">prepare_execute(string <span class="argument">$sql</span>, array <span class="argument">$params</span>) : \PDOStatement</pre>
|
|
|
|
|
<p><em>Create and execute a prepared statement with the provided parameters</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string</td>
|
|
|
|
|
<td>$sql</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>array</td>
|
|
|
|
|
<td>$params</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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_affected_rows" name="method_affected_rows" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">affected_rows()</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;">affected_rows() : int</pre>
|
|
|
|
|
<p><em>Returns number of rows affected by an INSERT, UPDATE, DELETE type query</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
int
|
|
|
|
|
</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_prefix_table" name="method_prefix_table" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">prefix_table()</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;">prefix_table(string <span class="argument">$table</span>) : string</pre>
|
|
|
|
|
<p><em>Prefixes a table if it is not already prefixed</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>
|
|
|
|
|
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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_quote_table" name="method_quote_table" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">quote_table()</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;">quote_table(string <span class="argument">$table</span>) : string</pre>
|
|
|
|
|
<p><em>Quote database table name, and set prefix</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>
|
|
|
|
|
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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_quote_ident" name="method_quote_ident" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">quote_ident()</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;">quote_ident(mixed <span class="argument">$ident</span>) : string</pre>
|
|
|
|
|
<p><em>Surrounds the string with the databases identifier escape characters</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>mixed</td>
|
|
|
|
|
<td>$ident</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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_schemas" name="method_get_schemas" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_schemas()</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_schemas() : array</pre>
|
|
|
|
|
<p><em>Return schemas for databases that list them</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_tables" name="method_get_tables" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_tables()</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_tables() : array</pre>
|
|
|
|
|
<p><em>Return list of tables for the current database</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_dbs" name="method_get_dbs" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_dbs()</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_dbs() : array</pre>
|
|
|
|
|
<p><em>Return list of dbs for the current connection, if possible</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_views" name="method_get_views" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_views()</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_views() : array</pre>
|
|
|
|
|
<p><em>Return list of views for the current database</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_sequences" name="method_get_sequences" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_sequences()</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_sequences() : array</pre>
|
|
|
|
|
<p><em>Return list of sequences for the current database, if they exist</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_functions" name="method_get_functions" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_functions()</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_functions() : array</pre>
|
|
|
|
|
<p><em>Return list of functions for the current database</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_procedures" name="method_get_procedures" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_procedures()</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_procedures() : array</pre>
|
|
|
|
|
<p><em>Return list of stored procedures for the current database</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_triggers" name="method_get_triggers" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_triggers()</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_triggers() : array</pre>
|
|
|
|
|
<p><em>Return list of triggers for the current database</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_system_tables" name="method_get_system_tables" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_system_tables()</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_system_tables() : array</pre>
|
|
|
|
|
<p><em>Retrieves an array of non-user-created tables for
|
|
|
|
|
the connection/database</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_columns" name="method_get_columns" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_columns()</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_columns(string <span class="argument">$table</span>) : array</pre>
|
|
|
|
|
<p><em>Retrieve column information for the current database 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>
|
|
|
|
|
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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_fks" name="method_get_fks" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_fks()</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_fks(string <span class="argument">$table</span>) : array</pre>
|
|
|
|
|
<p><em>Retrieve foreign keys for the 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>
|
|
|
|
|
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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_indexes" name="method_get_indexes" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_indexes()</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_indexes(string <span class="argument">$table</span>) : array</pre>
|
|
|
|
|
<p><em>Retrieve indexes for the 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>
|
|
|
|
|
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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_get_types" name="method_get_types" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">get_types()</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_types() : array</pre>
|
|
|
|
|
<p><em>Retrieve list of data types for the database</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_driver_query" name="method_driver_query" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">driver_query()</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;">driver_query(string|array|null <span class="argument">$query</span>, bool <span class="argument">$filtered_index</span>) : array</pre>
|
|
|
|
|
<p><em>Method to simplify retrieving db results for meta-data queries</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string|array|null</td>
|
|
|
|
|
<td>$query</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>bool</td>
|
|
|
|
|
<td>$filtered_index</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
array
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_num_rows" name="method_num_rows" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">num_rows()</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;">num_rows() : int</pre>
|
|
|
|
|
<p><em>Return the number of rows returned for a SELECT query</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Returns</h4>
|
|
|
|
|
int
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
<aside class="span4 detailsbar">
|
|
|
|
|
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>See also</dt>
|
|
|
|
|
<dd><a href=""><span class="namespace-wrapper"></span></a></dd>
|
|
|
|
|
</dl>
|
|
|
|
|
<h2>Tags</h2>
|
|
|
|
|
<table class="table table-condensed">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_insert_batch" name="method_insert_batch" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">insert_batch()</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>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
<pre class="signature" style="margin-right: 54px;">insert_batch(string <span class="argument">$table</span>, array <span class="argument">$data</span>) : null|\Query\array<string|array|\Query\null></pre>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
<p><em>Create sql for batch insert</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>
|
2015-07-31 10:56:16 -04:00
|
|
|
|
null|\Query\array<string|array|\Query\null>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method__quote" name="method__quote" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">_quote()</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;">_quote(mixed <span class="argument">$str</span>) : mixed</pre>
|
|
|
|
|
<p><em>Helper method for quote_ident</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>mixed</td>
|
|
|
|
|
<td>$str</td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method_truncate" name="method_truncate" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="public ">truncate()</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;">truncate(string <span class="argument">$table</span>) : \PDOStatement</pre>
|
|
|
|
|
<p><em>Empty the passed 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>
|
|
|
|
|
\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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method__load_sub_classes" name="method__load_sub_classes" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="protected ">_load_sub_classes()</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;">_load_sub_classes() : void</pre>
|
|
|
|
|
<p><em>Loads the subclasses for the driver</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>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</aside>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span8 content class">
|
|
|
|
|
<a id="method__prefix" name="method__prefix" class="anchor"></a>
|
|
|
|
|
<article class="method">
|
|
|
|
|
<h3 class="protected ">_prefix()</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;">_prefix(string <span class="argument">$str</span>) : string</pre>
|
|
|
|
|
<p><em>Sets the table prefix on the passed string</em></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4>Parameters</h4>
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>string</td>
|
|
|
|
|
<td>$str</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>
|
|
|
|
|
<th>
|
|
|
|
|
todo
|
|
|
|
|
</th>
|
|
|
|
|
<td>
|
|
|
|
|
</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">Abstract_Driver.php</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2015-07-29 16:45:55 -04:00
|
|
|
|
<pre data-src="../files/src/Query/Abstract_Driver.php.txt" class="language-php line-numbers"></pre>
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</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
|
2015-07-31 10:56:16 -04:00
|
|
|
|
on July 31st, 2015 at 10:55.
|
2015-07-17 16:01:41 -04:00
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
</section>
|
|
|
|
|
</footer>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|