2014-04-15 16:13:18 -04:00
<!DOCTYPE html>
< html lang = "en" >
2012-09-13 11:45:27 -04:00
< head >
2014-04-15 16:13:18 -04:00
< 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" / >
2012-09-13 11:45:27 -04:00
< / head >
< body >
2014-04-15 16:13:18 -04:00
2012-09-13 11:45:27 -04:00
< div class = "navbar navbar-fixed-top" >
2014-04-15 16:13:18 -04:00
< 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" > 0< / span >
< / a >
< / li >
< li >
< a href = "../reports/markers.html" >
< i class = "icon-list-alt" > < / i >   Markers < span class = "label label-info pull-right" > 1< / 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-2088170033" > < / a >
< a href = "../namespaces/default.html" style = "margin-left: 30px; padding-left: 0" > \< / a >
< / div >
< div id = "namespace-2088170033" 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-1958307273" > < / a >
< a href = "../namespaces/Query.html" style = "margin-left: 30px; padding-left: 0" > Query< / a >
< / div >
< div id = "namespace-1958307273" 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-690035220" > < / a >
< a href = "../namespaces/Query.Table.html" style = "margin-left: 30px; padding-left: 0" > Table< / a >
< / div >
< div id = "namespace-690035220" class = "accordion-body collapse " >
< div class = "accordion-inner" >
2013-12-06 23:00:32 -05:00
< ul >
2014-04-15 16:13:18 -04:00
< li class = "class" > < a href = "../classes/Query.Table.Abstract_Table.html" > Abstract_Table< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Table.Table_Builder.html" > Table_Builder< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Table.Table_Foreign_Key.html" > Table_Foreign_Key< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Table.Table_Column.html" > Table_Column< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Table.Table_Index.html" > Table_Index< / 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-1229648768" > < / a >
< a href = "../namespaces/Query.Driver.html" style = "margin-left: 30px; padding-left: 0" > Driver< / a >
< / div >
< div id = "namespace-1229648768" class = "accordion-body collapse " >
< div class = "accordion-inner" >
2013-12-06 23:00:32 -05:00
< ul >
2014-04-15 16:13:18 -04:00
< li class = "interface" > < a href = "../classes/Query.Driver.SQL_Interface.html" > SQL_Interface< / a > < / li >
< li class = "interface" > < a href = "../classes/Query.Driver.Driver_Interface.html" > Driver_Interface< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.Abstract_SQL.html" > Abstract_SQL< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.Firebird_Result.html" > Firebird_Result< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.Firebird_Util.html" > Firebird_Util< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.Firebird.html" > Firebird< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.MySQL_Util.html" > MySQL_Util< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.Abstract_Util.html" > Abstract_Util< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.Abstract_Driver.html" > Abstract_Driver< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.SQLite_Util.html" > SQLite_Util< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.PgSQL_Util.html" > PgSQL_Util< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.PgSQL_SQL.html" > PgSQL_SQL< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.MySQL_SQL.html" > MySQL_SQL< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.Firebird_SQL.html" > Firebird_SQL< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.SQLite.html" > SQLite< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.SQLite_SQL.html" > SQLite_SQL< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.PgSQL.html" > PgSQL< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Driver.MySQL.html" > MySQL< / a > < / li >
< / ul >
< / div >
< / div >
< / div >
< / div >
2013-12-06 23:00:32 -05:00
< ul >
2014-04-15 16:13:18 -04:00
< li class = "interface" > < a href = "../classes/Query.Query_Builder_Interface.html" > Query_Builder_Interface< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Query_Parser.html" > Query_Parser< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Query_Builder.html" > Query_Builder< / a > < / li >
< li class = "class" > < a href = "../classes/Query.BadDBDriverException.html" > BadDBDriverException< / a > < / li >
< li class = "class" > < a href = "../classes/Query.Connection_Manager.html" > Connection_Manager< / a > < / li >
< / ul >
< / div >
< / div >
< / div >
< / div >
2013-12-06 23:00:32 -05:00
< ul >
2014-04-15 16:13:18 -04:00
< / 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 > Query_Builder< / h1 >
< p > < em > Convienience class for creating sql queries - also the class that
instantiates the specific db driver< / 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.Query_Builder.html#method___construct" class = "" > __construct()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method___destruct" class = "" > __destruct()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_select" class = "" > select()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_select_max" class = "" > select_max()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_select_min" class = "" > select_min()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_select_avg" class = "" > select_avg()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_select_sum" class = "" > select_sum()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_distinct" class = "" > distinct()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_explain" class = "" > explain()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_from" class = "" > from()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_like" class = "" > like()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_or_like" class = "" > or_like()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_not_like" class = "" > not_like()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_or_not_like" class = "" > or_not_like()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_having" class = "" > having()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_or_having" class = "" > or_having()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_where" class = "" > where()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_or_where" class = "" > or_where()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_where_in" class = "" > where_in()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_or_where_in" class = "" > or_where_in()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_where_not_in" class = "" > where_not_in()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_or_where_not_in" class = "" > or_where_not_in()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_set" class = "" > set()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_join" class = "" > join()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_group_by" class = "" > group_by()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_order_by" class = "" > order_by()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_limit" class = "" > limit()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_group_start" class = "" > group_start()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_or_group_start" class = "" > or_group_start()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_or_not_group_start" class = "" > or_not_group_start()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_group_end" class = "" > group_end()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_get" class = "" > get()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_get_where" class = "" > get_where()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_count_all" class = "" > count_all()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_count_all_results" class = "" > count_all_results()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_insert" class = "" > insert()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_insert_batch" class = "" > insert_batch()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_update" class = "" > update()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_delete" class = "" > delete()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_get_compiled_select" class = "" > get_compiled_select()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_get_compiled_insert" class = "" > get_compiled_insert()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_get_compiled_update" class = "" > get_compiled_update()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_get_compiled_delete" class = "" > get_compiled_delete()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method_reset_query" class = "" > reset_query()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method___call" class = "" > __call()< / a > < br / >
< / section >
< section class = "span4" >
< a href = "../classes/Query.Query_Builder.html#property_conn_name" class = "" > $conn_name< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_queries" class = "" > $queries< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_db" class = "" > $db< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_util" class = "" > $util< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_sql" class = "" > $sql< / a > < br / >
< / section >
< section class = "span4" >
< em > No constants found< / em >
< / section >
< / section >
< section class = "row-fluid protected" >
< section class = "span4" >
< a href = "../classes/Query.Query_Builder.html#method__select" class = "" > _select()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__like" class = "" > _like()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__having" class = "" > _having()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__where" class = "" > _where()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__where_string" class = "" > _where_string()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__where_in" class = "" > _where_in()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__get_compile" class = "" > _get_compile()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__run" class = "" > _run()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__append_query" class = "" > _append_query()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__append_map" class = "" > _append_map()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__compile_type" class = "" > _compile_type()< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#method__compile" class = "" > _compile()< / a > < br / >
< / section >
< section class = "span4" >
< a href = "../classes/Query.Query_Builder.html#property_select_string" class = "" > $select_string< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_from_string" class = "" > $from_string< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_set_string" class = "" > $set_string< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_order_string" class = "" > $order_string< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_group_string" class = "" > $group_string< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_set_array_keys" class = "" > $set_array_keys< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_order_array" class = "" > $order_array< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_group_array" class = "" > $group_array< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_values" class = "" > $values< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_where_values" class = "" > $where_values< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_limit" class = "" > $limit< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_offset" class = "" > $offset< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_query_map" class = "" > $query_map< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_having_map" class = "" > $having_map< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_explain" class = "" > $explain< / a > < br / >
< a href = "../classes/Query.Query_Builder.html#property_parser" class = "" > $parser< / 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" >
< dl >
< dt > File< / dt >
< dd > < a href = "../files/core.query_builder.php.html" > < div class = "path-wrapper" > core/query_builder.php< / div > < / a > < / dd >
< dt > Package< / dt >
< dd > < div class = "namespace-wrapper" > \Query\Query_Builder\Query_Builder< / div > < / dd >
< dt > Class hierarchy< / dt >
< dd class = "hierarchy" >
< div class = "namespace-wrapper" > \Query\Query_Builder< / 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 >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_conn_name" name = "property_conn_name" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "public " > $conn_name< / h3 >
< pre class = "signature" > $conn_name : string< / pre >
< p > < em > Convenience property for connection management< / em > < / p >
< h4 > Type< / h4 >
string
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_queries" name = "property_queries" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "public " > $queries< / h3 >
< pre class = "signature" > $queries : array< / pre >
< p > < em > List of queries executed< / em > < / p >
< h4 > Type< / h4 >
array
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / 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\Driver\Driver_Interface< / pre >
< p > < em > The current database driver< / em > < / p >
< h4 > Type< / h4 >
< a href = "../classes/Query.Driver.Driver_Interface.html" > \Query\Driver\Driver_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 = "property_util" name = "property_util" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "public " > $util< / h3 >
< pre class = "signature" > $util : \Query\DB_Util< / pre >
< p > < em > Alias to $this-> db-> util< / em > < / p >
< h4 > Type< / h4 >
\Query\DB_Util
< / 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_sql" name = "property_sql" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "public " > $sql< / h3 >
< pre class = "signature" > $sql : \Query\SQL_Interface< / pre >
< p > < em > Alias to $this-> db-> sql< / em > < / p >
< h4 > Type< / h4 >
\Query\SQL_Interface
< / 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_select_string" name = "property_select_string" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $select_string< / h3 >
< pre class = "signature" > $select_string : \Query\type< / pre >
< p > < em > Compiled ' select' clause< / em > < / p >
< h4 > Type< / h4 >
\Query\type
— 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 = "property_from_string" name = "property_from_string" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $from_string< / h3 >
< pre class = "signature" > $from_string : \Query\type< / pre >
< p > < em > Compiled ' from' clause< / em > < / p >
< h4 > Type< / h4 >
\Query\type
— 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 = "property_set_string" name = "property_set_string" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $set_string< / h3 >
< pre class = "signature" > $set_string : string< / pre >
< p > < em > Compiled arguments for insert / update< / em > < / p >
< h4 > Type< / h4 >
string
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_order_string" name = "property_order_string" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $order_string< / h3 >
< pre class = "signature" > $order_string : string< / pre >
< p > < em > Order by clause< / em > < / p >
< h4 > Type< / h4 >
string
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_group_string" name = "property_group_string" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $group_string< / h3 >
< pre class = "signature" > $group_string : string< / pre >
< p > < em > Group by clause< / em > < / p >
< h4 > Type< / h4 >
string
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_set_array_keys" name = "property_set_array_keys" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $set_array_keys< / h3 >
< pre class = "signature" > $set_array_keys : array< / pre >
< p > < em > Keys for insert/update statement< / em > < / p >
< h4 > Type< / h4 >
array
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_order_array" name = "property_order_array" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $order_array< / h3 >
< pre class = "signature" > $order_array : array< / pre >
< p > < em > Key/val pairs for order by clause< / em > < / p >
< h4 > Type< / h4 >
array
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_group_array" name = "property_group_array" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $group_array< / h3 >
< pre class = "signature" > $group_array : array< / pre >
< p > < em > Key/val pairs for group by clause< / em > < / p >
< h4 > Type< / h4 >
array
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_values" name = "property_values" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $values< / h3 >
< pre class = "signature" > $values : array< / pre >
< p > < em > Values to apply to prepared statements< / em > < / p >
< h4 > Type< / h4 >
array
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_where_values" name = "property_where_values" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $where_values< / h3 >
< pre class = "signature" > $where_values : array< / pre >
< p > < em > Values to apply to where clauses in prepared statements< / em > < / p >
< h4 > Type< / h4 >
array
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / 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 : \Query\type< / pre >
< p > < em > Value for limit string< / em > < / p >
< h4 > Type< / h4 >
\Query\type
— 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 = "property_offset" name = "property_offset" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $offset< / h3 >
< pre class = "signature" > $offset : int< / pre >
< p > < em > Value for offset in limit string< / em > < / p >
< h4 > Type< / 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 = "property_query_map" name = "property_query_map" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $query_map< / h3 >
< pre class = "signature" > $query_map : array< / pre >
< p > < em > Query component order mapping
for complex select queries< / em > < / p >
< p > Format:
array(< / p >
< pre > < code > 'type' => 'where',
'conjunction' => ' AND ',
'string' => 'k=?'< / code > < / pre >
< p > )< / 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 >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_having_map" name = "property_having_map" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $having_map< / h3 >
< pre class = "signature" > $having_map : array< / pre >
< p > < em > Map for having clause< / em > < / p >
< h4 > Type< / h4 >
array
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / 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 : bool< / pre >
< p > < em > Whether to do only an explain on the query< / 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 >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "property_parser" name = "property_parser" class = "anchor" > < / a >
< article class = "property" >
< h3 class = "protected " > $parser< / h3 >
< pre class = "signature" > $parser : \Query\Query_Parser< / pre >
< p > < em > Query parser class instance< / em > < / p >
< h4 > Type< / h4 >
< a href = "../classes/Query.Query_Parser.html" > \Query\Query_Parser< / 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 >
< 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\Driver\Driver_Interface < span class = "argument" > $db< / span > )< / pre >
< p > < em > Constructor< / em > < / p >
< h4 > Parameters< / h4 >
< table class = "table table-condensed table-hover" >
< tr >
< td > < a href = "../classes/Query.Driver.Driver_Interface.html" > \Query\Driver\Driver_Interface< / a > < / td >
< td > $db< / 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___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 >
< tr >
< th >
todo
< / th >
< td >
< / 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\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_select_max" name = "method_select_max" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > select_max()< / 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_max(string < span class = "argument" > $field< / span > , string < span class = "argument" > $as< / span > ) : \Query\Query_Builder< / 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< / td >
< td > $as< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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_select_min" name = "method_select_min" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > select_min()< / 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_min(string < span class = "argument" > $field< / span > , string < span class = "argument" > $as< / span > ) : \Query\Query_Builder< / 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< / td >
< td > $as< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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_select_avg" name = "method_select_avg" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > select_avg()< / 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_avg(string < span class = "argument" > $field< / span > , string < span class = "argument" > $as< / span > ) : \Query\Query_Builder< / 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< / td >
< td > $as< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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_select_sum" name = "method_select_sum" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > select_sum()< / 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_sum(string < span class = "argument" > $field< / span > , string < span class = "argument" > $as< / span > ) : \Query\Query_Builder< / 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< / td >
< td > $as< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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_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\Query_Builder< / pre >
< p > < em > Adds the ' distinct' keyword to a query< / em > < / p >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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_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\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_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< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_or_like" name = "method_or_like" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > or_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;" > or_like(string < span class = "argument" > $field< / span > , mixed < span class = "argument" > $val< / span > , string < span class = "argument" > $pos< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_not_like" name = "method_not_like" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > not_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;" > not_like(string < span class = "argument" > $field< / span > , mixed < span class = "argument" > $val< / span > , string < span class = "argument" > $pos< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_or_not_like" name = "method_or_not_like" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > or_not_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;" > or_not_like(string < span class = "argument" > $field< / span > , mixed < span class = "argument" > $val< / span > , string < span class = "argument" > $pos< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_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< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_or_having" name = "method_or_having" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > or_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;" > or_having(mixed < span class = "argument" > $key< / span > , mixed < span class = "argument" > $val< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_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< / span > , mixed < span class = "argument" > $escape< / span > ) : \Query\Query_Builder< / pre >
< p > < em > Specify condition(s) in the where clause of a query
2012-09-13 11:45:27 -04:00
Note: this function works with key / value, or a
2014-04-15 16:13:18 -04:00
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.Query_Builder.html" > \Query\Query_Builder< / 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_or_where" name = "method_or_where" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > or_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;" > or_where(string < span class = "argument" > $key< / span > , mixed < span class = "argument" > $val< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_where_in" name = "method_where_in" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > where_in()< / 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_in(mixed < span class = "argument" > $field< / span > , mixed < span class = "argument" > $val< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_or_where_in" name = "method_or_where_in" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > or_where_in()< / 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;" > or_where_in(string < span class = "argument" > $field< / span > , mixed < span class = "argument" > $val< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_where_not_in" name = "method_where_not_in" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > where_not_in()< / 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_not_in(string < span class = "argument" > $field< / span > , mixed < span class = "argument" > $val< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_or_where_not_in" name = "method_or_where_not_in" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > or_where_not_in()< / 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;" > or_where_not_in(string < span class = "argument" > $field< / span > , mixed < span class = "argument" > $val< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_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< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_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\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_group_by" name = "method_group_by" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > group_by()< / 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;" > group_by(mixed < span class = "argument" > $field< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_order_by" name = "method_order_by" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > order_by()< / 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;" > order_by(string < span class = "argument" > $field< / span > , string < span class = "argument" > $type< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_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(int < span class = "argument" > $limit< / span > , int < span class = "argument" > $offset< / span > ) : \Query\Query_Builder< / 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 > int< / td >
< td > $limit< / td >
< td > < / td >
< / tr >
< tr >
< td > int< / td >
< td > $offset< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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_group_start" name = "method_group_start" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > group_start()< / 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;" > group_start() : \Query\Query_Builder< / pre >
< p > < em > Adds a paren to the current query for query grouping< / em > < / p >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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_or_group_start" name = "method_or_group_start" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > or_group_start()< / 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;" > or_group_start() : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_or_not_group_start" name = "method_or_not_group_start" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > or_not_group_start()< / 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;" > or_not_group_start() : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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_group_end" name = "method_group_end" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > group_end()< / 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;" > group_end() : \Query\Query_Builder< / pre >
< p > < em > Ends a query group< / em > < / p >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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" 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(mixed < span class = "argument" > $table< / span > , int < span class = "argument" > $limit< / span > , int < span class = "argument" > $offset< / span > ) : \Query\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 > mixed< / td >
< td > $table< / td >
< td > < / td >
< / tr >
< tr >
< td > int< / td >
< td > $limit< / td >
< td > < / td >
< / tr >
< tr >
< td > int< / td >
< td > $offset< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
\Query\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_get_where" name = "method_get_where" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > get_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;" > get_where(string < span class = "argument" > $table< / span > , array < span class = "argument" > $where< / span > , int < span class = "argument" > $limit< / span > , int < span class = "argument" > $offset< / span > ) : \Query\PDOStatement< / pre >
< p > < em > Convience 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 > int< / td >
< td > $limit< / td >
< td > < / td >
< / tr >
< tr >
< td > int< / td >
< td > $offset< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
\Query\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_count_all" name = "method_count_all" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > count_all()< / 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;" > count_all(string < span class = "argument" > $table< / span > ) : int< / pre >
< p > < em > Retreive 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 >
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_count_all_results" name = "method_count_all_results" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > count_all_results()< / 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;" > count_all_results(string < span class = "argument" > $table< / span > ) : int< / 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 >
< / table >
< 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_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< / span > ) : \Query\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 >
\Query\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_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 >
< pre class = "signature" style = "margin-right: 54px;" > insert_batch(string < span class = "argument" > $table< / span > , array < span class = "argument" > $data< / span > ) : \Query\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 >
\Query\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_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< / span > ) : \Query\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 >
\Query\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_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 > ) : \Query\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 >
\Query\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_get_compiled_select" name = "method_get_compiled_select" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > get_compiled_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;" > get_compiled_select(string < span class = "argument" > $table< / span > , bool < span class = "argument" > $reset< / 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 > bool< / 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 >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "method_get_compiled_insert" name = "method_get_compiled_insert" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > get_compiled_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;" > get_compiled_insert(string < span class = "argument" > $table< / span > , bool < span class = "argument" > $reset< / 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 > bool< / 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 >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "method_get_compiled_update" name = "method_get_compiled_update" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > get_compiled_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;" > get_compiled_update(string < span class = "argument" > $table< / span > , bool < span class = "argument" > $reset< / 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 > bool< / 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 >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "method_get_compiled_delete" name = "method_get_compiled_delete" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > get_compiled_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;" > get_compiled_delete(string < span class = "argument" > $table< / span > , bool < span class = "argument" > $reset< / 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 > bool< / 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 >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "method_reset_query" name = "method_reset_query" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "public " > reset_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;" > reset_query() : 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 >
< 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" > $params< / span > ) : mixed< / pre >
< p > < em > Calls a function further down the inheritence 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 > \Query\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 >
< th >
todo
< / th >
< td >
< / 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 < span class = "argument" > $as< / 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< / td >
< td > $as< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
string
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / 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< / span > , string < span class = "argument" > $conj< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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__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< / span > , string < span class = "argument" > $conj< / span > ) : \Query\Query_Builder< / 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.Query_Builder.html" > \Query\Query_Builder< / 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__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< / span > ) : array< / pre >
< p > < em > Do all the repeditive stuff for where/having type methods< / em > < / p >
< h4 > Parameters< / h4 >
< table class = "table table-condensed table-hover" >
< tr >
< td > mixed< / td >
< td > $key< / td >
< td > < / td >
< / tr >
< tr >
< td > mixed< / td >
< td > $val< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
array
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "method__where_string" name = "method__where_string" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "protected " > _where_string()< / 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_string(mixed < span class = "argument" > $key< / span > , mixed < span class = "argument" > $val< / span > , string < span class = "argument" > $conj< / span > ) : \Query\Query_Builder< / 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 > $conj< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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__where_in" name = "method__where_in" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "protected " > _where_in()< / 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_in(mixed < span class = "argument" > $key< / span > , mixed < span class = "argument" > $val< / span > , string < span class = "argument" > $in< / span > , string < span class = "argument" > $conj< / span > ) : \Query\Query_Builder< / 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 >
2013-12-06 23:00:32 -05:00
< li > The (not) in fragment< / li >
2014-04-15 16:13:18 -04:00
< / ul > < / td >
< / tr >
< tr >
< td > string< / td >
< td > $conj< / td >
< td > < ul >
2013-12-06 23:00:32 -05:00
< li > The where in conjunction< / li >
2014-04-15 16:13:18 -04:00
< / ul > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
< a href = "../classes/Query.Query_Builder.html" > \Query\Query_Builder< / 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_compile" name = "method__get_compile" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "protected " > _get_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;" > _get_compile(string < span class = "argument" > $type< / span > , string < span class = "argument" > $table< / span > , bool < span class = "argument" > $reset< / span > )< / 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 > bool< / td >
< td > $reset< / 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 >
resturn
< / th >
< td >
< p > string< / p >
< / td >
< / tr >
< tr >
< th >
todo
< / th >
< td >
< / 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< / span > , array|null < span class = "argument" > $vals< / span > ) : \Query\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 >
< / table >
< h4 > Returns< / h4 >
\Query\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__append_query" name = "method__append_query" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "protected " > _append_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;" > _append_query(array < span class = "argument" > $vals< / span > , string < span class = "argument" > $sql< / span > , string < span class = "argument" > $total_time< / 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 > string< / td >
< td > $total_time< / 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__append_map" name = "method__append_map" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "protected " > _append_map()< / 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;" > _append_map(string < span class = "argument" > $conjunction< / span > , string < span class = "argument" > $string< / span > , string < span class = "argument" > $type< / span > ) : void< / pre >
< p > < em > Add an additional set of mapping pairs to a internal map< / em > < / p >
< h4 > Parameters< / h4 >
< table class = "table table-condensed table-hover" >
< tr >
< td > string< / td >
< td > $conjunction< / td >
< td > < / td >
< / tr >
< tr >
< td > string< / td >
< td > $string< / td >
< td > < / td >
< / tr >
< tr >
< td > string< / td >
< td > $type< / td >
< td > < / td >
< / tr >
< / table >
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / td >
< / tr >
< / table >
< / aside >
< / div >
< div class = "row-fluid" >
< div class = "span8 content class" >
< a id = "method__compile_type" name = "method__compile_type" class = "anchor" > < / a >
< article class = "method" >
< h3 class = "protected " > _compile_type()< / 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_type(string < span class = "argument" > $type< / span > , string < span class = "argument" > $table< / span > ) : string< / pre >
< p > < em > Sub-method for generating sql strings< / em > < / p >
< h4 > Parameters< / h4 >
< table class = "table table-condensed table-hover" >
< tr >
< td > string< / td >
< td > $type< / td >
< td > < / td >
< / tr >
< tr >
< td > string< / td >
< td > $table< / td >
< td > < / td >
< / tr >
< / table >
< h4 > Returns< / h4 >
string
< / article >
< / div >
< aside class = "span4 detailsbar" >
< h1 > < i class = "icon-arrow-down" > < / i > < / h1 >
< dl >
< / dl >
< h2 > Tags< / h2 >
< table class = "table table-condensed" >
< tr >
< th >
todo
< / th >
< td >
< / 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 > ) : \Query\$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 >
\Query\$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" > query_builder.php< / h3 >
< / div >
< div class = "modal-body" >
< pre data-src = "../files/core/query_builder.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 April 15th, 2014 at 16:12.
< / section >
< / section >
< / section >
< / footer >
< / div >
2012-09-13 11:45:27 -04:00
< / body >
< / html >