6771 lines
337 KiB
XML
6771 lines
337 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project title="Query" version="2.2.0 ">
|
|
<partials/>
|
|
<file path="classes/idb_sql.php" generated-path="classes.idb_sql.html" hash="3941cb8124ece2cc00caaf6ff3b40707" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
<tag name="package" line="0" description="Query"/>
|
|
</docblock>
|
|
<interface namespace="" line="22" package="Query\Query">
|
|
<name>iDB_SQL</name>
|
|
<full_name>\iDB_SQL</full_name>
|
|
<docblock line="22">
|
|
<description>parent for database manipulation subclasses</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Query"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="33" package="Query\Query">
|
|
<name>limit</name>
|
|
<full_name>\iDB_SQL::limit()</full_name>
|
|
<docblock line="33">
|
|
<description>Get database specific sql for limit clause</description>
|
|
<long-description></long-description>
|
|
<tag name="abstract" line="33" description=""/>
|
|
<tag name="param" line="33" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="33" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="33" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="33" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="41" package="Query\Query">
|
|
<name>explain</name>
|
|
<full_name>\iDB_SQL::explain()</full_name>
|
|
<docblock line="41">
|
|
<description>Modify the query to get the query plan</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="41" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="41" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="49" package="Query\Query">
|
|
<name>random</name>
|
|
<full_name>\iDB_SQL::random()</full_name>
|
|
<docblock line="49">
|
|
<description>Get the sql for random ordering</description>
|
|
<long-description></long-description>
|
|
<tag name="abstract" line="49" description=""/>
|
|
<tag name="return" line="49" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="56" package="Query\Query">
|
|
<name>db_list</name>
|
|
<full_name>\iDB_SQL::db_list()</full_name>
|
|
<docblock line="56">
|
|
<description>Returns sql to list other databases</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="56" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="63" package="Query\Query">
|
|
<name>table_list</name>
|
|
<full_name>\iDB_SQL::table_list()</full_name>
|
|
<docblock line="63">
|
|
<description>Returns sql to list tables</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="63" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="70" package="Query\Query">
|
|
<name>system_table_list</name>
|
|
<full_name>\iDB_SQL::system_table_list()</full_name>
|
|
<docblock line="70">
|
|
<description>Returns sql to list system tables</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="70" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="77" package="Query\Query">
|
|
<name>view_list</name>
|
|
<full_name>\iDB_SQL::view_list()</full_name>
|
|
<docblock line="77">
|
|
<description>Returns sql to list views</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="77" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="84" package="Query\Query">
|
|
<name>trigger_list</name>
|
|
<full_name>\iDB_SQL::trigger_list()</full_name>
|
|
<docblock line="84">
|
|
<description>Returns sql to list triggers</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="84" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="91" package="Query\Query">
|
|
<name>function_list</name>
|
|
<full_name>\iDB_SQL::function_list()</full_name>
|
|
<docblock line="91">
|
|
<description>Return sql to list functions</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="91" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="98" package="Query\Query">
|
|
<name>procedure_list</name>
|
|
<full_name>\iDB_SQL::procedure_list()</full_name>
|
|
<docblock line="98">
|
|
<description>Return sql to list stored procedures</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="98" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="105" package="Query\Query">
|
|
<name>sequence_list</name>
|
|
<full_name>\iDB_SQL::sequence_list()</full_name>
|
|
<docblock line="105">
|
|
<description>Return sql to list sequences</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="105" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="112" package="Query\Query">
|
|
<name>type_list</name>
|
|
<full_name>\iDB_SQL::type_list()</full_name>
|
|
<docblock line="112">
|
|
<description>Return sql to list database field types</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="112" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="121" package="Query\Query">
|
|
<name>column_list</name>
|
|
<full_name>\iDB_SQL::column_list()</full_name>
|
|
<docblock line="121">
|
|
<description>Get information about the columns in the
|
|
specified table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="121" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="121" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
</interface>
|
|
<source>eJytVU1v00AQPdu/Yg49pFGbhaonPkRb2iKhgFQK4lit12N7FXvX3Y9SC/HfGa/tmJBEchC5ZD2e997M293xm3d1UcdsPo9hDnceTUOLdn1rELsAXHlZpmiAwTV3POEW4TKxznDhpFaw5A2aHnXBvSu0iaKvstKuaODjAr5zY1CFt0LXjZF54aL3wwpm4hjOXrw8g9P27zzklVKtIIoK52r7irFcusInC6Erxp8kd+cky4Zi22yBymKXT+l1IUvrvMlRKwIt/IoJnSJLE56e9skBWHOx4jkBBy4Wx4zB6X/7xYOzNScLHGTaQDp4WHEla1/yYKL1iSi5tWgHJ/viYOyTcv4OslgqhybjAkFeXz3c3y3hZxxHrWxEmA/oRkFbo5CZFGAfy1BKKSvpgHQ9GULpAXLB+73tnqhyXgFFpMrhiJB/hkkcjgLLVlRnmcU+bJB2Q/UkbYjFUe0T2grIvOpOUWCZtQInPeXJQPL29nJ5f3P8Oo7Gxj7pVGYNuALhMRxSpyGnZsdAXXI1NrWnjSmV4TNRSRVqoyI2zW31BjsNV6muQBu6LD3dLkenaHZUs82evwSgDXrUbimtA7pkOJ4pO2pOUUmTh5ZkttHVLhViLw8lD5iJ/LaxDqt/kumgD4eoPUn8caBKC5nqFY21HM2hbnWovRobEgNqW+Pzt+Vyj8KwmCZhnTaYQm20wNSbQ3dljZuohnRnlTh473vYWmTrsmyorAdhJrFMwTX1DsFKPmO6b5MIsUurHQRS0QioumHOE+270SB06Ss6IFKFx5Ddj2FyNxzafTNq/XKaF51SV12HbU3/1X7PblQKOmtvO7mxoO/9b8/mZ+I=</source>
|
|
</file>
|
|
<file path="classes/iquery_builder.php" generated-path="classes.iquery_builder.html" hash="961f4a0851f221cb23a4feaf12bd93c1" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<interface namespace="" line="22" package="Query\Query">
|
|
<name>iQuery_Builder</name>
|
|
<full_name>\iQuery_Builder</full_name>
|
|
<docblock line="22">
|
|
<description>Interface defining the Query Builder class</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Query"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="34" package="Query\Query">
|
|
<name>select</name>
|
|
<full_name>\iQuery_Builder::select()</full_name>
|
|
<docblock line="34">
|
|
<description>Specifies rows to select in a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="34" description="" type="string" variable="$fields">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="34" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$fields</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="45" package="Query\Query">
|
|
<name>select_max</name>
|
|
<full_name>\iQuery_Builder::select_max()</full_name>
|
|
<docblock line="45">
|
|
<description>Selects the maximum value of a field from a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="45" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="45" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="45" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="56" package="Query\Query">
|
|
<name>select_min</name>
|
|
<full_name>\iQuery_Builder::select_min()</full_name>
|
|
<docblock line="56">
|
|
<description>Selects the minimum value of a field from a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="56" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="56" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="56" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="67" package="Query\Query">
|
|
<name>select_avg</name>
|
|
<full_name>\iQuery_Builder::select_avg()</full_name>
|
|
<docblock line="67">
|
|
<description>Selects the average value of a field from a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="67" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="67" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="67" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="78" package="Query\Query">
|
|
<name>select_sum</name>
|
|
<full_name>\iQuery_Builder::select_sum()</full_name>
|
|
<docblock line="78">
|
|
<description>Selects the sum of a field from a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="78" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="78" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="78" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="87" package="Query\Query">
|
|
<name>distinct</name>
|
|
<full_name>\iQuery_Builder::distinct()</full_name>
|
|
<docblock line="87">
|
|
<description>Adds the 'distinct' keyword to a query</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="87" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="96" package="Query\Query">
|
|
<name>explain</name>
|
|
<full_name>\iQuery_Builder::explain()</full_name>
|
|
<docblock line="96">
|
|
<description>Shows the query plan for the query</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="96" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="106" package="Query\Query">
|
|
<name>from</name>
|
|
<full_name>\iQuery_Builder::from()</full_name>
|
|
<docblock line="106">
|
|
<description>Specify the database table to select from</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="106" description="" type="string" variable="$tblname">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="106" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$tblname</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="120" package="Query\Query">
|
|
<name>like</name>
|
|
<full_name>\iQuery_Builder::like()</full_name>
|
|
<docblock line="120">
|
|
<description>Creates a Like clause in the sql statement</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="120" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="120" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="120" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="120" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default>'both'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="132" package="Query\Query">
|
|
<name>or_like</name>
|
|
<full_name>\iQuery_Builder::or_like()</full_name>
|
|
<docblock line="132">
|
|
<description>Generates an OR Like clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="132" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="132" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="132" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="132" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default>'both'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="144" package="Query\Query">
|
|
<name>not_like</name>
|
|
<full_name>\iQuery_Builder::not_like()</full_name>
|
|
<docblock line="144">
|
|
<description>Generates a NOT LIKE clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="144" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="144" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="144" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="144" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default>'both'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="156" package="Query\Query">
|
|
<name>or_not_like</name>
|
|
<full_name>\iQuery_Builder::or_not_like()</full_name>
|
|
<docblock line="156">
|
|
<description>Generates a OR NOT LIKE clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="156" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="156" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="156" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="156" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default>'both'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="169" package="Query\Query">
|
|
<name>having</name>
|
|
<full_name>\iQuery_Builder::having()</full_name>
|
|
<docblock line="169">
|
|
<description>Generates a 'Having' clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="169" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="169" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="169" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="180" package="Query\Query">
|
|
<name>or_having</name>
|
|
<full_name>\iQuery_Builder::or_having()</full_name>
|
|
<docblock line="180">
|
|
<description>Generates a 'Having' clause prefixed with 'OR'</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="180" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="180" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="180" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="196" package="Query\Query">
|
|
<name>where</name>
|
|
<full_name>\iQuery_Builder::where()</full_name>
|
|
<docblock line="196">
|
|
<description>Specify condition(s) in the where clause of a query
|
|
Note: this function works with key / value, or a
|
|
passed array with key / value pairs</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="196" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="196" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="196" description="" type="bool" variable="$escape">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="196" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$escape</name>
|
|
<default>NULL</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="207" package="Query\Query">
|
|
<name>or_where</name>
|
|
<full_name>\iQuery_Builder::or_where()</full_name>
|
|
<docblock line="207">
|
|
<description>Where clause prefixed with "OR"</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="207" description="" type="string" variable="$key">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="207" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="207" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="218" package="Query\Query">
|
|
<name>where_in</name>
|
|
<full_name>\iQuery_Builder::where_in()</full_name>
|
|
<docblock line="218">
|
|
<description>Where clause with 'IN' statement</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="218" description="" type="mixed" variable="$field">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="218" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="218" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="229" package="Query\Query">
|
|
<name>or_where_in</name>
|
|
<full_name>\iQuery_Builder::or_where_in()</full_name>
|
|
<docblock line="229">
|
|
<description>Where in statement prefixed with "or"</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="229" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="229" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="229" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="240" package="Query\Query">
|
|
<name>where_not_in</name>
|
|
<full_name>\iQuery_Builder::where_not_in()</full_name>
|
|
<docblock line="240">
|
|
<description>WHERE NOT IN (FOO) clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="240" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="240" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="240" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="251" package="Query\Query">
|
|
<name>or_where_not_in</name>
|
|
<full_name>\iQuery_Builder::or_where_not_in()</full_name>
|
|
<docblock line="251">
|
|
<description>OR WHERE NOT IN (FOO) clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="251" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="251" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="251" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="264" package="Query\Query">
|
|
<name>set</name>
|
|
<full_name>\iQuery_Builder::set()</full_name>
|
|
<docblock line="264">
|
|
<description>Sets values for inserts / updates / deletes</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="264" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="264" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="264" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="276" package="Query\Query">
|
|
<name>join</name>
|
|
<full_name>\iQuery_Builder::join()</full_name>
|
|
<docblock line="276">
|
|
<description>Creates a join phrase in a compiled query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="276" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="276" description="" type="string" variable="$condition">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="276" description="" type="string" variable="$type">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="276" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$condition</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="286" package="Query\Query">
|
|
<name>group_by</name>
|
|
<full_name>\iQuery_Builder::group_by()</full_name>
|
|
<docblock line="286">
|
|
<description>Group the results by the selected field(s)</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="286" description="" type="mixed" variable="$field">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="286" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="297" package="Query\Query">
|
|
<name>order_by</name>
|
|
<full_name>\iQuery_Builder::order_by()</full_name>
|
|
<docblock line="297">
|
|
<description>Order the results by the selected field(s)</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="297" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="297" description="" type="string" variable="$type">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="297" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default>""</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="308" package="Query\Query">
|
|
<name>limit</name>
|
|
<full_name>\iQuery_Builder::limit()</full_name>
|
|
<docblock line="308">
|
|
<description>Set a limit on the current sql statement</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="308" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="308" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="308" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="319" package="Query\Query">
|
|
<name>group_start</name>
|
|
<full_name>\iQuery_Builder::group_start()</full_name>
|
|
<docblock line="319">
|
|
<description>Adds a paren to the current query for query grouping</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="319" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="329" package="Query\Query">
|
|
<name>or_group_start</name>
|
|
<full_name>\iQuery_Builder::or_group_start()</full_name>
|
|
<docblock line="329">
|
|
<description>Adds a paren to the current query for query grouping,
|
|
prefixed with 'OR'</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="329" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="339" package="Query\Query">
|
|
<name>or_not_group_start</name>
|
|
<full_name>\iQuery_Builder::or_not_group_start()</full_name>
|
|
<docblock line="339">
|
|
<description>Adds a paren to the current query for query grouping,
|
|
prefixed with 'OR NOT'</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="339" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="348" package="Query\Query">
|
|
<name>group_end</name>
|
|
<full_name>\iQuery_Builder::group_end()</full_name>
|
|
<docblock line="348">
|
|
<description>Ends a query group</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="348" description="" type="\iQuery_Builder">
|
|
<type>\iQuery_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="363" package="Query\Query">
|
|
<name>get</name>
|
|
<full_name>\iQuery_Builder::get()</full_name>
|
|
<docblock line="363">
|
|
<description>Select and retrieve all records from the current table, and/or
|
|
execute current compiled query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="363" description="" type="" variable="$table"/>
|
|
<tag name="param" line="363" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="363" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="363" description="" type="object">
|
|
<type>object</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="376" package="Query\Query">
|
|
<name>get_where</name>
|
|
<full_name>\iQuery_Builder::get_where()</full_name>
|
|
<docblock line="376">
|
|
<description>Convience method for get() with a where clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="376" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="376" description="" type="array" variable="$where">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="376" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="376" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="376" description="" type="object">
|
|
<type>object</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$where</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="386" package="Query\Query">
|
|
<name>count_all</name>
|
|
<full_name>\iQuery_Builder::count_all()</full_name>
|
|
<docblock line="386">
|
|
<description>Retreive the number of rows in the selected table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="386" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="386" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="397" package="Query\Query">
|
|
<name>count_all_results</name>
|
|
<full_name>\iQuery_Builder::count_all_results()</full_name>
|
|
<docblock line="397">
|
|
<description>Retrieve the number of results for the generated query - used
|
|
in place of the get() method</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="397" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="397" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="408" package="Query\Query">
|
|
<name>insert</name>
|
|
<full_name>\iQuery_Builder::insert()</full_name>
|
|
<docblock line="408">
|
|
<description>Creates an insert clause, and executes it</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="408" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="408" description="" type="mixed" variable="$data">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="408" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="419" package="Query\Query">
|
|
<name>update</name>
|
|
<full_name>\iQuery_Builder::update()</full_name>
|
|
<docblock line="419">
|
|
<description>Creates an update clause, and executes it</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="419" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="419" description="" type="mixed" variable="$data">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="419" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="430" package="Query\Query">
|
|
<name>delete</name>
|
|
<full_name>\iQuery_Builder::delete()</full_name>
|
|
<docblock line="430">
|
|
<description>Deletes data from a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="430" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="430" description="" type="mixed" variable="$where">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="430" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$where</name>
|
|
<default>''</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="443" package="Query\Query">
|
|
<name>get_compiled_select</name>
|
|
<full_name>\iQuery_Builder::get_compiled_select()</full_name>
|
|
<docblock line="443">
|
|
<description>Returns the generated 'select' sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="443" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="443" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="443" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="454" package="Query\Query">
|
|
<name>get_compiled_insert</name>
|
|
<full_name>\iQuery_Builder::get_compiled_insert()</full_name>
|
|
<docblock line="454">
|
|
<description>Returns the generated 'insert' sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="454" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="454" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="454" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="465" package="Query\Query">
|
|
<name>get_compiled_update</name>
|
|
<full_name>\iQuery_Builder::get_compiled_update()</full_name>
|
|
<docblock line="465">
|
|
<description>Returns the generated 'update' sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="465" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="465" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="465" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="476" package="Query\Query">
|
|
<name>get_compiled_delete</name>
|
|
<full_name>\iQuery_Builder::get_compiled_delete()</full_name>
|
|
<docblock line="476">
|
|
<description>Returns the generated 'delete' sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="476" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="476" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="476" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>""</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="487" package="Query\Query">
|
|
<name>reset_query</name>
|
|
<full_name>\iQuery_Builder::reset_query()</full_name>
|
|
<docblock line="487">
|
|
<description>Clear out the class variables, so the next query can be run</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="487" description="" type="void">
|
|
<type>void</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
</interface>
|
|
<source>eJzVWltv2zYUfrZ/xVkQQE7hRGvRp27G2rXpms2N0bRFHw1Koi02EqmSlBNj2H/fISnFshMncmZJWV/qULyc7+O5S7/+lsVZ33/2rA/P4FNO5RJ/m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
<file path="classes/db_util.php" generated-path="classes.db_util.html" hash="507c02bef77ba35e2b8e164fc0c73077" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="true" namespace="" line="22" package="Query\Query">
|
|
<extends/>
|
|
<name>DB_Util</name>
|
|
<full_name>\DB_Util</full_name>
|
|
<docblock line="22">
|
|
<description>Abstract class defining database / table creation methods</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Query"/>
|
|
</docblock>
|
|
<property static="false" visibility="private" line="27" namespace="" package="Query\Query">
|
|
<name>$conn</name>
|
|
<default></default>
|
|
<docblock line="27">
|
|
<description>Reference to the current connection object</description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="34" package="Query\Query">
|
|
<name>__construct</name>
|
|
<full_name>\DB_Util::__construct()</full_name>
|
|
<docblock line="34">
|
|
<description>Save a reference to the connection object for later use</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="34" description="" type="object" variable="$conn">
|
|
<type>object</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$conn</name>
|
|
<default></default>
|
|
<type>object</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="48" package="Query\Query">
|
|
<name>__call</name>
|
|
<full_name>\DB_Util::__call()</full_name>
|
|
<docblock line="48">
|
|
<description>Enable calling driver methods</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="48" description="" type="string" variable="$method">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="48" description="" type="array" variable="$args">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="48" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$method</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$args</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="" line="67" package="Query\Query">
|
|
<name>create_table</name>
|
|
<full_name>\DB_Util::create_table()</full_name>
|
|
<docblock line="67">
|
|
<description>Get database-specific sql to create a new table</description>
|
|
<long-description></long-description>
|
|
<tag name="abstract" line="67" description=""/>
|
|
<tag name="param" line="67" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="67" description="" type="array" variable="$columns">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="67" description="" type="array" variable="$constraints">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="67" description="" type="array" variable="$indexes">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="67" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$columns</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$constraints</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$indexes</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="" line="76" package="Query\Query">
|
|
<name>delete_table</name>
|
|
<full_name>\DB_Util::delete_table()</full_name>
|
|
<docblock line="76">
|
|
<description>Get database-specific sql to drop a table</description>
|
|
<long-description></long-description>
|
|
<tag name="abstract" line="76" description=""/>
|
|
<tag name="param" line="76" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="76" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="" line="84" package="Query\Query">
|
|
<name>backup_structure</name>
|
|
<full_name>\DB_Util::backup_structure()</full_name>
|
|
<docblock line="84">
|
|
<description>Return an SQL file with the database table structure</description>
|
|
<long-description></long-description>
|
|
<tag name="abstract" line="84" description=""/>
|
|
<tag name="return" line="84" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="" line="92" package="Query\Query">
|
|
<name>backup_data</name>
|
|
<full_name>\DB_Util::backup_data()</full_name>
|
|
<docblock line="92">
|
|
<description>Return an SQL file with the database data as insert statements</description>
|
|
<long-description></long-description>
|
|
<tag name="abstract" line="92" description=""/>
|
|
<tag name="return" line="92" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
</class>
|
|
<source>eJy1VU1PGzEQPXt/xVTKIUFJtkWcSmkphVaq6AFo1ePKuzubddnYW38AEeK/d2zvJiQNElRpDhvLno8373nG7z60dZuke3sJ7MGFQ72ghV9/1ohxA06caErUkMIptzznBuFjbqzmhRVKwjlfoO68jlteXPMZMtbHgmPubK00Y9/FXNl6AV+n8JNrjTKcFqpdaDGrLfvUr2BYjGD/9Zt9mPi/g2DXCHkNjNXWtuZtms6ErV0+LdQ85TeC2wNCkq5yNqJAaTDak3lbi8ZYp2eoJDlN3XVaqBLTMuflpDMmxzRJ0hQmO/slPbM9X1A03BgosRJSyBmUPaEp0KJBKDTywOocibXSbPAKqxKNyzc304Sv5zk9yX5Y0cB9kjCPhJHjJVZI5BcIVoGtKaXzYpCLkhKjpCr/RStvnias1eKGW4SBNzhM2CrUFb9B4KD/irgZCSqloaEgGhwRTb7Bn6rSfN7bhPh9TpeTKlA5GcNkGR1Saa6ww2A3Sth9wtjA1sJM3vsdOOoQQsIeAsqdKvmo7DMZpeJNEzQkfqiwXrCN4gi0NxrE48cn1AN8AQOuZyZua6QbSsqLOyyf5oGyDrto4+jdcdG5e4OMWNaZ98pClmH8PmJr3CMa9UEO/w9tFO7V6vp/60nacZsttfmCdtlUE9NiISriz/xu/N0MzeVvrMTb2G8rtfrO2aad5HPcolyhGjeXZuuJv6xcSLvtVMgS73Bd9JiqU33ZxZvyxwKyAH0YYI2XMMZbkh9F3UfjjdT9Pon+TOpKrVoi7p9Ie1GJJTa4XuJobeZcxmBcwtXFOVSCGvGW3oIwd5bTNM7SOC+cfhLwi4DlNGxdmy2DDtfIexYsvwBuQNBroy3lJTHn2F2SXQH0SQK2B/+WnckSVAVlnjl6CKb02P8BQRxSYQ==</source>
|
|
</file>
|
|
<file path="classes/query_parser.php" generated-path="classes.query_parser.html" hash="f048c6bc67b8a96880d904b8a697994e" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="22" package="Query\Query">
|
|
<extends/>
|
|
<name>Query_Parser</name>
|
|
<full_name>\Query_Parser</full_name>
|
|
<docblock line="22">
|
|
<description>Utility Class to parse sql clauses for properly escaping identifiers</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Query"/>
|
|
</docblock>
|
|
<property static="false" visibility="private" line="29" namespace="" package="Query\Query">
|
|
<name>$match_patterns</name>
|
|
<default>array('function' => '([a-zA-Z0-9_]+\((.*?)\))', 'identifier' => '([a-zA-Z0-9_-]+\.?)+', 'operator' => '=|AND|&&?|~|\|\|?|\^|/|>=?|<=?|-|%|OR|\+|NOT|\!=?|<>|XOR')</default>
|
|
<docblock line="29">
|
|
<description>Regex patterns for various syntax components</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="29" description="" type="array" variable="">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="40" namespace="" package="Query\Query">
|
|
<name>$matches</name>
|
|
<default>array('functions' => array(), 'identifiers' => array(), 'operators' => array(), 'combined' => array())</default>
|
|
<docblock line="40">
|
|
<description>Regex matches</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="40" description="" type="array" variable="">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="52" package="Query\Query">
|
|
<name>__construct</name>
|
|
<full_name>\Query_Parser::__construct()</full_name>
|
|
<docblock line="52">
|
|
<description>Constructor/entry point into parser</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="52" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="74" package="Query\Query">
|
|
<name>parse_join</name>
|
|
<full_name>\Query_Parser::parse_join()</full_name>
|
|
<docblock line="74">
|
|
<description>Public parser method for seting the parse string</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="74" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="" line="88" package="Query\Query">
|
|
<name>filter_array</name>
|
|
<full_name>\Query_Parser::filter_array()</full_name>
|
|
<docblock line="88">
|
|
<description>Returns a more useful match array</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="88" description="" type="array" variable="$array">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="88" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$array</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
</class>
|
|
<source>eJy1Vm1v2zYQ/iz9ihvgVVL8orTol3VNnCzJCgxFk3kZNiz2VFo+W2xkUSUpt17V/fYdqRe/JAtSrLNhSyKf49099xypl8M8yd3w4MCFA/i5QLmmG3P/o0SsBuCHgqczlBDCOdNsyhTC6VRpyWLNRQav2RplbXWSs/iWLdBxmrXghBU6EdJxrvlS6GQNPw3gNyYlZnY2Fvla8kWinbPmDvw4gGeHT59B31yeW1zKs1twnETrXL0IwwXXSTEdxGIZshVn+jlFEm58pjzGTGGFJ3ie8FTpQi5QZGQ0KG7DWMwwnE3ZrF+DyTB03TCE/lf7uA2zv2qecr2Gs5QpBVpAziTRqN6nEKesUKhgLiTkUuQo0zWgilnOswXwGWaazzlKtUcxbLJVxXR/MHRj68o+R1fGm4RPruuYgBwyGuECP1IYWqPMKu8rJrkoFKh1ptlHIG5zkZF7ZQys0QlBgGrH1uYxdJ1c8hXTCJ0l03EStcsdVSjfdRxvXmRWKB4cHYPn37D+X6f9Pw7730WT7tj3BwfDYBwEXs9gN+neRfcJPhgG3QppiGJa1Lij8vTNefnkybD8uxzTd1iO/yzD8vhoWL6kX7/8trwcleNu+ebyuhx/Y4aPy98vR57rBN/fYcUmgw+lXUxJNHXWeH+6ykZWjQd7yd2da9K5O0NlmPIMZ3sTO2GfkTsti5gWCMkH9WwueKaBfrXU5CYZemZLILzRV4ckuJtUEz9EUdws6xsYZel5get8oqioS16h3tLvjlpIFriIKkmwNPW9t96goxOu+se7OrnZiGMyIFTPxkP/W2DcQilv0oOr0cWr6JeL6+hydH4xIh6+xN+WwB70uF2r/+qzleqDHjcKuM/fhnNcUUeTLRWPaRBZjLZ5haQtmgYJ2JkXadr4N1V7HP3d8pGslf6jUg26b7l3D1M74f0bG63qHyBDgE6kKBYJXbFp2h6wbAYLIsoOCqVBYoorRu3Q9rWz667pXwoy96sWs4AeeHOeUpiRHfSC/TiNED6bPvy6h0bb11dVS1YdDEukg3Rmq61QGwGYFOuTRFfF/9Imt9bRO9otbI/X7V1nub8DWN1LpHM02yPif+ZhZH0qYFRQiUD7DWmoKudmX95O3A5Cp52Dkzrs+w6vloztYvuVcUNIhh+q8Xavr3RIxUAWJzUamIKOFB/Iyppt2d1MyBJ8rprlDSyAocXfHE7ghb0zDBsmW5rbBSqKP9s3lAuSuJjDe3u4V+oY0HvcP24s86I=</source>
|
|
</file>
|
|
<file path="classes/abstract_driver.php" generated-path="classes.abstract_driver.html" hash="1f9fb712389052bee4ccbb9ef76f4f06" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="true" namespace="" line="24" package="Query\Query">
|
|
<extends>\PDO</extends>
|
|
<implements>\idriver</implements>
|
|
<name>Abstract_Driver</name>
|
|
<full_name>\Abstract_Driver</full_name>
|
|
<docblock line="24">
|
|
<description>Base Database class</description>
|
|
<long-description>Extends PDO to simplify cross-database issues</long-description>
|
|
<tag name="package" line="24" description="Query"/>
|
|
<tag name="subpackage" line="24" description="Query"/>
|
|
</docblock>
|
|
<property static="false" visibility="protected" line="27" namespace="" package="Query\Query">
|
|
<name>$statement</name>
|
|
<default></default>
|
|
<docblock line="27">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="30" namespace="" package="Query\Query">
|
|
<name>$escape_char</name>
|
|
<default>'"'</default>
|
|
<docblock line="30">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="33" namespace="" package="Query\Query">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<docblock line="33">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="36" namespace="" package="Query\Query">
|
|
<name>$util</name>
|
|
<default></default>
|
|
<docblock line="36">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="39" namespace="" package="Query\Query">
|
|
<name>$last_query</name>
|
|
<default></default>
|
|
<docblock line="39">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="42" namespace="" package="Query\Query">
|
|
<name>$table_prefix</name>
|
|
<default>''</default>
|
|
<docblock line="42">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="52" package="Query\Query">
|
|
<name>__construct</name>
|
|
<full_name>\Abstract_Driver::__construct()</full_name>
|
|
<docblock line="52">
|
|
<description>PDO constructor wrapper</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="52" description="" type="string" variable="$dsn">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="52" description="" type="string" variable="$username">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="52" description="" type="string" variable="$password">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="52" description="" type="array" variable="$driver_options">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$dsn</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$username</name>
|
|
<default>NULL</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$password</name>
|
|
<default>NULL</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$driver_options</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="88" package="Query\Query">
|
|
<name>prepare_query</name>
|
|
<full_name>\Abstract_Driver::prepare_query()</full_name>
|
|
<docblock line="88">
|
|
<description>Simplifies prepared statements for database queries</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="88" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="88" description="" type="array" variable="$data">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="88" description="PDOStatement / FALSE" type="\PDOStatement">
|
|
<type link="PDOStatement.html">\PDOStatement</type>
|
|
</tag>
|
|
<tag name="throws" line="88" description="" type="\InvalidArgumentException">
|
|
<type link="InvalidArgumentException.html">\InvalidArgumentException</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="124" package="Query\Query">
|
|
<name>prepare_execute</name>
|
|
<full_name>\Abstract_Driver::prepare_execute()</full_name>
|
|
<docblock line="124">
|
|
<description>Create and execute a prepared statement with the provided parameters</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="124" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="124" description="" type="array" variable="$params">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="124" description="" type="\PDOStatement">
|
|
<type link="PDOStatement.html">\PDOStatement</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$params</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="139" package="Query\Query">
|
|
<name>affected_rows</name>
|
|
<full_name>\Abstract_Driver::affected_rows()</full_name>
|
|
<docblock line="139">
|
|
<description>Returns number of rows affected by an INSERT, UPDATE, DELETE type query</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="139" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="153" package="Query\Query">
|
|
<name>quote_table</name>
|
|
<full_name>\Abstract_Driver::quote_table()</full_name>
|
|
<docblock line="153">
|
|
<description>Quote database table name, and set prefix</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="153" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="153" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="187" package="Query\Query">
|
|
<name>_prefix</name>
|
|
<full_name>\Abstract_Driver::_prefix()</full_name>
|
|
<docblock line="187">
|
|
<description>Sets the table prefix on the passed string</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="187" description="" type="string" variable="$str">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="187" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$str</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="206" package="Query\Query">
|
|
<name>quote_ident</name>
|
|
<full_name>\Abstract_Driver::quote_ident()</full_name>
|
|
<docblock line="206">
|
|
<description>Surrounds the string with the databases identifier escape characters</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="206" description="" type="mixed" variable="$ident">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="206" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$ident</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="253" package="Query\Query">
|
|
<name>_quote</name>
|
|
<full_name>\Abstract_Driver::_quote()</full_name>
|
|
<docblock line="253">
|
|
<description>Helper method for quote_ident</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="253" description="" type="mixed" variable="$str">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="253" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$str</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="274" package="Query\Query">
|
|
<name>get_schemas</name>
|
|
<full_name>\Abstract_Driver::get_schemas()</full_name>
|
|
<docblock line="274">
|
|
<description>Return schemas for databases that list them</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="274" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="286" package="Query\Query">
|
|
<name>get_tables</name>
|
|
<full_name>\Abstract_Driver::get_tables()</full_name>
|
|
<docblock line="286">
|
|
<description>Return list of tables for the current database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="286" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="298" package="Query\Query">
|
|
<name>get_dbs</name>
|
|
<full_name>\Abstract_Driver::get_dbs()</full_name>
|
|
<docblock line="298">
|
|
<description>Return list of dbs for the current connection, if possible</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="298" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="310" package="Query\Query">
|
|
<name>get_views</name>
|
|
<full_name>\Abstract_Driver::get_views()</full_name>
|
|
<docblock line="310">
|
|
<description>Return list of views for the current database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="310" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="322" package="Query\Query">
|
|
<name>get_sequences</name>
|
|
<full_name>\Abstract_Driver::get_sequences()</full_name>
|
|
<docblock line="322">
|
|
<description>Return list of sequences for the current database, if they exist</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="322" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="334" package="Query\Query">
|
|
<name>get_functions</name>
|
|
<full_name>\Abstract_Driver::get_functions()</full_name>
|
|
<docblock line="334">
|
|
<description>Return list of function for the current database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="334" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="346" package="Query\Query">
|
|
<name>get_procedures</name>
|
|
<full_name>\Abstract_Driver::get_procedures()</full_name>
|
|
<docblock line="346">
|
|
<description>Return list of stored procedures for the current database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="346" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="358" package="Query\Query">
|
|
<name>get_triggers</name>
|
|
<full_name>\Abstract_Driver::get_triggers()</full_name>
|
|
<docblock line="358">
|
|
<description>Return list of triggers for the current database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="358" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="371" package="Query\Query">
|
|
<name>get_system_tables</name>
|
|
<full_name>\Abstract_Driver::get_system_tables()</full_name>
|
|
<docblock line="371">
|
|
<description>Retreives an array of non-user-created tables for
|
|
the connection/database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="371" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="384" package="Query\Query">
|
|
<name>get_columns</name>
|
|
<full_name>\Abstract_Driver::get_columns()</full_name>
|
|
<docblock line="384">
|
|
<description>Retrieve column information for the current database table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="384" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="384" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="396" package="Query\Query">
|
|
<name>get_types</name>
|
|
<full_name>\Abstract_Driver::get_types()</full_name>
|
|
<docblock line="396">
|
|
<description>Retrieve list of data types for the database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="396" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="410" package="Query\Query">
|
|
<name>driver_query</name>
|
|
<full_name>\Abstract_Driver::driver_query()</full_name>
|
|
<docblock line="410">
|
|
<description>Method to simplify retreiving db results for meta-data queries</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="410" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="410" description="" type="bool" variable="$filtered_index">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="410" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$filtered_index</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="440" package="Query\Query">
|
|
<name>num_rows</name>
|
|
<full_name>\Abstract_Driver::num_rows()</full_name>
|
|
<docblock line="440">
|
|
<description>Return the number of rows returned for a SELECT query</description>
|
|
<long-description></long-description>
|
|
<tag name="see" line="440" description="" link="\http://us3.php.net/manual/en/pdostatement.rowcount.php#87110"/>
|
|
<tag name="return" line="440" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="" line="464" package="Query\Query">
|
|
<name>truncate</name>
|
|
<full_name>\Abstract_Driver::truncate()</full_name>
|
|
<docblock line="464">
|
|
<description>Empty the passed table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="464" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="464" description="" type="void">
|
|
<type>void</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="475" package="Query\Query">
|
|
<name>insert_batch</name>
|
|
<full_name>\Abstract_Driver::insert_batch()</full_name>
|
|
<docblock line="475">
|
|
<description>Create sql for batch insert</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="475" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="475" description="" type="array" variable="$data">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="475" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
</class>
|
|
<source>eJzFGv1T2zj25/BXqCmzsVsngd2duTt6aZdCeuWGQhvC3s2xnEexlUTFsV1LhuYo//u9J8mfcdimAy0zQCLpfX9JT/r7q3geb/WfPdsiz8iHlCVL+ICf3ySM6QHyOuWBzxLSJ4dU0gkVjOxPhEyoJ3kUkmO6ZImB+i2m3hWdsVYrw0V+o6mcR0mrNeaLSM6X5J898i+aJCxUs14ULxM+m8vWQfaJWJ5Nft7Z/Zl08d+val3AwyvSas2ljMVevz/jcp5Oel606NNrTuWvwEm/oBlwj4WC6fWwPJ7zQMg0mbEoBKBeetX3Ip/1/Qn1u2YxAPa3tvp90n2w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PWcxPM3o9N3uK73zN7u844yWZTKOJXlzpbxqqK9ZWlqeXuheNEEQxreJi/BYnn3UsiFrPtZ2yjw4PT8ZGw9swlyQ24Ngovdyzt9O507CWjDJgqVcaYDldWtle7RYx3D9duN7NUbqdlEYCzmz94e+eFGyWGHeFlWvs/YsO5eRzxLjHSNaLBThE9UsuLW5vEC0NzGYw7DQJugx2E+ZclKV65BqPtfnNx7TaBpuBPt4gqneTJSe3JmXi1Vn2hc7FzaNql4oLpUNxdolQ5o5cpURd2Us8AvWt1XbCkKtBqTfuXV1nfd5OhkfArBolDcEUu/0cIlvXp7vqn1qqjZdhmobZPf94/Ph2ekrenppwE5S5CMA2vHyS4kDQqHdF51NB613rQSm+4I9DuDrK4tomvTj+YJbIy0wegUH8qkeGqnguCFLJRVImLmcRoQT22RCoat2wrNO1srAcpxwbWuzWVVtlp6Rsz5NHtJk7G1j33ZMMKLazJLojRGUfQzHm/e+BRGrSrlOcOa08xbjbkFS2bgBjjm1PjVeFcyW7F10A9mhN673eEr42Ho656YCyUGC8r/AT/vG54=</source>
|
|
</file>
|
|
<file path="classes/query_builder.php" generated-path="classes.query_builder.html" hash="f53960d28959174cc86f7c2e55a0479a" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="23" package="Query\Query">
|
|
<extends/>
|
|
<implements>\iQuery_Builder</implements>
|
|
<name>Query_Builder</name>
|
|
<full_name>\Query_Builder</full_name>
|
|
<docblock line="23">
|
|
<description>Convienience class for creating sql queries - also the class that
|
|
instantiates the specific db driver</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="23" description="Query"/>
|
|
<tag name="subpackage" line="23" description="Query"/>
|
|
</docblock>
|
|
<property static="false" visibility="protected" line="30" namespace="" package="Query\Query">
|
|
<name>$select_string</name>
|
|
<default>''</default>
|
|
<docblock line="30">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="33" namespace="" package="Query\Query">
|
|
<name>$from_string</name>
|
|
<default></default>
|
|
<docblock line="33">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="36" namespace="" package="Query\Query">
|
|
<name>$set_string</name>
|
|
<default></default>
|
|
<docblock line="36">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="39" namespace="" package="Query\Query">
|
|
<name>$order_string</name>
|
|
<default></default>
|
|
<docblock line="39">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="42" namespace="" package="Query\Query">
|
|
<name>$group_string</name>
|
|
<default></default>
|
|
<docblock line="42">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="49" namespace="" package="Query\Query">
|
|
<name>$set_array_keys</name>
|
|
<default>array()</default>
|
|
<docblock line="49">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="52" namespace="" package="Query\Query">
|
|
<name>$order_array</name>
|
|
<default>array()</default>
|
|
<docblock line="52">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="55" namespace="" package="Query\Query">
|
|
<name>$group_array</name>
|
|
<default>array()</default>
|
|
<docblock line="55">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="62" namespace="" package="Query\Query">
|
|
<name>$values</name>
|
|
<default>array()</default>
|
|
<docblock line="62">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="65" namespace="" package="Query\Query">
|
|
<name>$where_values</name>
|
|
<default>array()</default>
|
|
<docblock line="65">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="68" namespace="" package="Query\Query">
|
|
<name>$limit</name>
|
|
<default></default>
|
|
<docblock line="68">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="71" namespace="" package="Query\Query">
|
|
<name>$offset</name>
|
|
<default></default>
|
|
<docblock line="71">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="74" namespace="" package="Query\Query">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<docblock line="74">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="85" namespace="" package="Query\Query">
|
|
<name>$query_map</name>
|
|
<default>array()</default>
|
|
<docblock line="85">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="88" namespace="" package="Query\Query">
|
|
<name>$having_map</name>
|
|
<default></default>
|
|
<docblock line="88">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="91" namespace="" package="Query\Query">
|
|
<name>$conn_name</name>
|
|
<default>""</default>
|
|
<docblock line="91">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="94" namespace="" package="Query\Query">
|
|
<name>$queries</name>
|
|
<default></default>
|
|
<docblock line="94">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="97" namespace="" package="Query\Query">
|
|
<name>$explain</name>
|
|
<default></default>
|
|
<docblock line="97">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="100" namespace="" package="Query\Query">
|
|
<name>$db</name>
|
|
<default></default>
|
|
<docblock line="100">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="101" namespace="" package="Query\Query">
|
|
<name>$parser</name>
|
|
<default></default>
|
|
<docblock line="101">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="public" line="102" namespace="" package="Query\Query">
|
|
<name>$util</name>
|
|
<default></default>
|
|
<docblock line="102">
|
|
<description></description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</property>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="114" package="Query\Query">
|
|
<name>__construct</name>
|
|
<full_name>\Query_Builder::__construct()</full_name>
|
|
<docblock line="114">
|
|
<description>Constructor</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="114" description="" type="\DB_PDO" variable="$db">
|
|
<type link="DB_PDO.html">\DB_PDO</type>
|
|
</tag>
|
|
<tag name="param" line="114" description="<ul> <li>the connection parameters</li> </ul>" type="object" variable="$params">
|
|
<type>object</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$db</name>
|
|
<default></default>
|
|
<type>\DB_PDO</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$params</name>
|
|
<default></default>
|
|
<type>object</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="139" package="Query\Query">
|
|
<name>__destruct</name>
|
|
<full_name>\Query_Builder::__destruct()</full_name>
|
|
<docblock line="139">
|
|
<description>Destructor</description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="154" package="Query\Query">
|
|
<name>select</name>
|
|
<full_name>\Query_Builder::select()</full_name>
|
|
<docblock line="154">
|
|
<description>Specifies rows to select in a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="154" description="" type="string" variable="$fields">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="154" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$fields</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="200" package="Query\Query">
|
|
<name>_select</name>
|
|
<full_name>\Query_Builder::_select()</full_name>
|
|
<docblock line="200">
|
|
<description>Method to simplify select_ methods</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="200" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="200" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="200" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="221" package="Query\Query">
|
|
<name>select_max</name>
|
|
<full_name>\Query_Builder::select_max()</full_name>
|
|
<docblock line="221">
|
|
<description>Selects the maximum value of a field from a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="221" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="221" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="221" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="237" package="Query\Query">
|
|
<name>select_min</name>
|
|
<full_name>\Query_Builder::select_min()</full_name>
|
|
<docblock line="237">
|
|
<description>Selects the minimum value of a field from a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="237" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="237" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="237" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="253" package="Query\Query">
|
|
<name>select_avg</name>
|
|
<full_name>\Query_Builder::select_avg()</full_name>
|
|
<docblock line="253">
|
|
<description>Selects the average value of a field from a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="253" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="253" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="253" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="269" package="Query\Query">
|
|
<name>select_sum</name>
|
|
<full_name>\Query_Builder::select_sum()</full_name>
|
|
<docblock line="269">
|
|
<description>Selects the sum of a field from a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="269" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="269" description="" type="string" variable="$as">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="269" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$as</name>
|
|
<default>FALSE</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="283" package="Query\Query">
|
|
<name>distinct</name>
|
|
<full_name>\Query_Builder::distinct()</full_name>
|
|
<docblock line="283">
|
|
<description>Adds the 'distinct' keyword to a query</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="283" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="297" package="Query\Query">
|
|
<name>explain</name>
|
|
<full_name>\Query_Builder::explain()</full_name>
|
|
<docblock line="297">
|
|
<description>Tell the database to give you the query plan instead of result set</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="297" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="311" package="Query\Query">
|
|
<name>from</name>
|
|
<full_name>\Query_Builder::from()</full_name>
|
|
<docblock line="311">
|
|
<description>Specify the database table to select from</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="311" description="" type="string" variable="$tblname">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="311" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$tblname</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="341" package="Query\Query">
|
|
<name>_like</name>
|
|
<full_name>\Query_Builder::_like()</full_name>
|
|
<docblock line="341">
|
|
<description>Simplify 'like' methods</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="341" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="341" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="341" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="341" description="" type="string" variable="$like">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="341" description="" type="string" variable="$conj">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="341" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$like</name>
|
|
<default>'LIKE'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$conj</name>
|
|
<default>'AND'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="383" package="Query\Query">
|
|
<name>like</name>
|
|
<full_name>\Query_Builder::like()</full_name>
|
|
<docblock line="383">
|
|
<description>Creates a Like clause in the sql statement</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="383" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="383" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="383" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="383" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default>'both'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="398" package="Query\Query">
|
|
<name>or_like</name>
|
|
<full_name>\Query_Builder::or_like()</full_name>
|
|
<docblock line="398">
|
|
<description>Generates an OR Like clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="398" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="398" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="398" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="398" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default>'both'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="413" package="Query\Query">
|
|
<name>not_like</name>
|
|
<full_name>\Query_Builder::not_like()</full_name>
|
|
<docblock line="413">
|
|
<description>Generates a NOT LIKE clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="413" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="413" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="413" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="413" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default>'both'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="428" package="Query\Query">
|
|
<name>or_not_like</name>
|
|
<full_name>\Query_Builder::or_not_like()</full_name>
|
|
<docblock line="428">
|
|
<description>Generates a OR NOT LIKE clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="428" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="428" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="428" description="" type="string" variable="$pos">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="428" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pos</name>
|
|
<default>'both'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="445" package="Query\Query">
|
|
<name>_having</name>
|
|
<full_name>\Query_Builder::_having()</full_name>
|
|
<docblock line="445">
|
|
<description>Simplify building having clauses</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="445" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="445" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="445" description="" type="string" variable="$conj">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="445" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$conj</name>
|
|
<default>'AND'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="480" package="Query\Query">
|
|
<name>having</name>
|
|
<full_name>\Query_Builder::having()</full_name>
|
|
<docblock line="480">
|
|
<description>Generates a 'Having' clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="480" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="480" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="480" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="494" package="Query\Query">
|
|
<name>or_having</name>
|
|
<full_name>\Query_Builder::or_having()</full_name>
|
|
<docblock line="494">
|
|
<description>Generates a 'Having' clause prefixed with 'OR'</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="494" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="494" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="494" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="510" package="Query\Query">
|
|
<name>_where</name>
|
|
<full_name>\Query_Builder::_where()</full_name>
|
|
<docblock line="510">
|
|
<description>Do all the repeditive stuff for where/having type methods</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="510" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="510" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="510" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="543" package="Query\Query">
|
|
<name>_where_string</name>
|
|
<full_name>\Query_Builder::_where_string()</full_name>
|
|
<docblock line="543">
|
|
<description>Simplify generating where string</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="543" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="543" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="543" description="" type="string" variable="$conj">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="543" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$conj</name>
|
|
<default>'AND'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="598" package="Query\Query">
|
|
<name>_where_in</name>
|
|
<full_name>\Query_Builder::_where_in()</full_name>
|
|
<docblock line="598">
|
|
<description>Simplify where_in methods</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="598" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="598" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="598" description="<ul> <li>The (not) in fragment</li> </ul>" type="string" variable="$in">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="598" description="<ul> <li>The where in conjunction</li> </ul>" type="string" variable="$conj">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="598" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$in</name>
|
|
<default>'IN'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$conj</name>
|
|
<default>'AND'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="631" package="Query\Query">
|
|
<name>where</name>
|
|
<full_name>\Query_Builder::where()</full_name>
|
|
<docblock line="631">
|
|
<description>Specify condition(s) in the where clause of a query
|
|
Note: this function works with key / value, or a
|
|
passed array with key / value pairs</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="631" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="631" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="631" description="" type="mixed" variable="$escape">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="631" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$escape</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="645" package="Query\Query">
|
|
<name>or_where</name>
|
|
<full_name>\Query_Builder::or_where()</full_name>
|
|
<docblock line="645">
|
|
<description>Where clause prefixed with "OR"</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="645" description="" type="string" variable="$key">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="645" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="645" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="659" package="Query\Query">
|
|
<name>where_in</name>
|
|
<full_name>\Query_Builder::where_in()</full_name>
|
|
<docblock line="659">
|
|
<description>Where clause with 'IN' statement</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="659" description="" type="mixed" variable="$field">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="659" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="659" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="673" package="Query\Query">
|
|
<name>or_where_in</name>
|
|
<full_name>\Query_Builder::or_where_in()</full_name>
|
|
<docblock line="673">
|
|
<description>Where in statement prefixed with "or"</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="673" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="673" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="673" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="687" package="Query\Query">
|
|
<name>where_not_in</name>
|
|
<full_name>\Query_Builder::where_not_in()</full_name>
|
|
<docblock line="687">
|
|
<description>WHERE NOT IN (FOO) clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="687" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="687" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="687" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="701" package="Query\Query">
|
|
<name>or_where_not_in</name>
|
|
<full_name>\Query_Builder::or_where_not_in()</full_name>
|
|
<docblock line="701">
|
|
<description>OR WHERE NOT IN (FOO) clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="701" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="701" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="701" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="717" package="Query\Query">
|
|
<name>set</name>
|
|
<full_name>\Query_Builder::set()</full_name>
|
|
<docblock line="717">
|
|
<description>Sets values for inserts / updates / deletes</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="717" description="" type="mixed" variable="$key">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="717" description="" type="mixed" variable="$val">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="717" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$key</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$val</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="756" package="Query\Query">
|
|
<name>join</name>
|
|
<full_name>\Query_Builder::join()</full_name>
|
|
<docblock line="756">
|
|
<description>Creates a join phrase in a compiled query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="756" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="756" description="" type="string" variable="$condition">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="756" description="" type="string" variable="$type">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="756" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$condition</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="798" package="Query\Query">
|
|
<name>group_by</name>
|
|
<full_name>\Query_Builder::group_by()</full_name>
|
|
<docblock line="798">
|
|
<description>Group the results by the selected field(s)</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="798" description="" type="mixed" variable="$field">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="798" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="824" package="Query\Query">
|
|
<name>order_by</name>
|
|
<full_name>\Query_Builder::order_by()</full_name>
|
|
<docblock line="824">
|
|
<description>Order the results by the selected field(s)</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="824" description="" type="string" variable="$field">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="824" description="" type="string" variable="$type">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="824" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$field</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default>""</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="861" package="Query\Query">
|
|
<name>limit</name>
|
|
<full_name>\Query_Builder::limit()</full_name>
|
|
<docblock line="861">
|
|
<description>Set a limit on the current sql statement</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="861" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="861" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="861" description="" type="\Query_Builder">
|
|
<type link="Query_Builder.html">\Query_Builder</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="878" package="Query\Query">
|
|
<name>group_start</name>
|
|
<full_name>\Query_Builder::group_start()</full_name>
|
|
<docblock line="878">
|
|
<description>Adds a paren to the current query for query grouping</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="878" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="897" package="Query\Query">
|
|
<name>or_group_start</name>
|
|
<full_name>\Query_Builder::or_group_start()</full_name>
|
|
<docblock line="897">
|
|
<description>Adds a paren to the current query for query grouping,
|
|
prefixed with 'OR'</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="897" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="916" package="Query\Query">
|
|
<name>or_not_group_start</name>
|
|
<full_name>\Query_Builder::or_not_group_start()</full_name>
|
|
<docblock line="916">
|
|
<description>Adds a paren to the current query for query grouping,
|
|
prefixed with 'OR NOT'</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="916" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="934" package="Query\Query">
|
|
<name>group_end</name>
|
|
<full_name>\Query_Builder::group_end()</full_name>
|
|
<docblock line="934">
|
|
<description>Ends a query group</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="934" description="" type="\Query_Builder">
|
|
<type>\Query_Builder</type>
|
|
</tag>
|
|
<tag name="fluent" description="This method is part of a fluent interface and will return the same instance"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="958" package="Query\Query">
|
|
<name>get</name>
|
|
<full_name>\Query_Builder::get()</full_name>
|
|
<docblock line="958">
|
|
<description>Select and retrieve all records from the current table, and/or
|
|
execute current compiled query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="958" description="" type="" variable="$table"/>
|
|
<tag name="param" line="958" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="958" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="958" description="" type="object">
|
|
<type>object</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="986" package="Query\Query">
|
|
<name>get_where</name>
|
|
<full_name>\Query_Builder::get_where()</full_name>
|
|
<docblock line="986">
|
|
<description>Convience method for get() with a where clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="986" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="986" description="" type="array" variable="$where">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="986" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="986" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="986" description="" type="object">
|
|
<type>object</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$where</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1003" package="Query\Query">
|
|
<name>count_all</name>
|
|
<full_name>\Query_Builder::count_all()</full_name>
|
|
<docblock line="1003">
|
|
<description>Retreive the number of rows in the selected table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1003" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="1003" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1019" package="Query\Query">
|
|
<name>count_all_results</name>
|
|
<full_name>\Query_Builder::count_all_results()</full_name>
|
|
<docblock line="1019">
|
|
<description>Retrieve the number of results for the generated query - used
|
|
in place of the get() method</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1019" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="1019" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1044" package="Query\Query">
|
|
<name>insert</name>
|
|
<full_name>\Query_Builder::insert()</full_name>
|
|
<docblock line="1044">
|
|
<description>Creates an insert clause, and executes it</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1044" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1044" description="" type="mixed" variable="$data">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="1044" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1064" package="Query\Query">
|
|
<name>insert_batch</name>
|
|
<full_name>\Query_Builder::insert_batch()</full_name>
|
|
<docblock line="1064">
|
|
<description>Create sql for batch insert</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1064" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1064" description="" type="array" variable="$data">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="1064" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1086" package="Query\Query">
|
|
<name>update</name>
|
|
<full_name>\Query_Builder::update()</full_name>
|
|
<docblock line="1086">
|
|
<description>Creates an update clause, and executes it</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1086" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1086" description="" type="mixed" variable="$data">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="1086" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default>array()</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1106" package="Query\Query">
|
|
<name>delete</name>
|
|
<full_name>\Query_Builder::delete()</full_name>
|
|
<docblock line="1106">
|
|
<description>Deletes data from a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1106" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1106" description="" type="mixed" variable="$where">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="1106" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$where</name>
|
|
<default>''</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1128" package="Query\Query">
|
|
<name>get_compiled_select</name>
|
|
<full_name>\Query_Builder::get_compiled_select()</full_name>
|
|
<docblock line="1128">
|
|
<description>Returns the generated 'select' sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1128" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1128" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="1128" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1148" package="Query\Query">
|
|
<name>get_compiled_insert</name>
|
|
<full_name>\Query_Builder::get_compiled_insert()</full_name>
|
|
<docblock line="1148">
|
|
<description>Returns the generated 'insert' sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1148" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1148" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="1148" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1162" package="Query\Query">
|
|
<name>get_compiled_update</name>
|
|
<full_name>\Query_Builder::get_compiled_update()</full_name>
|
|
<docblock line="1162">
|
|
<description>Returns the generated 'update' sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1162" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1162" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="1162" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1176" package="Query\Query">
|
|
<name>get_compiled_delete</name>
|
|
<full_name>\Query_Builder::get_compiled_delete()</full_name>
|
|
<docblock line="1176">
|
|
<description>Returns the generated 'delete' sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1176" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1176" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="1176" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>""</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default>TRUE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="1191" package="Query\Query">
|
|
<name>_get_compile</name>
|
|
<full_name>\Query_Builder::_get_compile()</full_name>
|
|
<docblock line="1191">
|
|
<description>Helper function for returning sql strings</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1191" description="" type="string" variable="$type">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1191" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1191" description="" type="bool" variable="$reset">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="resturn" line="1191" description="string"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$reset</name>
|
|
<default></default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1213" package="Query\Query">
|
|
<name>reset_query</name>
|
|
<full_name>\Query_Builder::reset_query()</full_name>
|
|
<docblock line="1213">
|
|
<description>Clear out the class variables, so the next query can be run</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="1213" description="" type="void">
|
|
<type>void</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="1260" package="Query\Query">
|
|
<name>_run</name>
|
|
<full_name>\Query_Builder::_run()</full_name>
|
|
<docblock line="1260">
|
|
<description>Executes the compiled query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1260" description="" type="string" variable="$type">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1260" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1260" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1260" description="" type="mixed" variable="$vals">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="1260" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default>NULL</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$vals</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="1326" package="Query\Query">
|
|
<name>__call</name>
|
|
<full_name>\Query_Builder::__call()</full_name>
|
|
<docblock line="1326">
|
|
<description>Calls a function further down the inheritence chain</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1326" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1326" description="" type="array" variable="$params">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="1326" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="throws" line="1326" description="" type="\BadMethodCallException">
|
|
<type link="BadMethodCallException.html">\BadMethodCallException</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$params</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="1345" package="Query\Query">
|
|
<name>_compile_type</name>
|
|
<full_name>\Query_Builder::_compile_type()</full_name>
|
|
<docblock line="1345">
|
|
<description>Sub-method for generating sql strings</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1345" description="" type="string" variable="$type">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1345" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="1345" description="" type="\$string">
|
|
<type link="$string.html">\$string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="" line="1387" package="Query\Query">
|
|
<name>_compile</name>
|
|
<full_name>\Query_Builder::_compile()</full_name>
|
|
<docblock line="1387">
|
|
<description>String together the sql statements for sending to the db</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="1387" description="" type="string" variable="$type">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="1387" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="1387" description="" type="\$string">
|
|
<type link="$string.html">\$string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
</class>
|
|
<source>eJztPWtz20aSn6lfMWEpAZhQUrK1V3Vlh/Yqluw4K0u2JCd35bi4IDkUEYMAhYdsldf//foxg5nBg6JskfJW3VZqTQHz6Onpd/cMfn68mC229r7/fkt8L14VMr2GH/j7aSolPxC/FGE0kanYEwdBHoyCTIr9UZanwTgPk1gcBdcyVb3+sQjG74IL2enoscQ/giKfJWmncx7Ok3x2LX7bFX8EaSpjejtOFtdpeDHLO0/0L+GPe+JvP/70N7GD//yd2kVh/E50OrM8X2QP9vYuwnxWjHbHyXwvuAqD/O8AyZ6ZMwrHMs4kt4fmi1kYZXmRXsgkhk67xbu9cTKRe5NRMNlRjaHj3tbW3p7YubP/bWnMPkniq1DG8N9YinEUZJmYJqkYpzLIw/hCZJeRuAToQ5nBooMoS0Q+0y3zWZDjIGGc5UGcw2plRq+zhRyH03AsJiMxScOr2jYIg5GsGFUf7m3x+PT3UO9yOF9Eci7jPBOh++bj1lbnbtGDw30jzl4diSdRUABdneUpoCO763lovCfJfBFGciK8TEZynHuIXph0q7NIkxwewKttfjXMCA4xEJ73sNp7mibzxr74QvWsdgrSi4JxitsOGynTHPipWExgMysA5O4YJynifnTdNGOC79zmz9KkWLQ0v8B3bvM7RHJtM/fTNLhez17+U17bqNxjRArgj5xot4bSAGEZvsNuA0F/+L2H5Vh7V0EkFkGY8qDJjSinEVYY6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cf8VvdhTF+SYL5Rkb7dxWzxf86kqes=</source>
|
|
</file>
|
|
<file path="classes/idriver.php" generated-path="classes.idriver.html" hash="10849ab79ab1c4c649847b3d033d75bb" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<interface namespace="" line="19" package="Query">
|
|
<name>idriver</name>
|
|
<full_name>\idriver</full_name>
|
|
<docblock line="19">
|
|
<description>PDO Interface to implement for database drivers</description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="30" package="Query">
|
|
<name>__construct</name>
|
|
<full_name>\idriver::__construct()</full_name>
|
|
<docblock line="30">
|
|
<description>Constructor/Connection method</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="30" description="" type="string" variable="$dsn">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="30" description="" type="\[string]" variable="$username">
|
|
<type link="[string].html">\[string]</type>
|
|
</tag>
|
|
<tag name="param" line="30" description="" type="\[string]" variable="$password">
|
|
<type link="[string].html">\[string]</type>
|
|
</tag>
|
|
<tag name="param" line="30" description="" type="\[array]" variable="$driver_options">
|
|
<type link="[array].html">\[array]</type>
|
|
</tag>
|
|
<tag name="return" line="30" description="" type="void">
|
|
<type>void</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$dsn</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$username</name>
|
|
<default>NULL</default>
|
|
<type>\[string]</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$password</name>
|
|
<default>NULL</default>
|
|
<type>\[string]</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$driver_options</name>
|
|
<default>array()</default>
|
|
<type>\[array]</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="37" package="Query">
|
|
<name>beginTransaction</name>
|
|
<full_name>\idriver::beginTransaction()</full_name>
|
|
<docblock line="37">
|
|
<description>Begin a transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="37" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="44" package="Query">
|
|
<name>commit</name>
|
|
<full_name>\idriver::commit()</full_name>
|
|
<docblock line="44">
|
|
<description>Commit a transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="44" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="51" package="Query">
|
|
<name>errorCode</name>
|
|
<full_name>\idriver::errorCode()</full_name>
|
|
<docblock line="51">
|
|
<description>Return the current error code</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="51" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="58" package="Query">
|
|
<name>errorInfo</name>
|
|
<full_name>\idriver::errorInfo()</full_name>
|
|
<docblock line="58">
|
|
<description>Return information about the current error</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="58" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="66" package="Query">
|
|
<name>exec</name>
|
|
<full_name>\idriver::exec()</full_name>
|
|
<docblock line="66">
|
|
<description>Execute an SQL statement and return the number of affected rows</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="66" description="" type="string" variable="$statement">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="66" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$statement</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="74" package="Query">
|
|
<name>getAttribute</name>
|
|
<full_name>\idriver::getAttribute()</full_name>
|
|
<docblock line="74">
|
|
<description>Get a connection attribute for the current db driver</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="74" description="" type="int" variable="$attribute">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="returm" line="74" description="mixed"/>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$attribute</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="81" package="Query">
|
|
<name>inTransaction</name>
|
|
<full_name>\idriver::inTransaction()</full_name>
|
|
<docblock line="81">
|
|
<description>Check if currently in a transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="81" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="89" package="Query">
|
|
<name>lastInsertId</name>
|
|
<full_name>\idriver::lastInsertId()</full_name>
|
|
<docblock line="89">
|
|
<description>Returns the id of the last row inserted into the database</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="89" description="" type="\[string]" variable="$name">
|
|
<type link="[string].html">\[string]</type>
|
|
</tag>
|
|
<tag name="return" line="89" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default>NULL</default>
|
|
<type>\[string]</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="98" package="Query">
|
|
<name>prepare</name>
|
|
<full_name>\idriver::prepare()</full_name>
|
|
<docblock line="98">
|
|
<description>Prepare a statement for execution</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="98" description="" type="string" variable="$statement">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="98" description="" type="\[array]" variable="$driver_options">
|
|
<type link="[array].html">\[array]</type>
|
|
</tag>
|
|
<tag name="return" line="98" description="" type="\PDOStatement">
|
|
<type link="PDOStatement.html">\PDOStatement</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$statement</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$driver_options</name>
|
|
<default>array()</default>
|
|
<type>\[array]</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="106" package="Query">
|
|
<name>query</name>
|
|
<full_name>\idriver::query()</full_name>
|
|
<docblock line="106">
|
|
<description>Executes an sql statement</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="106" description="" type="string" variable="$statement">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="106" description="" type="\PDOStatement">
|
|
<type link="PDOStatement.html">\PDOStatement</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="115" package="Query">
|
|
<name>quote</name>
|
|
<full_name>\idriver::quote()</full_name>
|
|
<docblock line="115">
|
|
<description>Quotes a string for use in a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="115" description="" type="string" variable="$string">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="115" description="<p>#return string</p>" type="\[int]" variable="$parameter_type">
|
|
<type link="[int].html">\[int]</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$string</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$parameter_type</name>
|
|
<default>\PDO::PARAM_STRING</default>
|
|
<type>\[int]</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="122" package="Query">
|
|
<name>rollback</name>
|
|
<full_name>\idriver::rollback()</full_name>
|
|
<docblock line="122">
|
|
<description>Rollback a transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="122" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="130" package="Query">
|
|
<name>setAttribute</name>
|
|
<full_name>\idriver::setAttribute()</full_name>
|
|
<docblock line="130">
|
|
<description>Set a connection attribute</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="130" description="" type="int" variable="$attribute">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="130" description="" type="mixed" variable="$value">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="130" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$attribute</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$value</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
</interface>
|
|
<source>eJytVttu2zAMfXaB/gOB5SEt0nor+tStWNPLigxZ1zYd9jAMgWwzsRBbciU5bTDs30dJztVJL+jyEtsUyaPDQ0qfPhdpsb0V7u5ub8Eu3JSoJvbJvX1RiP4TnJY8S1BBCOfMsIhphHakjWKx4VJAl01QzfxOChaP2BCDYBYPTlhpUqmC4I7n0qQT+LoPP5lSKLw5lsVE8WFqgrPpEzTjHTh4/+EA9uzfoV+YcTGCIEiNKfRRGA65SctoP5Z5yMacmUOCEy6kzXiMQqN3oPVFyjNtSjVEKchrvxyFsUwwTCKW7FWLrWe4vUW0hLD3334uYMXz9fl36AiDasBiBCOB50WGOQoDA6kgmXKcKD5GpStAfObBvQH+2KCBixpQ2DMpqCZlbKQK6Vmgr06ORH3ilvh1VCDFcqC1XAyhkWix9P2XN/yGRqlRCZbjBnPBtH6QKlk2U1XZhKweY18WFoSu1igk8gWMJfdetK2gKCNiHgal8Hj7/Xi6kaYF15oDOb760e225pmrd5dyNSMc++/NnZ2Pyzyd4pALYED6FdpLeJGdCmMkZbYRY2RD3M39m6s5zmSec/O2JLGLUQt9611NihCXtoUMoFKkG6vkNTly/oib2XauZ+S5KQ8XpMmcucUskqWpZ16T1FH/dNIOBa4lvXjEuDQITEDvpksaZcY3BhMJqPnORZlH1AFyAGwwIKEjWeWD3qzyWaRlnLz6sBYlYWnOHVehwiXaAsfzTmOGkkUWvm3jRZqSqGrmOkBCAI2Z5yK6/JnSDdG0p37NeYiaFFOMR8AHUzDZBN4q/6e174WjHQE8sTWyTxnTxtaInKmbbcFo59KZpgOvTs582CzMoQqhN23EaPN1XKpO0nTuNBHsvFiFe62QkpHkFtRm64dOiivsPC2qV4xAOgN6S97r9lB4aAsibL18zFWtpG0v6fsMlsG+pklehPXenro1LdyU0kGYprDE0jT3Crz3B/VmNLMCz6glzbiTh16QjsO+mRSVLN69TBb3FlCzit1aDUVs0maPjq7bt+1v/d7dbefqsiZvmWURXXHe1kKqilJjrLdxqjw/NrzJTQ1ojFlW4isQ6fXjpFVFsjj/ukvRhXBNXd1C9t0V8h+08Awy</source>
|
|
</file>
|
|
<file path="drivers/sqlite/sqlite_util.php" generated-path="drivers.sqlite.sqlite_util.html" hash="85d9dc16cf73ef055e885e3ee297157b" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="24" package="Query\Drivers">
|
|
<extends>\DB_Util</extends>
|
|
<name>SQLite_Util</name>
|
|
<full_name>\SQLite_Util</full_name>
|
|
<docblock line="24">
|
|
<description>SQLite-specific backup, import and creation methods</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="24" description="Query"/>
|
|
<tag name="subpackage" line="24" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="35" package="Query\Drivers">
|
|
<name>create_table</name>
|
|
<full_name>\SQLite_Util::create_table()</full_name>
|
|
<docblock line="35">
|
|
<description>Convenience public function to create a new table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="35" description="<p>//Name of the table</p>" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="35" description="<p>//columns as straight array and/or column => type pairs</p>" type="array" variable="$columns">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="35" description="<p>// column => constraint pairs</p>" type="array" variable="$constraints">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="35" description="<p>// column => index pairs</p>" type="array" variable="$indexes">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="35" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$columns</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$constraints</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$indexes</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="91" package="Query\Drivers">
|
|
<name>delete_table</name>
|
|
<full_name>\SQLite_Util::delete_table()</full_name>
|
|
<docblock line="91">
|
|
<description>SQL to drop the specified table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="91" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="91" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="104" package="Query\Drivers">
|
|
<name>backup_data</name>
|
|
<full_name>\SQLite_Util::backup_data()</full_name>
|
|
<docblock line="104">
|
|
<description>Create an SQL backup file for the current database's data</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="104" description="" type="array" variable="$excluded">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="104" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$excluded</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="171" package="Query\Drivers">
|
|
<name>backup_structure</name>
|
|
<full_name>\SQLite_Util::backup_structure()</full_name>
|
|
<docblock line="171">
|
|
<description>Create an SQL backup file for the current database's structure</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="171" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="24">
|
|
<name>query</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="24"/>
|
|
<tag name="return" line="24" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="24" description="" method_name="query"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="24">
|
|
<name>quote</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="24"/>
|
|
<tag name="return" line="24" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="24" description="" method_name="quote"/>
|
|
</docblock>
|
|
</method>
|
|
</class>
|
|
<source>eJzNWG1P20gQ/uz8iqkVyTYNca/qJ1LaUghXKg5akl5Pgipy7E2yxVkb7xrIVfz3m9ldvyTQ0pN60vEB7NmZ2ZlnZ58Z8/J1vsg74dZWB7bgY8mKFT7Q82HBmBHA25KnCSsghINIRdNIMtibSlVEseKZgONoxQpr9SaP4stozhyn8gVvolItssJxxnyZqcUK3vfhc1QUTOjVOMtXBZ8vlLNfPYEfB/D82W/PYZv+vNB6KReX4DgLpXK5E4ZzrhbltB9nyzC65pF6gZGEzZ4pj5mQzOijer7gqVRlMWeZQKN+eRnGWcLCZBol21YZDcNOJwxh+5f9dCpkRx+PuWLbMmcxn/EYpghTmfeAL/OsUBCJBOKCRRrPJUO8ErmBKDTJyXJaCQ8Kfs0KqcXGDpb8liVwRdo+HhIXc+jKqzRo61j5VZkp1iipItAYxGkkpQ158knxFNitYiKRcPDWvH/rdBzKzEGf+5m4ZoIzETPIyymCCbNSmNJQmUmLQQSC3QBWT8rISltiakW0rILpimjJIAxP6E82A7VgjX6li3UTraAbZ2m5FBK1q6dIkp9Il49RQkzDrACjALuvQK1yjDDiCNdDHoW2F4q8tqyahe/acpGwW7Zhp4Vtk4Jh/Qmw6ZIs7DibgBm0JjpvXyPSq7PtPRDrrhb5QW8jlkoedJxvHcexLiZGaRfs6gCP0cGoz1hWzCPB/2YYNp5ZJKw74y2BG7xtVW5czLJiqUvVWA/nsOb/nN4o9C/1TkbRcTw6A4/g6ff7vVraJHR/TYewIcasHAyCRfHC77YqoNqYtLu0FSlS/g6f+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jT8MR+C21HilRZn0vGHgWqKriGujah2d6ZxNXa7qyhtXJ24Nv3UcijwtxIVpEgS8EdeM/qFmi6nuNg/8j8SMKZYyBtrrjv6D42tpvaP0QvzTSFfKTXOmNzecbzsxfS7x9mlB0MIa7N8eRmu3x9btk/2spmOwe/CB5nFTtEGtq6txDifelaROkUCMEraFpYMqmdhBAHwfNe+NSY6wr547+JTDED3SkMwtJid/A/XyR/wNI0AGK</source>
|
|
</file>
|
|
<file path="drivers/sqlite/sqlite_driver.php" generated-path="drivers.sqlite.sqlite_driver.html" hash="c9fc903ae245d9fba62590a057768263" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="22" package="Query\Drivers">
|
|
<extends>\Abstract_Driver</extends>
|
|
<name>SQLite</name>
|
|
<full_name>\SQLite</full_name>
|
|
<docblock line="22">
|
|
<description>SQLite specific class</description>
|
|
<long-description>Extends PDO to simplify cross-database issues</long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Drivers"/>
|
|
</docblock>
|
|
<property static="false" visibility="protected" line="29" namespace="" package="Query\Drivers">
|
|
<name>$statement</name>
|
|
<default></default>
|
|
<docblock line="29">
|
|
<description>Reference to the last executed sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="29" description="" type="\PDOStatement" variable="">
|
|
<type link="PDOStatement.html">\PDOStatement</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="39" package="Query\Drivers">
|
|
<name>__construct</name>
|
|
<full_name>\SQLite::__construct()</full_name>
|
|
<docblock line="39">
|
|
<description>Open SQLite Database</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="39" description="" type="string" variable="$dsn">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="39" description="" type="string" variable="$user">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="39" description="" type="string" variable="$pass">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="39" description="" type="array" variable="$driver_options">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$dsn</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$user</name>
|
|
<default>NULL</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pass</name>
|
|
<default>NULL</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$driver_options</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="52" package="Query\Drivers">
|
|
<name>truncate</name>
|
|
<full_name>\SQLite::truncate()</full_name>
|
|
<docblock line="52">
|
|
<description>Empty a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="52" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="70" package="Query\Drivers">
|
|
<name>get_tables</name>
|
|
<full_name>\SQLite::get_tables()</full_name>
|
|
<docblock line="70">
|
|
<description>List tables for the current database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="70" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="85" package="Query\Drivers">
|
|
<name>get_system_tables</name>
|
|
<full_name>\SQLite::get_system_tables()</full_name>
|
|
<docblock line="85">
|
|
<description>List system tables for the current database</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="85" description="" type="string[]">
|
|
<type>string[]</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="101" package="Query\Drivers">
|
|
<name>insert_batch</name>
|
|
<full_name>\SQLite::insert_batch()</full_name>
|
|
<docblock line="101">
|
|
<description>Create sql for batch insert</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="101" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="101" description="" type="array" variable="$data">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="101" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
</class>
|
|
<source>eJy1VlFv4zYMfrZ/BVEEiFMk8Xa4p9zatUtSDEPW7poc9jAMPllWYqG2rEp0cV7R/z5KtpOul24YcM1LDIr8SH38SPuHH3Wuw/j0NIRT+FgL09CDe74yQrQG+KmWRSYMxLBgyFJmBVymFg3jKCsFK9YI00VdaMbv2E4EQY8FF6zGvDJBsJFlhXkDv0zhd2aMUP6UV7oxcpdjMO+fIOIjePfd9+9g4v7ee79CqjsIghxR21kc7yTmdTrlVRmzB8nwPVUSH3IWkgtlRetP7jqXhcXa7ESlKGha38W8ykScpSybdM4UGIdhHMPkm/3Cntn1x5VEAVYLLreSAy+YtS84g0P5tk5748LIB2GsL85H9VjiCwqV2X0rktYTHsMwcFkDAroVW0FEcwFYAeYCCAApUvAaRQb2voB7n5ScfcDFAzPw2+JmjQxFKRQ6axwG2lQouIsZ2P7ow7NEN1qovrBeJAdQzQwrgcqUageDzKpj5tqSio7YtWPqmZ2kwxpC8bdNKu00aPsy65SaCdtatdJMEk6HaGqOkcs7btOcXX9arcYtdPd8FPXMW6PRKAwewyAgaSzW1yAtWFnqooHPRCDdeBZrhnmMFcnpM/lRnUTPbPY8+0nn+ujKeDrpCulqGH0IgyfH5rfV3r47y1JjAwyoL8WrbdkfHuGR7qA4tT1qvQ58dC3PmSX4ze2n6/nlZgmOvlL+xVzsuHVMawRVga21rgzCtjJej6TbmhVAY1wylU3Jd+BEeQbDxXK1JKir25tf4WQ4bRNPhydDJ7tggLm0k/O9FimiM3k9Rw5l5D2NoLFX8DLgjRlfSZozX7Ld35XXbukhZF/NR1djKb+I7JUO7AQmLV7Usd8R1V/svpice4ekoNxRe/mBofzHqdkzk6XJVhYoTOS8J+dbgTy/LIqI1sBsdrXczH9OLtfrm/loDEPFSjF8a7l68mxjqVP/m8NWzX/8+S80tsgv2IzjTsqVosF2enbp2qFNStqatFm7CXH3xpyhWwTVFphqgNYBqZrRop0eiG2Xx/AfGG/O3dwIhr5wz1nKqJkg6e1m8D8H/+WGJY6PcPsKs22OxCfs1sS4xfh6i25Ijo49VSE8uC8MpjWBuZj+RbWVRqTSZM863fPqFrZn8Yle1kuVuSZ0JLfre0qfNH8DnkaIkg==</source>
|
|
</file>
|
|
<file path="drivers/sqlite/sqlite_sql.php" generated-path="drivers.sqlite.sqlite_sql.html" hash="428faedff25baa350d57de73043eea27" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="22" package="Query\Drivers">
|
|
<extends/>
|
|
<implements>\iDB_SQL</implements>
|
|
<name>SQLite_SQL</name>
|
|
<full_name>\SQLite_SQL</full_name>
|
|
<docblock line="22">
|
|
<description>SQLite Specific SQL</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="32" package="Query\Drivers">
|
|
<name>limit</name>
|
|
<full_name>\SQLite_SQL::limit()</full_name>
|
|
<docblock line="32">
|
|
<description>Limit clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="32" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="32" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="50" package="Query\Drivers">
|
|
<name>explain</name>
|
|
<full_name>\SQLite_SQL::explain()</full_name>
|
|
<docblock line="50">
|
|
<description>Get the query plan for the sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="50" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="50" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="62" package="Query\Drivers">
|
|
<name>random</name>
|
|
<full_name>\SQLite_SQL::random()</full_name>
|
|
<docblock line="62">
|
|
<description>Random ordering keyword</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="62" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="74" package="Query\Drivers">
|
|
<name>db_list</name>
|
|
<full_name>\SQLite_SQL::db_list()</full_name>
|
|
<docblock line="74">
|
|
<description>Returns sql to list other databases</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="74" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="86" package="Query\Drivers">
|
|
<name>table_list</name>
|
|
<full_name>\SQLite_SQL::table_list()</full_name>
|
|
<docblock line="86">
|
|
<description>Returns sql to list tables</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="86" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="103" package="Query\Drivers">
|
|
<name>system_table_list</name>
|
|
<full_name>\SQLite_SQL::system_table_list()</full_name>
|
|
<docblock line="103">
|
|
<description>Overridden in SQLite class</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="103" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="115" package="Query\Drivers">
|
|
<name>view_list</name>
|
|
<full_name>\SQLite_SQL::view_list()</full_name>
|
|
<docblock line="115">
|
|
<description>Returns sql to list views</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="115" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="129" package="Query\Drivers">
|
|
<name>trigger_list</name>
|
|
<full_name>\SQLite_SQL::trigger_list()</full_name>
|
|
<docblock line="129">
|
|
<description>Returns sql to list triggers</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="129" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="141" package="Query\Drivers">
|
|
<name>function_list</name>
|
|
<full_name>\SQLite_SQL::function_list()</full_name>
|
|
<docblock line="141">
|
|
<description>Return sql to list functions</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="141" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="153" package="Query\Drivers">
|
|
<name>procedure_list</name>
|
|
<full_name>\SQLite_SQL::procedure_list()</full_name>
|
|
<docblock line="153">
|
|
<description>Return sql to list stored procedures</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="153" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="165" package="Query\Drivers">
|
|
<name>sequence_list</name>
|
|
<full_name>\SQLite_SQL::sequence_list()</full_name>
|
|
<docblock line="165">
|
|
<description>Return sql to list sequences</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="165" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="177" package="Query\Drivers">
|
|
<name>type_list</name>
|
|
<full_name>\SQLite_SQL::type_list()</full_name>
|
|
<docblock line="177">
|
|
<description>SQL to show list of field types</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="177" description="" type="string[]">
|
|
<type>string[]</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="190" package="Query\Drivers">
|
|
<name>column_list</name>
|
|
<full_name>\SQLite_SQL::column_list()</full_name>
|
|
<docblock line="190">
|
|
<description>SQL to show infromation about columns in a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="190" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="190" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
</class>
|
|
<source>eJzNV1Fv2zYQfpZ+xU0oIDtIrK3o05ZgtWM5y6DYjeyiLbYhoCXKIiKRKkklM4L89x0pKWlTu4uBpqlfSJ3v+3jfnXikDn+v8soN9vZc2IPzmso1Tsx8IiltDDCqWZFSCQGMiSZLoigMl0pLkmgmOERkTWWLel2R5JKsqON0XPCa1DoX0nEWrBQ6X8OfA3hHpKTc/puIai3ZKtfOcTeDXtKHlz//8hIOzPDK+hWMX4Lj5FpX6tcgWDGd18tBIsqAXDGiX2Ekwf2aBUsoV7TxR/cqZ4XStVxRwRE0qC+DRKQ0SJckPWidERi4bhDAwTf7uV1m5+cR0xTmFU1YxhLz/CBjcB+8qpedcSzZFZXKhpYURKmW6QIHYGVV0JJyrYCNR9Z047qOWdJBnoiVTAOiatSGBmvE5SQpAavH+ApeqI/Fp2bGNbwoDO4Lq8gyRVuzpJhK3pIYU+A6Vb3EPEJW8+atsCw9s8B+S7nfkRxNhtE87LvOjes4LIMe/ARMXfC6pJIlvdarjw7Ww2mXM1wD728enZ6dLuCmIb31fkOXW5T9dTeYTSbz0Dw37BZnYN+43nfZP6EadE7ho91CVUE4ZEJaEwbYmP+3Ko9JNP0XyRm3qW5z2sK88P2baHg6hfO3YfwBcD5F/ej25OJjwlNRgpDYNoyiS7q+xod7vY8RJi1J73NNPsTD6Xh21uv7T63BLqhstbTA91lpwP6FfTBtu6D6Qs/0bRRtUZMuLwzFAzkG8Aw6MP5iQ/hfLYfFbNJweHho2hlu1HkYhccL8DgpqWcMk3h2Bh6ubFpWSZSm0trf/RHGIXh6XVHvyLfMvrHP4nEYw+hDSwHjcH7sIvkTp2iGPVayNKUce13Xq2273S1Fao0Ky4utmXqmal8xer2jEgPZodawqdDwaZXhCHxD6n+Hcm584/FmsTIn6Q5btsU8ayU/E9FFtpOKbvLjyFBaSJpCJUVC01ru1kfvUD+QHoqnOU9209GBnkmGuSxi/CoX1+3RlkHGaJGC2a7busVf/2zbKgjapATv+WTd80+ni/AkjP198ONwGJlxEb5fmHEUzUZ+/zuqZTyToiQ2bLIUNV6RRVGX2C+w95PmmNt2Mbv783FdtCFu8tJgH1xm3sTDk7Nhe7RiYKLn+YPGc+B73RXnFj9KQp6aErUd1lxx8bvtP+t7jbw=</source>
|
|
</file>
|
|
<file path="drivers/firebird/firebird_sql.php" generated-path="drivers.firebird.firebird_sql.html" hash="617ad88d71fd0da1a0f593d3a9b9d6d2" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="22" package="Query\Drivers">
|
|
<extends/>
|
|
<implements>\iDB_SQL</implements>
|
|
<name>Firebird_SQL</name>
|
|
<full_name>\Firebird_SQL</full_name>
|
|
<docblock line="22">
|
|
<description>Firebird Specific SQL</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="32" package="Query\Drivers">
|
|
<name>limit</name>
|
|
<full_name>\Firebird_SQL::limit()</full_name>
|
|
<docblock line="32">
|
|
<description>Limit clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="32" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="32" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="57" package="Query\Drivers">
|
|
<name>explain</name>
|
|
<full_name>\Firebird_SQL::explain()</full_name>
|
|
<docblock line="57">
|
|
<description>Get the query plan for the sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="57" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="57" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="69" package="Query\Drivers">
|
|
<name>random</name>
|
|
<full_name>\Firebird_SQL::random()</full_name>
|
|
<docblock line="69">
|
|
<description>Random ordering keyword</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="69" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="82" package="Query\Drivers">
|
|
<name>db_list</name>
|
|
<full_name>\Firebird_SQL::db_list()</full_name>
|
|
<docblock line="82">
|
|
<description>Returns sql to list other databases</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="82" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="94" package="Query\Drivers">
|
|
<name>table_list</name>
|
|
<full_name>\Firebird_SQL::table_list()</full_name>
|
|
<docblock line="94">
|
|
<description>Returns sql to list tables</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="94" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="111" package="Query\Drivers">
|
|
<name>system_table_list</name>
|
|
<full_name>\Firebird_SQL::system_table_list()</full_name>
|
|
<docblock line="111">
|
|
<description>Returns sql to list system tables</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="111" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="128" package="Query\Drivers">
|
|
<name>view_list</name>
|
|
<full_name>\Firebird_SQL::view_list()</full_name>
|
|
<docblock line="128">
|
|
<description>Returns sql to list views</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="128" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="143" package="Query\Drivers">
|
|
<name>trigger_list</name>
|
|
<full_name>\Firebird_SQL::trigger_list()</full_name>
|
|
<docblock line="143">
|
|
<description>Returns sql to list triggers</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="143" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="158" package="Query\Drivers">
|
|
<name>function_list</name>
|
|
<full_name>\Firebird_SQL::function_list()</full_name>
|
|
<docblock line="158">
|
|
<description>Return sql to list functions</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="158" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="170" package="Query\Drivers">
|
|
<name>procedure_list</name>
|
|
<full_name>\Firebird_SQL::procedure_list()</full_name>
|
|
<docblock line="170">
|
|
<description>Return sql to list stored procedures</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="170" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="198" package="Query\Drivers">
|
|
<name>sequence_list</name>
|
|
<full_name>\Firebird_SQL::sequence_list()</full_name>
|
|
<docblock line="198">
|
|
<description>Return sql to list sequences</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="198" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="215" package="Query\Drivers">
|
|
<name>column_list</name>
|
|
<full_name>\Firebird_SQL::column_list()</full_name>
|
|
<docblock line="215">
|
|
<description>Return sql to list columns of the specified table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="215" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="215" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="261" package="Query\Drivers">
|
|
<name>type_list</name>
|
|
<full_name>\Firebird_SQL::type_list()</full_name>
|
|
<docblock line="261">
|
|
<description>SQL to show list of field types</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="261" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
</class>
|
|
<source>eJzNWFtvm0gUfoZfMbIi2alSk6TZ7qXJ7mLAKS0Bl0ujSCtRjMc2CgbKJV0ryn/fM8xgwCbbeNVtmpfgOZf5zncuM3D+R7JMeOHFCx69QB8KnK7hgTyPU4zpAhoVQTjDKRKQ7OXe1MswEqdZnnp+HsQR0rw1TpnVn4nn33oLzHGVL/SnV+TLOOU4O1jF+XKN3g3RtZemOCqlfpys02CxzDmpekID/xCdHp+copfk31mpFwbRLeK4ZZ4n2W+CsAjyZTEd+vFK8O4CLz8DJEK9Zxj4OMow1Qf1ZBmEWV6kCxxHYDQsbgU/nmFhNvVmL5kyGAo8Lwjo5Tf74ytmx0GKp0E6Q1aC/WAe+Mj6oG1xhmr4WTGtFuU0uMNpVoLzQy/LNr5ccIGCVRLiFY7yDAXyqFy653mObMuBJy1YBTkCuwLig4VyETZMvRWCDAbRAh1kn8PmchDl6CAkdjur8XyeYbacYqAzYk7IksBzSTEFLtG8iGhllF4GZIMj5vKocnIxFjVLOeS5e57jgPP3GCcoX2LkF6Q0cgRGFcLMm2M0j1PkoVVMYgWTgxhKxSVKF2UEb3iySH/3x6pp2ag/RAOAfci2LjWCORowBOh3dAz7lwCo5RBMkfVenTRMqe4b0Hlo7JCkeOGmOAk9Hw96nyxFUyT7U9A7Qj36jO6J5kOPxMuAHpYAGG0UMvjkeO7bVhxXJ/8SgiSUfi67GMBGJYtkiYRRLn+1KJ6SZ/w3OA+iMtMspdtxfusw6yhNL5rFKxSnMKII9Fu8/gI/6sCe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brxAX/Xs60x76rYOxRcbEsFRi8V0GPfkgBxM+W8Zf2Jv9nGYZkTLa94YNJnsciaRy2eWkumlv8t5rXsCJ4u7B2FSGTA76W9Osf4T6Hb3SP+y4kzR9kUPiaAdi6+WPf+AFQYlmlC32uRMOy2GyTP4BSi/B6Q==</source>
|
|
</file>
|
|
<file path="drivers/firebird/firebird_util.php" generated-path="drivers.firebird.firebird_util.html" hash="07b3e5c66d149f1f06c981b0e086370a" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="25" package="Query\Drivers">
|
|
<extends>\DB_Util</extends>
|
|
<name>Firebird_Util</name>
|
|
<full_name>\Firebird_Util</full_name>
|
|
<docblock line="25">
|
|
<description>Firebird-specific backup, import and creation methods</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="25" description="Query"/>
|
|
<tag name="subpackage" line="25" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="37" package="Query\Drivers">
|
|
<name>create_table</name>
|
|
<full_name>\Firebird_Util::create_table()</full_name>
|
|
<docblock line="37">
|
|
<description>Convienience public function to generate sql for creating a db table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="37" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="37" description="" type="array" variable="$fields">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="37" description="" type="array" variable="$constraints">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="37" description="" type="array" variable="$indexes">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="37" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$fields</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$constraints</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$indexes</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="93" package="Query\Drivers">
|
|
<name>delete_table</name>
|
|
<full_name>\Firebird_Util::delete_table()</full_name>
|
|
<docblock line="93">
|
|
<description>Drop the selected table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="93" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="93" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="105" package="Query\Drivers">
|
|
<name>backup_structure</name>
|
|
<full_name>\Firebird_Util::backup_structure()</full_name>
|
|
<docblock line="105">
|
|
<description>Create an SQL backup file for the current database's structure</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="105" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="120" package="Query\Drivers">
|
|
<name>backup_data</name>
|
|
<full_name>\Firebird_Util::backup_data()</full_name>
|
|
<docblock line="120">
|
|
<description>Create an SQL backup file for the current database's data</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="120" description="" type="array" variable="$exclude">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="120" description="" type="bool" variable="$system_tables">
|
|
<type>bool</type>
|
|
</tag>
|
|
<tag name="return" line="120" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$exclude</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$system_tables</name>
|
|
<default>FALSE</default>
|
|
<type>bool</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="25">
|
|
<name>get_system_tables</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="25"/>
|
|
<tag name="return" line="25" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="25" description="" method_name="get_system_tables"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="25">
|
|
<name>get_tables</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="25"/>
|
|
<tag name="return" line="25" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="25" description="" method_name="get_tables"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="25">
|
|
<name>query</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="25"/>
|
|
<tag name="return" line="25" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="25" description="" method_name="query"/>
|
|
</docblock>
|
|
</method>
|
|
</class>
|
|
<markers>
|
|
<todo line="107">Implement Backup structure function</todo>
|
|
</markers>
|
|
<source>eJzNV21v2zYQ/iz/iqthTFLh2G3RT3Hd1rGdLYUbt7azfUgLg5Zoi4tEKSSV1Cv633ck9WY361qgAxYEsHQ83t3z8Hh3evEqi7JW//HjFjyG9zkVe3zQz+eCU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zrE8/1PKIgLOYbV2qgeYBR0x/rBdb6utrtFQwgttV8MocLTAqaaF9nNo5Ks7LR4Ot/yYx+PM6XopPRT0Gchwf9eJNidescDCI/zKb26JXG6/Z5aHV4PpotpzXdE0xFkTBO4T5iQWTzXJdAyCW1BfvQAGCRXy2upnV5K+UW3ho70Q7zWkVMnrx8YLzCiOq1UujbkuM4NDZujyw/sKNZo85ZjCggzVVdiSTs0xzClLsK7glXx82n4Mn/Rxwh2yJ2K+xWh1b77aC7LEd4tty5g6pg2ij0cZgE0a2iGBWbvaNwp7uGavQKa205nU3HKz0SL+ZvdRXA809wj1/3D9Fkxo6gZva0q+hvXWjgz8nLLVVBNIpj791kfnp6Pl2Nf1uPlsv52I5KJhUMVyQM9elrBCbFWaO6A5OWPjt54BdImnNsPoUzH17AUx8bKsepNKeV4UuysbfEdlpdzyRszFhtxle9dkP3suwkWyakApHeN5sTInltD0arVj6vn3wsEOCAKKlQa9wnjwZBHURxibV9q4h3CgW6yMiDuaNkTh8M2mpOGvhapccdiXPMQ6NinWgv7/MUndg1bYFTGmL3QLC6hRstzEJ9m7MUNytseovJWcf18VoNobyblcdDlwnJPAvrF3PsuPlW+3P1nbJxPLzJ1dnjHijZAdCoros2hml3cbmcLlZwcbmaHyUdePhe9ep2t91s1rjuw++j2dV0id29VuuWPnuuP3AHrSaLl1ezWSlpnJydQeqomtNq48LhVND+wD/w5XSF1Wh0uRyNVxfzy8EH3q7co0K7C03jfg9l4/nbtxerQbu6yOVYUZs3/eSL/sid4gcnZuW2/IjL8aOtl0XZ35A6qO0=</source>
|
|
</file>
|
|
<file path="drivers/firebird/firebird_result.php" generated-path="drivers.firebird.firebird_result.html" hash="bfb81ae30bf57f1b4db941dc9d1d1209" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="23" package="Query\Drivers">
|
|
<extends>\PDOStatement</extends>
|
|
<name>Firebird_Result</name>
|
|
<full_name>\Firebird_Result</full_name>
|
|
<docblock line="23">
|
|
<description>Firebird result class to emulate PDOStatement Class - only implements
|
|
data-fetching methods</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="23" description="Query"/>
|
|
<tag name="subpackage" line="23" description="Drivers"/>
|
|
</docblock>
|
|
<property static="false" visibility="private" line="30" namespace="" package="Query\Drivers">
|
|
<name>$statement</name>
|
|
<default></default>
|
|
<docblock line="30">
|
|
<description>Reference to fbird resource</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="30" description="" type="resource" variable="">
|
|
<type>resource</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="private" line="37" namespace="" package="Query\Drivers">
|
|
<name>$row</name>
|
|
<default></default>
|
|
<docblock line="37">
|
|
<description>Current row in result array</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="37" description="" type="int" variable="">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="private" line="44" namespace="" package="Query\Drivers">
|
|
<name>$result</name>
|
|
<default>array()</default>
|
|
<docblock line="44">
|
|
<description>Data pulled from query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="44" description="" type="mixed" variable="">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="52" package="Query\Drivers">
|
|
<name>__construct</name>
|
|
<full_name>\Firebird_Result::__construct()</full_name>
|
|
<docblock line="52">
|
|
<description>Create the object by passing the resource for
|
|
the query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="52" description="" type="resource" variable="$link">
|
|
<type>resource</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$link</name>
|
|
<default></default>
|
|
<type>resource</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="86" package="Query\Drivers">
|
|
<name>bindColumn</name>
|
|
<full_name>\Firebird_Result::bindColumn()</full_name>
|
|
<docblock line="86">
|
|
<description>Invalidate method for data consistency</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="86" description="" type="mixed" variable="$column">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="86" description="" type="mixed" variable="$param">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="86" description="" type="int" variable="$type">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="86" description="" type="mixed" variable="$maxlen">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="86" description="" type="array" variable="$driverdata">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="86" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$column</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="true">
|
|
<name>$param</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$type</name>
|
|
<default>NULL</default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$maxlen</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$driverdata</name>
|
|
<default>NULL</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="103" package="Query\Drivers">
|
|
<name>bindParam</name>
|
|
<full_name>\Firebird_Result::bindParam()</full_name>
|
|
<docblock line="103">
|
|
<description>Invalidate method for data consistency</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="103" description="" type="mixed" variable="$parameter">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="103" description="" type="mixed" variable="$variable">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="103" description="" type="int" variable="$data_type">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="103" description="" type="mixed" variable="$maxlen">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="103" description="" type="array" variable="$driverdata">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="103" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$parameter</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="true">
|
|
<name>$variable</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data_type</name>
|
|
<default>NULL</default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$maxlen</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$driverdata</name>
|
|
<default>NULL</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="118" package="Query\Drivers">
|
|
<name>bindValue</name>
|
|
<full_name>\Firebird_Result::bindValue()</full_name>
|
|
<docblock line="118">
|
|
<description>Invalidate method for data consistency</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="118" description="" type="mixed" variable="$parameter">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="118" description="" type="mixed" variable="$variable">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="118" description="" type="int" variable="$data_type">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="118" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$parameter</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$variable</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data_type</name>
|
|
<default>NULL</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="131" package="Query\Drivers">
|
|
<name>execute</name>
|
|
<full_name>\Firebird_Result::execute()</full_name>
|
|
<docblock line="131">
|
|
<description>Run a prepared statement query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="131" description="" type="array" variable="$args">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="131" description="" type="\Firebird_Result">
|
|
<type link="Firebird_Result.html">\Firebird_Result</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$args</name>
|
|
<default>NULL</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="154" package="Query\Drivers">
|
|
<name>fetch</name>
|
|
<full_name>\Firebird_Result::fetch()</full_name>
|
|
<docblock line="154">
|
|
<description>Emulate PDO fetch public function</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="154" description="" type="int" variable="$fetch_style">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="154" description="" type="mixed" variable="$cursor_orientation">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="154" description="" type="mixed" variable="$cursor_offset">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="154" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$fetch_style</name>
|
|
<default>\PDO::FETCH_ASSOC</default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$cursor_orientation</name>
|
|
<default>\PDO::FETCH_ORI_NEXT</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$cursor_offset</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="199" package="Query\Drivers">
|
|
<name>fetchAll</name>
|
|
<full_name>\Firebird_Result::fetchAll()</full_name>
|
|
<docblock line="199">
|
|
<description>Emulate PDO fetchAll public function</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="199" description="" type="int" variable="$fetch_style">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="199" description="" type="mixed" variable="$statement">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="param" line="199" description="" type="mixed" variable="$ctor_args">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="199" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$fetch_style</name>
|
|
<default>\PDO::FETCH_ASSOC</default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$statement</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$ctor_args</name>
|
|
<default>NULL</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="221" package="Query\Drivers">
|
|
<name>fetchColumn</name>
|
|
<full_name>\Firebird_Result::fetchColumn()</full_name>
|
|
<docblock line="221">
|
|
<description>Emulate PDOStatement::fetchColumn</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="221" description="" type="int" variable="$column_num">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="221" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$column_num</name>
|
|
<default>0</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="236" package="Query\Drivers">
|
|
<name>fetchObject</name>
|
|
<full_name>\Firebird_Result::fetchObject()</full_name>
|
|
<docblock line="236">
|
|
<description>Emulate PDOStatement::fetchObject, but only for the default use</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="236" description="" type="string" variable="$class_name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="236" description="" type="array" variable="$ctor_args">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="236" description="" type="\stdClass">
|
|
<type link="stdClass.html">\stdClass</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$class_name</name>
|
|
<default>'stdClass'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$ctor_args</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="248" package="Query\Drivers">
|
|
<name>rowCount</name>
|
|
<full_name>\Firebird_Result::rowCount()</full_name>
|
|
<docblock line="248">
|
|
<description>Return the number of rows affected by the previous query</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="248" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="268" package="Query\Drivers">
|
|
<name>errorCode</name>
|
|
<full_name>\Firebird_Result::errorCode()</full_name>
|
|
<docblock line="268">
|
|
<description>Method to emulate PDOStatement->errorCode</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="268" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="280" package="Query\Drivers">
|
|
<name>errorInfo</name>
|
|
<full_name>\Firebird_Result::errorInfo()</full_name>
|
|
<docblock line="280">
|
|
<description>Method to emulate PDO->errorInfo / PDOStatement->errorInfo</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="280" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
</class>
|
|
<source>eJztWFtv2zYUfpZ/xVlhNHZr12nRp3TumrjJli5tuiTdBhSFQEmUzUUWNZJKYhT97zuHlGRJlpsOaNM9LC+xyMNzv3zkjz9li6w3efCgBw/gt5yrFf6g30eKc7cAB7lIIq5gAi+ZYQHTHPYDbRQLjZApnLAVV8WpFxkLL9mce17JC16w3Cyk8rwLsZRmsYJXj+APphRP7W4os5US84XxZuUvGIRDeLL7+AmM6d9TS5eI9BI8b2FMpvcmk7kwizx4FMrlhF0JZp6iJpO1zESEPNXc0SN5thCJNrmac5nioUf55SSUEZ9EAYvGBTEenPR6kwmMv9pfr/TskVA8ECoCxXWeGAgTpjUYCXyZJ8xwePvy9NzgjyVPDczs7hhkmqxALLPELmtiFGEExjE34UKkc1hydG2kW86HtR90HpSLL5W44kpbK534Uin/zCnFbwxPI93U5WOv55ERHrI74zHHuIWcNI9Le2SuQk77lubFFVON1UnPy1A0GdnXJdtnNa6znJLBgJLXINLSQ5ghbNXkKlLTZohn6qwoPyHLk4RHECu5hL+tJyouGVNsCUtxw6MNTk7s1AkeDBsaKk40ZsFBBn/x0ECwggxdSDGg1dJeiKWyJ2ixU3ZF2aeELpXIA8xBiPPUVZTvhzLFAstDM7B0w573sed5fbMQevy88iJqa7ef1fa4OaLseI3ZPcBA7u0dHV7MfvH3z89PZ8MaIXl7CuPH9aUOF3hYDzXz68EZgZa4yAxccwhZCnPughjKnLLVnV3w8LLpI7PK+AgCHrIcO0mmOHoG41VZpZE9h3sYba5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VadLaFa2r+vsfnw/dx0ahvKyF517T2XYCL1wKLCAcdt24k4jamt9u3Djp8i4ugA3d01oE1k35s+52an0qDGfrpTnttpZHyR301guC0G2EuH3xowOg3sCMmXAVc0kzDWGlgco03YG4JVCeSuhMx1G0oWNtQen1oeQm4zevEY1BKP4KIDQaUYn1bXbyo/I7jrUKoMteYJPTNZVWgErmROTyzFvCskTKewS+8VjVeMNprc8qCxQXbL20ZplH3baQGCrhHyraHda3eD2vKCOn7OlZJqJiO+EUhXKtsgf3ls0MzgAtAqFdq972FcYdNxGkuYdFlLOxvWVs+o24ylU1XmknVV5tat9fpLPa/v4Oeggedd4e9SM8BDdPnWc+enT/SmfphGlORxefFyqfMI7zf/ADFsG28=</source>
|
|
</file>
|
|
<file path="drivers/firebird/firebird_driver.php" generated-path="drivers.firebird.firebird_driver.html" hash="a1ed6c09f69db341a8775394ab96ed35" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="24" package="Query\Drivers">
|
|
<extends>\Abstract_Driver</extends>
|
|
<name>Firebird</name>
|
|
<full_name>\Firebird</full_name>
|
|
<docblock line="24">
|
|
<description>Firebird Database class</description>
|
|
<long-description>PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.</long-description>
|
|
<tag name="package" line="24" description="Query"/>
|
|
<tag name="subpackage" line="24" description="Drivers"/>
|
|
</docblock>
|
|
<property static="false" visibility="protected" line="31" namespace="" package="Query\Drivers">
|
|
<name>$statement</name>
|
|
<default>NULL</default>
|
|
<docblock line="31">
|
|
<description>Reference to the last query executed</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="31" description="" type="object" variable="">
|
|
<type>object</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="39" namespace="" package="Query\Drivers">
|
|
<name>$statement_link</name>
|
|
<default>NULL</default>
|
|
<docblock line="39">
|
|
<description>Reference to the resource returned by
|
|
the last query executed</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="39" description="" type="resource" variable="">
|
|
<type>resource</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="46" namespace="" package="Query\Drivers">
|
|
<name>$trans</name>
|
|
<default>NULL</default>
|
|
<docblock line="46">
|
|
<description>Reference to the current transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="46" description="" type="resource" variable="">
|
|
<type>resource</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<property static="false" visibility="protected" line="53" namespace="" package="Query\Drivers">
|
|
<name>$conn</name>
|
|
<default>NULL</default>
|
|
<docblock line="53">
|
|
<description>Reference to the connection resource</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="53" description="" type="resource" variable="">
|
|
<type>resource</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="63" package="Query\Drivers">
|
|
<name>__construct</name>
|
|
<full_name>\Firebird::__construct()</full_name>
|
|
<docblock line="63">
|
|
<description>Open the link to the database</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="63" description="" type="string" variable="$dbpath">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="63" description="" type="string" variable="$user">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="63" description="" type="string" variable="$pass">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="63" description="" type="array" variable="$options">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$dbpath</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$user</name>
|
|
<default>'SYSDBA'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$pass</name>
|
|
<default>'masterkey'</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$options</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="98" package="Query\Drivers">
|
|
<name>truncate</name>
|
|
<full_name>\Firebird::truncate()</full_name>
|
|
<docblock line="98">
|
|
<description>Empty a database table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="98" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="113" package="Query\Drivers">
|
|
<name>exec</name>
|
|
<full_name>\Firebird::exec()</full_name>
|
|
<docblock line="113">
|
|
<description>Execute an sql statement and return number of affected rows</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="113" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="113" description="" type="int">
|
|
<type>int</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="132" package="Query\Drivers">
|
|
<name>getAttribute</name>
|
|
<full_name>\Firebird::getAttribute()</full_name>
|
|
<docblock line="132">
|
|
<description>Implement for compatibility with PDO</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="132" description="" type="int" variable="$attribute">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="132" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$attribute</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="144" package="Query\Drivers">
|
|
<name>inTransaction</name>
|
|
<full_name>\Firebird::inTransaction()</full_name>
|
|
<docblock line="144">
|
|
<description>Return whether the current statement is in a transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="144" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="157" package="Query\Drivers">
|
|
<name>lastInsertId</name>
|
|
<full_name>\Firebird::lastInsertId()</full_name>
|
|
<docblock line="157">
|
|
<description>Returns the last value of the specified generator</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="157" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="157" description="" type="mixed">
|
|
<type>mixed</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default>NULL</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="171" package="Query\Drivers">
|
|
<name>query</name>
|
|
<full_name>\Firebird::query()</full_name>
|
|
<docblock line="171">
|
|
<description>Wrapper public function to better match PDO</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="171" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="171" description="" type="\Firebird_Result">
|
|
<type link="Firebird_Result.html">\Firebird_Result</type>
|
|
</tag>
|
|
<tag name="throws" line="171" description="" type="\PDOException">
|
|
<type link="PDOException.html">\PDOException</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="199" package="Query\Drivers">
|
|
<name>prepare</name>
|
|
<full_name>\Firebird::prepare()</full_name>
|
|
<docblock line="199">
|
|
<description>Emulate PDO prepare</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="199" description="" type="string" variable="$query">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="199" description="" type="array" variable="$options">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="199" description="" type="\Firebird_Result">
|
|
<type link="Firebird_Result.html">\Firebird_Result</type>
|
|
</tag>
|
|
<tag name="throws" line="199" description="" type="\PDOException">
|
|
<type link="PDOException.html">\PDOException</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$query</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$options</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="218" package="Query\Drivers">
|
|
<name>beginTransaction</name>
|
|
<full_name>\Firebird::beginTransaction()</full_name>
|
|
<docblock line="218">
|
|
<description>Start a database transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="218" description="" type="boolean|null">
|
|
<type>boolean</type>
|
|
<type>null</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="230" package="Query\Drivers">
|
|
<name>commit</name>
|
|
<full_name>\Firebird::commit()</full_name>
|
|
<docblock line="230">
|
|
<description>Commit a database transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="230" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="244" package="Query\Drivers">
|
|
<name>rollBack</name>
|
|
<full_name>\Firebird::rollBack()</full_name>
|
|
<docblock line="244">
|
|
<description>Rollback a transaction</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="244" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="259" package="Query\Drivers">
|
|
<name>setAttribute</name>
|
|
<full_name>\Firebird::setAttribute()</full_name>
|
|
<docblock line="259">
|
|
<description>Set a connection attribute</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="259" description="" type="int" variable="$attribute">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="259" description="" type="mixed" variable="$value">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="259" description="" type="bool">
|
|
<type>bool</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$attribute</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$value</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="273" package="Query\Drivers">
|
|
<name>prepare_execute</name>
|
|
<full_name>\Firebird::prepare_execute()</full_name>
|
|
<docblock line="273">
|
|
<description>Prepare and execute a query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="273" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="273" description="" type="array" variable="$args">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="273" description="" type="\Firebird_Result">
|
|
<type link="Firebird_Result.html">\Firebird_Result</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$args</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="292" package="Query\Drivers">
|
|
<name>quote</name>
|
|
<full_name>\Firebird::quote()</full_name>
|
|
<docblock line="292">
|
|
<description>Method to emulate PDO->quote</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="292" description="" type="string" variable="$str">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="292" description="" type="int" variable="$param_type">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="292" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$str</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$param_type</name>
|
|
<default>\PDO::PARAM_STR</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="309" package="Query\Drivers">
|
|
<name>errorInfo</name>
|
|
<full_name>\Firebird::errorInfo()</full_name>
|
|
<docblock line="309">
|
|
<description>Method to emulate PDO->errorInfo / PDOStatement->errorInfo</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="309" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="324" package="Query\Drivers">
|
|
<name>errorCode</name>
|
|
<full_name>\Firebird::errorCode()</full_name>
|
|
<docblock line="324">
|
|
<description>Method to emulate PDO->errorCode</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="324" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="338" package="Query\Drivers">
|
|
<name>prepare_query</name>
|
|
<full_name>\Firebird::prepare_query()</full_name>
|
|
<docblock line="338">
|
|
<description>Bind a prepared query with arguments for executing</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="338" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="338" description="" type="array" variable="$params">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="338" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$params</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="354" package="Query\Drivers">
|
|
<name>insert_batch</name>
|
|
<full_name>\Firebird::insert_batch()</full_name>
|
|
<docblock line="354">
|
|
<description>Create sql for batch insert</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="354" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="354" description="" type="array" variable="$data">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="354" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$data</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
</class>
|
|
<source>eJzVWVtv28YSfqZ+xUQQIiqQpbToQ+FUTXxRABdOk0oqiqI4IJbkSmJNkczu0o7Q9r93Znd5k0VbPidKTwPEkpazs3P9Zmb53etsnXXGL1504AX8lHOxxS/0/a3g3CzAeR7FIRcwhkummM8khzNfKsECFaUJXLMtF3bXm4wFN2zFHafgBW9YrtapcJxFtEnVegs/jOAXJgRP9NMgzbYiWq2Vc1F8AzcYwNcvv/oaTujjG00XR8kNOM5aqUyejserSK1zfxSkmzG7jZj6BiUZV2fGUcATyQ09kmfrKJYqFyueJrhplN+MgzTk49Bn4Yklx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uLH9NcwgYvbDzSXgjcQlgErsylJcXAiNX0sZs1W/wiivP6hXMF7zbuRCc4oZGXLKqr2f2SF9APHqxu2Nakv9wMDNnePpAew08NDx25hQ9aJi3n3Tvf0vWZVmGzHQhse+vDrHiX/Rid4ouSpclvWfu+UfZOvsbt3DaZQ==</source>
|
|
</file>
|
|
<file path="drivers/pgsql/pgsql_util.php" generated-path="drivers.pgsql.pgsql_util.html" hash="4e3b9c1712320508f0f9b9720000582a" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="24" package="Query\Drivers">
|
|
<extends>\DB_Util</extends>
|
|
<name>PgSQL_Util</name>
|
|
<full_name>\PgSQL_Util</full_name>
|
|
<docblock line="24">
|
|
<description>Posgres-specific backup, import and creation methods</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="24" description="Query"/>
|
|
<tag name="subpackage" line="24" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="35" package="Query\Drivers">
|
|
<name>create_table</name>
|
|
<full_name>\PgSQL_Util::create_table()</full_name>
|
|
<docblock line="35">
|
|
<description>Database-specific method to create a new table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="35" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="35" description="" type="array" variable="$columns">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="35" description="" type="array" variable="$constraints">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="35" description="" type="array" variable="$indexes">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="35" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$columns</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$constraints</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$indexes</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="91" package="Query\Drivers">
|
|
<name>delete_table</name>
|
|
<full_name>\PgSQL_Util::delete_table()</full_name>
|
|
<docblock line="91">
|
|
<description>Database-specific SQL for dropping a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="91" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="91" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="103" package="Query\Drivers">
|
|
<name>backup_structure</name>
|
|
<full_name>\PgSQL_Util::backup_structure()</full_name>
|
|
<docblock line="103">
|
|
<description>Create an SQL backup file for the current database's structure</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="103" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="117" package="Query\Drivers">
|
|
<name>backup_data</name>
|
|
<full_name>\PgSQL_Util::backup_data()</full_name>
|
|
<docblock line="117">
|
|
<description>Create an SQL backup file for the current database's data</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="117" description="" type="array" variable="$exclude">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="117" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$exclude</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="24">
|
|
<name>query</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="24"/>
|
|
<tag name="return" line="24" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="24" description="" method_name="query"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="24">
|
|
<name>get_tables</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="24"/>
|
|
<tag name="return" line="24" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="24" description="" method_name="get_tables"/>
|
|
</docblock>
|
|
</method>
|
|
</class>
|
|
<markers>
|
|
<todo line="105">Implement Backup function</todo>
|
|
</markers>
|
|
<source>eJzNV21v2zYQ/iz/iqsRTFLh2G3RT3HTNondroUXp4m7fUgKg5Zom4tEqSKVxAvy33dHUi92g64DOmD5Eul4rw9Pz51fvcnXeWfw9GkHnsKnkhcbfKDndwXnVgDHpUhiXsAARkyzBVMcjhZKFyzSIpMwYRteOKu3OYuu2Yp7XuUL3rJSr7PC82YizfR6Ax/78AcrCi7NaZTlm0Ks1to7qZ4giEJ48ez5C9infy+NXiLkNXjeWutcHQwGK6HX5aIfZemA3QimX2ImgyZmIiIuFbf6qJ6vRaJ0Wax4JtGoX14Poizmg3jB4n2njIaDTmcwgP2f9tepkD3L1Krgal/lPBJLEcECcSrzHog0zwoNTMYQFZwZQFOOgMVqB1JoqlPlohKOCnHDC2XE1g5Sccdj+EraAd6SkCvYU1+TsK2D+LMNrLie44Um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RKJ2wUJ4Bc9DnDxSC1lyx8Y2i9PPk0kd6ZQtbHvZGUWfv4KF2Sg10Q2dXfONqrh4KQqlochu2/SOTt/amyLVOonLZ19cSbhbKV7oOdqpnR2KknDdT/6tIvYqCuibVFsTu4KSbgp9tWc0vtb9csOSEpvSqNggFOVTmWEQe0YeJOcxLmhYLA3Ab72kLA9spr+Yq+2B/5Vc+LgyOteP2vjUIH6t06m15o7Csak+nF6Mz2fw4XQ23WkpHGJ+vxpdfrfX9VuzC89D+P1o8nl8AUFLrVeF6/vh0B922ok11711DXYkN1m1l7amYxvj9jdGk/NKXslunQG+0oxt+Q/7JKs/0WrCNl4Moz7Qz7Qx/mbC9spXKJ2X+OukTz9l/wZmQ0cI</source>
|
|
</file>
|
|
<file path="drivers/pgsql/pgsql_sql.php" generated-path="drivers.pgsql.pgsql_sql.html" hash="459fc290a5aebe50dcfe2f1ad15390ee" package="Default">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="21" package="Query\Drivers">
|
|
<extends/>
|
|
<implements>\iDB_SQL</implements>
|
|
<name>PgSQL_SQL</name>
|
|
<full_name>\PgSQL_SQL</full_name>
|
|
<docblock line="21">
|
|
<description>PostgreSQL specifc SQL</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="21" description="Query"/>
|
|
<tag name="subpackage" line="21" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="31" package="Query\Drivers">
|
|
<name>limit</name>
|
|
<full_name>\PgSQL_SQL::limit()</full_name>
|
|
<docblock line="31">
|
|
<description>Limit clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="31" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="31" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="31" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="31" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="51" package="Query\Drivers">
|
|
<name>explain</name>
|
|
<full_name>\PgSQL_SQL::explain()</full_name>
|
|
<docblock line="51">
|
|
<description>Get the query plan for the sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="51" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="51" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="63" package="Query\Drivers">
|
|
<name>random</name>
|
|
<full_name>\PgSQL_SQL::random()</full_name>
|
|
<docblock line="63">
|
|
<description>Random ordering keyword</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="63" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="75" package="Query\Drivers">
|
|
<name>db_list</name>
|
|
<full_name>\PgSQL_SQL::db_list()</full_name>
|
|
<docblock line="75">
|
|
<description>Returns sql to list other databases</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="75" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="91" package="Query\Drivers">
|
|
<name>table_list</name>
|
|
<full_name>\PgSQL_SQL::table_list()</full_name>
|
|
<docblock line="91">
|
|
<description>Returns sql to list tables</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="91" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="109" package="Query\Drivers">
|
|
<name>system_table_list</name>
|
|
<full_name>\PgSQL_SQL::system_table_list()</full_name>
|
|
<docblock line="109">
|
|
<description>Returns sql to list system tables</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="109" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="127" package="Query\Drivers">
|
|
<name>view_list</name>
|
|
<full_name>\PgSQL_SQL::view_list()</full_name>
|
|
<docblock line="127">
|
|
<description>Returns sql to list views</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="127" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="145" package="Query\Drivers">
|
|
<name>trigger_list</name>
|
|
<full_name>\PgSQL_SQL::trigger_list()</full_name>
|
|
<docblock line="145">
|
|
<description>Returns sql to list triggers</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="145" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="162" package="Query\Drivers">
|
|
<name>function_list</name>
|
|
<full_name>\PgSQL_SQL::function_list()</full_name>
|
|
<docblock line="162">
|
|
<description>Return sql to list functions</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="162" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="174" package="Query\Drivers">
|
|
<name>procedure_list</name>
|
|
<full_name>\PgSQL_SQL::procedure_list()</full_name>
|
|
<docblock line="174">
|
|
<description>Return sql to list stored procedures</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="174" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="192" package="Query\Drivers">
|
|
<name>sequence_list</name>
|
|
<full_name>\PgSQL_SQL::sequence_list()</full_name>
|
|
<docblock line="192">
|
|
<description>Return sql to list sequences</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="192" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="210" package="Query\Drivers">
|
|
<name>column_list</name>
|
|
<full_name>\PgSQL_SQL::column_list()</full_name>
|
|
<docblock line="210">
|
|
<description>Return sql to list columns of the specified table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="210" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="210" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="233" package="Query\Drivers">
|
|
<name>type_list</name>
|
|
<full_name>\PgSQL_SQL::type_list()</full_name>
|
|
<docblock line="233">
|
|
<description>SQL to show list of field types</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="233" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
</class>
|
|
<source>eJzVWG1T4zYQ/mz/im3mZhyYEN/d3KceTJuA6dEJhEvSXvulHsVWbA227JNkuAylv70rWc4bvZIwHLR8Qaz32dU++yKJwx/KtHT9/X0X9uFjRcUcF3p9KiitBdCvWBZTAT6cEEWmRFLoTaUSJFKs4DAgcyos6kdSqbQQ4DgTlhcqncPPXfhEhKDcfI6Kci5YkirnuFlBO9qDt6/fvIUD/eud0csYv0IjqVKl/N73E6bSatqNitwn14yod+jXb3artSPKcVdGH9XLlGVSVSKhBUdQt7ryoyKmfjwl8YFVRqDvur4PB0/24zY8XhZSJYKOPw5AljRiswhw3VBUkuiKJBSW+5fVtBGeCHZNhTS7izIiJVwmiA21LZaXGc0pVxLYSd+Ibl3X0U4dNDNgOVOAoAqjQ4ERojdBcsBsMZ7AK/k5WxUzruBVpnH3pMVsJqkVC4pkcmtEi3zXKaspMgmzitdVYKy0tYOONdlpjByd9gbjYM91bl3H0RrQPYIWDM7OzyZwWyvftd5jKA6btZkMeZVTwaK2xe8h1GBXwMPT03Gg0bWKhjvOnTZhN6tVUXbnOsjQk2bZWVL+E1WgUgqfTZ+UGeEww+rXIr1TI34wFduwS7+gccYNv5ZIC2sFv10OemcX8Gsw6g/HAVKCOoYPTccTF/gi8hHhcZFDIXAw6HCu6PwG/1gGu01Uwhhprwfkwah3cTI8b+953zoG41CaVKkCK1gqwJmFky62c07uFk88DbWRjYAODw9192P5joNBcDyBFprnJKctOB0Nz6FVJmHjsKXVPn0IRsGK1sVwApjgtqcoTgCi6Guvs1i/8XR3OMPRSTCC/u8rsN742EXHL0AixpLtyp3BbEdfrWqC1OKaRMax83KibYUySmlOWt1aU66SWmPVvESCjsDr97BjJr3+IPC0EhZeo2JtWPL1R6ftYaYizFRWJF4HvPsuvb33L0S5nEusiEcxX0PD/2oC/gfkXzN6syPpGvKvZMOCba26MS6Mw1VWawZWx8XWpC1oX/r57i/w/kCktz5ZlgovOFrwzpjoC9Juw6VGbVXd+w+VtN3BWlFb+48cGs/G5RqVDTv3ubz4ZTD4CpPN4p+o1LDnD0OqQtAYSlFENK7ErtNvgdtu9ImiUoxvN/ys7nqjmvcAix5dKoshiRM0rGIV2pbFWWqr0Hu+MbieCIr3XR7tfPxY2Hb8R5pXmm3Qr3nTj6WWVlhh22pfMR6b02a8MdEaS8860NZIi4qsynHGFbP61VCXB9azOQS/9nZYfNyO4tpJTXCNfYBmvMkzTrKwLCTTFjqmPq0ZzVgt0LdWc5SvfY/pjFSZqmXmNZdl2qdVSon+xwEOy5x8YXmVhxnliUrrr/blF5YCeZDoeZHj+83Qtdwt8728l+hk39ah3q3nfDO0ZbN8y4eifqtjymVa3Nh3xgwwzRnmGenb9TTTrb/dRW1ebtwc7HjBvsA/zC1s9Rhr1JsLwJ+htzpwFre26UYfNcAFl3eu7wc81mGWCdY7Jpuzslum5d+97/A0</source>
|
|
</file>
|
|
<file path="drivers/pgsql/pgsql_driver.php" generated-path="drivers.pgsql.pgsql_driver.html" hash="5b3a144cea418edb48580ee7e81010af" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="22" package="Query\Drivers">
|
|
<extends>\Abstract_Driver</extends>
|
|
<name>PgSQL</name>
|
|
<full_name>\PgSQL</full_name>
|
|
<docblock line="22">
|
|
<description>PostgreSQL specifc class</description>
|
|
<long-description>Extends PDO to simplify cross-database issues</long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="32" package="Query\Drivers">
|
|
<name>__construct</name>
|
|
<full_name>\PgSQL::__construct()</full_name>
|
|
<docblock line="32">
|
|
<description>Connect to a PosgreSQL database</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="32" description="" type="string" variable="$dsn">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="string" variable="$username">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="string" variable="$password">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="array" variable="$options">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$dsn</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$username</name>
|
|
<default>null</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$password</name>
|
|
<default>null</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$options</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="46" package="Query\Drivers">
|
|
<name>truncate</name>
|
|
<full_name>\PgSQL::truncate()</full_name>
|
|
<docblock line="46">
|
|
<description>Empty a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="46" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="59" package="Query\Drivers">
|
|
<name>get_schemas</name>
|
|
<full_name>\PgSQL::get_schemas()</full_name>
|
|
<docblock line="59">
|
|
<description>Get a list of schemas for the current connection</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="59" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
</class>
|
|
<source>eJy1VE1z2jAQPcu/YsukY8gE3GZyItCWgtOmpeQDOrl0xiNkYWtiS44kp2Uy+e9d2QaSTNJTygXJ+/bp7duVBh+LtPCC/X0P9uGi5HqNC7c+0ZzXH+BzKbKYawhgQi1dUsNhtDRWU2aFkjCla66brE8FZdc04YRsuOATLW2qNCELkSubruFbD66o1lxWUaaKtRZJasl4s4I268Dhu/eH0HV/RxUuE/IaCEmtLUw/CBJh03LZYyoP6K2g9giVBLszM8G4NLzGI7xIRWZsqROuJCb1yuuAqZgH8ZLG3QaMiYHnBQF0X+3nbZw9V8Ymms8vpmAKzsSKAcuoMU9sg10FplxuPk60uOXaVPqqLDhPHBP/Y7mMzbYZUQ2EO88j7lyCPGMlJWcWrALqVDQi4qaRDlPhUIGmOSCRkAnsxUY+97k0XEua8+diBQr7rXT8MIZtpmuAPVW4STEuFHikKJdoOaxKWQ9QFDEMWl0y23YnH+wOGsoyyw525M2+5t3QDqttu9PxyJ1HiFhBG9kKZRo2v0jMTeZ3YDgcwsloOg87VYUwbEJ9v+f2x+gbQeFc2n7/H6Ie6DnYiugce+TeGf+687NtZJgXdo09xL5lL7ZtG3zGZSxFMmp5u0Y1Zu1h+c6HxeXP2Xi0CKHlQ68hwoXf8o8dyqbCdD/cuOlsu5T/Xe0XbrHWTBgLagWGpTynBlZKg005sNI9HxZYPdxY3c4QzfGay3pCXnAi4TZqKNuPbRgMBng7cE/m4TQcL2ByOl+cznDRqhNc+1twcnn2A1pFElU2mZZLuPoaXoaPYbOzBUxPv4duyn5Fb30HG80mj0Fv0HwhsbKcOnGNMN9DHdU8NvU0HYirGx49bcQ9PluhjJ1X1UBHNa6Hb/tftUCs/w==</source>
|
|
</file>
|
|
<file path="drivers/mysql/mysql_sql.php" generated-path="drivers.mysql.mysql_sql.html" hash="858c825aff246cb97b143e0aa5d9792f" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="22" package="Query\Drivers">
|
|
<extends/>
|
|
<implements>\iDB_SQL</implements>
|
|
<name>MySQL_SQL</name>
|
|
<full_name>\MySQL_SQL</full_name>
|
|
<docblock line="22">
|
|
<description>MySQL specifc SQL</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="32" package="Query\Drivers">
|
|
<name>limit</name>
|
|
<full_name>\MySQL_SQL::limit()</full_name>
|
|
<docblock line="32">
|
|
<description>Limit clause</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="32" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="int" variable="$limit">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="param" line="32" description="" type="int" variable="$offset">
|
|
<type>int</type>
|
|
</tag>
|
|
<tag name="return" line="32" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$limit</name>
|
|
<default></default>
|
|
<type>int</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$offset</name>
|
|
<default>FALSE</default>
|
|
<type>int</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="50" package="Query\Drivers">
|
|
<name>explain</name>
|
|
<full_name>\MySQL_SQL::explain()</full_name>
|
|
<docblock line="50">
|
|
<description>Get the query plan for the sql query</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="50" description="" type="string" variable="$sql">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="50" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$sql</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="62" package="Query\Drivers">
|
|
<name>random</name>
|
|
<full_name>\MySQL_SQL::random()</full_name>
|
|
<docblock line="62">
|
|
<description>Random ordering keyword</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="62" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="74" package="Query\Drivers">
|
|
<name>db_list</name>
|
|
<full_name>\MySQL_SQL::db_list()</full_name>
|
|
<docblock line="74">
|
|
<description>Returns sql to list other databases</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="74" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="87" package="Query\Drivers">
|
|
<name>table_list</name>
|
|
<full_name>\MySQL_SQL::table_list()</full_name>
|
|
<docblock line="87">
|
|
<description>Returns sql to list tables</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="87" description="" type="string" variable="$database">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="87" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$database</name>
|
|
<default>''</default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="101" package="Query\Drivers">
|
|
<name>system_table_list</name>
|
|
<full_name>\MySQL_SQL::system_table_list()</full_name>
|
|
<docblock line="101">
|
|
<description>Overridden in MySQL class</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="101" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="114" package="Query\Drivers">
|
|
<name>view_list</name>
|
|
<full_name>\MySQL_SQL::view_list()</full_name>
|
|
<docblock line="114">
|
|
<description>Returns sql to list views</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="114" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="126" package="Query\Drivers">
|
|
<name>trigger_list</name>
|
|
<full_name>\MySQL_SQL::trigger_list()</full_name>
|
|
<docblock line="126">
|
|
<description>Returns sql to list triggers</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="126" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="138" package="Query\Drivers">
|
|
<name>function_list</name>
|
|
<full_name>\MySQL_SQL::function_list()</full_name>
|
|
<docblock line="138">
|
|
<description>Return sql to list functions</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="138" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="150" package="Query\Drivers">
|
|
<name>procedure_list</name>
|
|
<full_name>\MySQL_SQL::procedure_list()</full_name>
|
|
<docblock line="150">
|
|
<description>Return sql to list stored procedures</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="150" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="162" package="Query\Drivers">
|
|
<name>sequence_list</name>
|
|
<full_name>\MySQL_SQL::sequence_list()</full_name>
|
|
<docblock line="162">
|
|
<description>Return sql to list sequences</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="162" description="" type="NULL">
|
|
<type>NULL</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="174" package="Query\Drivers">
|
|
<name>type_list</name>
|
|
<full_name>\MySQL_SQL::type_list()</full_name>
|
|
<docblock line="174">
|
|
<description>SQL to show list of field types</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="174" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="187" package="Query\Drivers">
|
|
<name>column_list</name>
|
|
<full_name>\MySQL_SQL::column_list()</full_name>
|
|
<docblock line="187">
|
|
<description>SQL to show infromation about columns in a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="187" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="187" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
</class>
|
|
<source>eJzFV21v2kgQ/mz/imlUCYgSfK36qXfR1QEn4WQgxUbpSZXwYi94Fb91d52chfjvnbUNgRRyQSpKvmQZz8zO8+zsM/Zff2dhphunpzqcwtec8gIXan3FKa0McJmzKKAcDOgSSaZEUDCnQnLiS5YmYJOC8jrqS0b8ezKnmrbKBV9ILsOUa5rL4lSGBfzThjvCOU3Kp36aFZzNQ6l1Vito+i34+MeHj3Cu/n0q/SKW3IOmhVJm4rNhzJkM82nbT2ODPDAiP2ElxtOeEfNpImjlj+5ZyCIhcz6naYJB7fze8NOAGsGUBOe1MwYaum4YcP7b/vQVs/3C+WqDyKjPZj7g+hlf8FS6yKcrY5ezB8pFWZgfESGqPBOVi8VZRGOaSAGse1maFrquqf00TGOzmEnAoByBoaE04m6cxIBHx5I5vBc/ok0zSyS8j1TcL9Z0NhO0NnOKPCZ1EmUydC3Lp0gizPKkaokyS1NtcFanPFslubgybcdq6dpC1zQ2gya8AyYmSR5Tzvxm7dVCh9JDq7dTudonYPf6PRcWVc7lyZ/osUTUe7yqXMuzrQDl/5sPec36NZUgQwo/ynuTRSSBWcpLE1ZWmf/3NF5DMP0Pk7OkpLjmsg47sb7d2mZvANY31xp0rS6CR6ejQx+RJEhjSDkqhcJzT4tH/PGE9jWweJmkuY2oASNz0G22GsdGUG4nypOSKfawkICChcIX1LInDkMTTCcqyTM4J87N8A66pmtemo7lwN2NNbLAW0mrB+8uGizBtomJyjIRfkhj0jj6+e1AjxVFm6C3G3bFyusJKfNVnKyjLxqNbTGgcSaLp+etFmwRh7TZyNrVaNgHb7F2W3pI0EbPbPgeu2+GqNGcBQFNUCxrpS/V+rBuEYWQNJ5scPTsGjiWbXVc8EpUk4HZt7yahl/bxWtXbo6nNLRusSrQ6dxYfdO7+L6jy7433uKSPTD6eCBZKuRFkioaExLTF0kqt/beAjSim8/VcD8Idx21G3rZ8qPe9bU1OnrTj+piNxCtijwQ0mqxH9PVeNBxe8MBOK7pjt8CmpAppwFkPPVpkPNDB8E6bj/G29GwY3XHeE3fDiTF95PE3wFuMLbtfapVB+1CpsKODENpLdYvwvSxHtgzmDEaBSCL7NBjUiG7J3YlKt2e4/YGSl3U9J64/96+rMCdoT3uDxzv2KN7kwQshKdVIUCmaY7fAGmUxyg+OJtINYH3DfT1w9fRVSWux3kZu+tF5wqbAGomKrIWlXP9RrrELy4rCdTBxQW240S9wuM36U/hTd8B</source>
|
|
</file>
|
|
<file path="drivers/mysql/mysql_util.php" generated-path="drivers.mysql.mysql_util.html" hash="62224db014e75896a16d3cefe97c7ea2" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="28" package="Query\Drivers">
|
|
<extends>\DB_Util</extends>
|
|
<name>MySQL_Util</name>
|
|
<full_name>\MySQL_Util</full_name>
|
|
<docblock line="28">
|
|
<description>MySQL-specific backup, import and creation methods</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="28" description="Query"/>
|
|
<tag name="subpackage" line="28" description="Drivers"/>
|
|
</docblock>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="40" package="Query\Drivers">
|
|
<name>create_table</name>
|
|
<full_name>\MySQL_Util::create_table()</full_name>
|
|
<docblock line="40">
|
|
<description>Convienience public function for creating a new MySQL table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="40" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="40" description="" type="array" variable="$columns">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="40" description="" type="array" variable="$constraints">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="40" description="" type="array" variable="$indexes">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="40" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$columns</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$constraints</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$indexes</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="106" package="Query\Drivers">
|
|
<name>delete_table</name>
|
|
<full_name>\MySQL_Util::delete_table()</full_name>
|
|
<docblock line="106">
|
|
<description>Convience public function for droping a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="106" description="" type="string" variable="$name">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="106" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$name</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="118" package="Query\Drivers">
|
|
<name>backup_structure</name>
|
|
<full_name>\MySQL_Util::backup_structure()</full_name>
|
|
<docblock line="118">
|
|
<description>Create an SQL backup file for the current database's structure</description>
|
|
<long-description></long-description>
|
|
<tag name="return" line="118" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="154" package="Query\Drivers">
|
|
<name>backup_data</name>
|
|
<full_name>\MySQL_Util::backup_data()</full_name>
|
|
<docblock line="154">
|
|
<description>Create an SQL backup file for the current database's data</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="154" description="" type="array" variable="$exclude">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="return" line="154" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$exclude</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="28">
|
|
<name>get_dbs</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="28"/>
|
|
<tag name="return" line="28" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="28" description="" method_name="get_dbs"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="28">
|
|
<name>driver_query</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="28"/>
|
|
<tag name="return" line="28" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="28" description="" method_name="driver_query"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="28">
|
|
<name>get_system_tables</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="28"/>
|
|
<tag name="return" line="28" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="28" description="" method_name="get_system_tables"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="28">
|
|
<name>get_tables</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="28"/>
|
|
<tag name="return" line="28" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="28" description="" method_name="get_tables"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="28">
|
|
<name>query</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="28"/>
|
|
<tag name="return" line="28" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="28" description="" method_name="query"/>
|
|
</docblock>
|
|
</method>
|
|
<method final="false" static="false" visibility="public" line="28">
|
|
<name>quote</name>
|
|
<docblock>
|
|
<description/>
|
|
<long-description/>
|
|
<tag name="magic" line="28"/>
|
|
<tag name="return" line="28" type="">
|
|
<type/>
|
|
</tag>
|
|
<tag name="method" line="28" description="" method_name="quote"/>
|
|
</docblock>
|
|
</method>
|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94tyD4bjWK3dUd8qCJhJNaQOH4YjfHFXhgNaaqqonl1aLJsF7+lfCCC8A80h3mFmFH6YD+nfL33SKDIg=</source>
|
|
</file>
|
|
<file path="drivers/mysql/mysql_driver.php" generated-path="drivers.mysql.mysql_driver.html" hash="31da925b2585514da69c61d34b067d35" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<class final="false" abstract="false" namespace="" line="22" package="Query\Drivers">
|
|
<extends>\Abstract_Driver</extends>
|
|
<name>MySQL</name>
|
|
<full_name>\MySQL</full_name>
|
|
<docblock line="22">
|
|
<description>MySQL specific class</description>
|
|
<long-description>Extends PDO to simplify cross-database issues</long-description>
|
|
<tag name="package" line="22" description="Query"/>
|
|
<tag name="subpackage" line="22" description="Drivers"/>
|
|
</docblock>
|
|
<property static="false" visibility="protected" line="29" namespace="" package="Query\Drivers">
|
|
<name>$escape_char</name>
|
|
<default>'`'</default>
|
|
<docblock line="29">
|
|
<description>Set the backtick as the MySQL escape character</description>
|
|
<long-description></long-description>
|
|
<tag name="var" line="29" description="" type="string" variable="">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
</property>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="39" package="Query\Drivers">
|
|
<name>__construct</name>
|
|
<full_name>\MySQL::__construct()</full_name>
|
|
<docblock line="39">
|
|
<description>Connect to MySQL Database</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="39" description="" type="string" variable="$dsn">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="39" description="" type="string" variable="$username">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="39" description="" type="string" variable="$password">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="param" line="39" description="" type="array" variable="$options">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$dsn</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$username</name>
|
|
<default>null</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$password</name>
|
|
<default>null</default>
|
|
<type>string</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$options</name>
|
|
<default>array()</default>
|
|
<type>array</type>
|
|
</argument>
|
|
</method>
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="61" package="Query\Drivers">
|
|
<name>truncate</name>
|
|
<full_name>\MySQL::truncate()</full_name>
|
|
<docblock line="61">
|
|
<description>Empty a table</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="61" description="" type="string" variable="$table">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$table</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</method>
|
|
</class>
|
|
<source>eJytVFFv2jAQfnZ+xQlVClRAtqoPEx1dGVCpE9C1pJr2lBrHEIvgpLbTLar633d2Euimrk/NS3y+u+87f3f25y95knvB8bEHx3BTcFXiwq4vFefVBnwtRBpzBQFMqKErqjmMVtooyozIJMxoyVWddZFTtqUbTkiDBRe0MEmmCAnFLjNJCd/68IMqxaXzsiwvldgkhoybFbRZB04+fDyBnv2durhUyC0QkhiT60EQbIRJilWfZbuAPgpqTrGS4MCZCsal5lU8hueJSLUp1IZnEpP6xTZgWcyDeEXjXh2MiYHnBQH03u3zGmXn5fJmBjrnTKwFA5ZSrf+RDA7V62LVbE6UeORKu9pcVg3FfxsuY71vRFQFwpPnEctJEGfJDZiEwwqxjGBboNrZNYJmNOfAEmrzsYOY4tIuHqkCRBVyY+3AI7nKDMeYGI6qrMhmwRD8e//sBeE4kxLjwGQ1RzMvB+wc2XY1OhzFWr62XWiuJN3x13w5avArU/FLH04TLeEoy+086qboYoWNhXUhqzGNIoZOowpm2pa4e+AZyiJNuwfs2v4bdujMdqfjkSePEJyTRl8rhubu2HfhZe8TesUa2jFfC8njtv99cj0YzH+iINEoDG+jq8VVGI2v5/PRYuJbPAdIGiLU1VFFO47z2m6263raNpS8BQnDc2gtpyEsRvPpsioJxtez2Sicgu9Mv9W1MJ3OGf6evbpgFCfPdC2Ovyv1Q+p3YDgcwuVotpx2XL9s151r4PetbftPsA1cmsHgDY1fyNvda2r5Lf07X7r9QE53uSmBAk5h+t8h3DtfGRo8imTUYBdcVN37I5MI3Tt/sBe23Qpv7xZjq+39UxX1fN+qDvaMr8lUxpCtwUkWxe6S9vHJ/QP5G5Og</source>
|
|
</file>
|
|
<file path="autoload.php" generated-path="autoload.html" hash="7afb266805221b749d9018545e9442fd" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<constant namespace="" line="23" package="Query">
|
|
<name>QBASE_PATH</name>
|
|
<full_name>\\QBASE_PATH</full_name>
|
|
<value>dirname(__FILE__) . '/'</value>
|
|
<docblock line="23">
|
|
<description>Reference to root path</description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</constant>
|
|
<constant namespace="" line="28" package="Query">
|
|
<name>QDRIVER_PATH</name>
|
|
<full_name>\\QDRIVER_PATH</full_name>
|
|
<value>QBASE_PATH . 'drivers/'</value>
|
|
<docblock line="28">
|
|
<description>Path to driver classes</description>
|
|
<long-description></long-description>
|
|
</docblock>
|
|
</constant>
|
|
<function namespace="" line="38" package="Query">
|
|
<name>query_autoload</name>
|
|
<full_name>\query_autoload()</full_name>
|
|
<docblock line="38">
|
|
<description>Load query classes</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="38" description="" type="string" variable="$class">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$class</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</function>
|
|
<source>eJytU8tu2zAQPEtfsTCCSDISsw1yShs0Tp2gKQI0L7RHgZZWEhFKVEgqrRH437sUJVu59FQDhhfenZ3hcPj5S1u1IZvPQ5jDfYd6Q4WrrzWi/wMuOyFz1MBgxS1fc4OwXBureWaFauCWb1APqIuWZ8+8xCAYd8EF72yldBA8iVrZagPfF/CLa41N381Uu9GirGzwdawgzhI4+fDxBI7dz2k/J0XzDEFQWduaM8ZKYatuvchUzfir4PaUlLA9pxQZNgb9PI23lZDGdrpE1RBo0T2zTOXI8jXPj4dhArIwZAyO/9snHJ1ddlZJxZ2LhdLgStGUwF+5kHwtEfLR2UxyY9AMYjz6AQskvzIEq0ArZaHltupHcixEg3F0f7l8vErvlk/foiPIhW54jXGaXt/cXqVpsohYlHza7bsjtFuVa/FKiqaUu32rh5ufVw/jxv36ReRRZtjISN1LJzSCUTXJV3VNmSi6pg+HCbXvxtMNfmhByZuquiVT4KVP3F7RECrNa6DEOc8O+mYvdmTxqJQPJsd+JAnfwsCXcO7Qrvsb9dgm5oDk97TXJHEtdA4GHZlFuQkDUUA8UqT4Rxhr4qhwY2mmmgYzGyVweAgjx/k5RMWwKErCgOgDCjrfpDVv4yhXqWgy2eVIhpZSreOpyXRFI5bNvTWkMAg0UmwbqrbheJrU3T4daW8pLGA2eMbe/NDW7Zi5Mx74C9uhJqQON873s+7IwqSFkBhPyJIEhntMFcXwXYukoTQ4ICl68ZQwGXyY3kOqsZWc1sxa8mR2BDP6Ti7Fq2jS3ruB6wjuVj/Ozkq0y/HNrHwO48Rx9CT/dptOOhG29S7PvMtb5++2j/MjWuha4LsXG5pW7rJF2ksKAqUoeh+68TVcNTmoYgd3HH8By2WnCw==</source>
|
|
</file>
|
|
<file path="common.php" generated-path="common.html" hash="3a881ecc79a32d7a3ee3bd0a7fbff5f4" package="Query">
|
|
<docblock line="0">
|
|
<description>Query</description>
|
|
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
|
<tag name="package" line="0" description="Query"/>
|
|
<tag name="author" line="0" description="Timothy J. Warren"/>
|
|
<tag name="copyright" line="0" description="Copyright (c) 2012 - 2014"/>
|
|
<tag name="link" line="0" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
|
|
<tag name="license" line="0" description="http://philsturgeon.co.uk/code/dbad-license" link="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
</docblock>
|
|
<function namespace="" line="49" package="Query">
|
|
<name>do_include</name>
|
|
<full_name>\do_include()</full_name>
|
|
<docblock line="49">
|
|
<description>Bulk directory loading workaround for use
|
|
with array_map and glob</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="49" description="" type="string" variable="$path">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="49" description="" type="void">
|
|
<type>void</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$path</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</function>
|
|
<function namespace="" line="65" package="Query">
|
|
<name>mb_trim</name>
|
|
<full_name>\mb_trim()</full_name>
|
|
<docblock line="65">
|
|
<description>Multibyte-safe trim function</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="65" description="" type="string" variable="$string">
|
|
<type>string</type>
|
|
</tag>
|
|
<tag name="return" line="65" description="" type="string">
|
|
<type>string</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$string</name>
|
|
<default></default>
|
|
<type>string</type>
|
|
</argument>
|
|
</function>
|
|
<function namespace="" line="80" package="Query">
|
|
<name>db_filter</name>
|
|
<full_name>\db_filter()</full_name>
|
|
<docblock line="80">
|
|
<description>Filter out db rows into one array</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="80" description="" type="array" variable="$array">
|
|
<type>array</type>
|
|
</tag>
|
|
<tag name="param" line="80" description="" type="mixed" variable="$index">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="80" description="" type="array">
|
|
<type>array</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$array</name>
|
|
<default></default>
|
|
<type>array</type>
|
|
</argument>
|
|
<argument line="0" by_reference="false">
|
|
<name>$index</name>
|
|
<default></default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</function>
|
|
<function namespace="" line="103" package="Query">
|
|
<name>Query</name>
|
|
<full_name>\Query()</full_name>
|
|
<docblock line="103">
|
|
<description>Connection function</description>
|
|
<long-description></long-description>
|
|
<tag name="param" line="103" description="" type="mixed" variable="$params">
|
|
<type>mixed</type>
|
|
</tag>
|
|
<tag name="return" line="103" description="" type="\Query_Builder">
|
|
<type link="Query_Builder.html">\Query_Builder</type>
|
|
</tag>
|
|
<tag name="throws" line="103" description="" type="\InvalidArgumentException">
|
|
<type link="InvalidArgumentException.html">\InvalidArgumentException</type>
|
|
</tag>
|
|
<tag name="throws" line="103" description="" type="\BadDBDriverException">
|
|
<type link="BadDBDriverException.html">\BadDBDriverException</type>
|
|
</tag>
|
|
<tag name="throws" line="103" description="" type="\BadConnectionException">
|
|
<type link="BadConnectionException.html">\BadConnectionException</type>
|
|
</tag>
|
|
</docblock>
|
|
<argument line="0" by_reference="false">
|
|
<name>$params</name>
|
|
<default>''</default>
|
|
<type>mixed</type>
|
|
</argument>
|
|
</function>
|
|
<class final="false" abstract="false" namespace="" line="26" package="Query\Query">
|
|
<extends>\InvalidArgumentException</extends>
|
|
<name>BadDBDriverException</name>
|
|
<full_name>\BadDBDriverException</full_name>
|
|
<docblock line="26">
|
|
<description>Generic exception for bad drivers</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="26" description="Query"/>
|
|
<tag name="subpackage" line="26" description="Query"/>
|
|
</docblock>
|
|
</class>
|
|
<class final="false" abstract="false" namespace="" line="36" package="Query\Query">
|
|
<extends>\UnexpectedValueException</extends>
|
|
<name>BadConnectionException</name>
|
|
<full_name>\BadConnectionException</full_name>
|
|
<docblock line="36">
|
|
<description>Generic exception for bad connection strings</description>
|
|
<long-description></long-description>
|
|
<tag name="package" line="36" description="Query"/>
|
|
<tag name="subpackage" line="36" description="Query"/>
|
|
</docblock>
|
|
</class>
|
|
<source>eJy9WFtv2zYUfpZ+xWlgTFLnRFvRJ2dp6zbt0KFFsiTbMHSdQEu0xUUWVZJKYqT57zukSN1qY9hQL0BimTzX71yVH55XeeXHjx/78Bh+rqnY4IN+fiMobQ7gZc2KjAqI4ZQosiCSwnwhlSCpYryEd2RDheV6UZH0mqyo5zlZ8ILUKufC867Ymqt8Az8dwW9ECFqa25RXG8FWufJeuScI0wiefPf9EzjUH08NXcHKa/C8XKlKzuJ4xVReL45Svo7JDSPqKVoSdzoLltJS0oYeyaucFVLVYkV5iUxH9XWc8ozG2YJkh5YYGWPfj2M4/Go/vkP2x4IvSAFpQaSkMl7WpcFOgsqJgoyXgQJBSVFsYMkUkHJzm1NBgRatXVYQLalgKdC7lFYG/iUXgF5AJtgNFXIUCOgwkfVifBj7xiJ4SbLTl6dGwOtWML1TtMwkvC1vSMGyuVjVa1qqjuD+YW9w7fQy5WVJm7zDDGTl6j87/KqV9KXLv5T0rsJLmv1Kipru1WW2hBAegUuJhN4xqWQYZDxhZVrUGQ2iyL/3PY2Nh369rItryJhA+zhWZ8FJhjjALRfXRPC6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t6udK6e6nI2zzbj+lbqaJSyKzyppnF4tOPT42kLWVNcivCGz+Hdy3GOVYZQ+z7jvuJ/ThACFzPX8gyiWkEzRg28VU4XLc2WCj1pZ+Z56Ot0vSwaQ5fKZTqRtZnReNlIdZtijJmp6M3IrvBwK2utnOt38rfJewB9+Ku9/pjW0lI4eOUOkXqiypk75TpDZpi7xjfT62/J9kbQHbyNLnJyNIO699T+H7pNtm+jnr8rS/DekE0BX7pXbcdITRji1PNyIbhlDbMYUBWe9rhT0Nv7reoNlnW9iDoPltCU1v8FKicMHu3mkndFs/3LJHhkF/7SWYB9kUFzOzqLTrgESFT/a3e1ySmyG2e2hBl3a8YiQLqjfdJbtDR5d6J+2Pl1GrbgijruZxemsJSXPRbyDNSQdSL4GG/3Jze45ZF+0mM3iD0M2nzYzIzkUDEhqrm2eh1+ut9mLYSDdYtmzElsS8bOnr41G9D3iGVMaMi24T3u5Vfxt3L2uvywz4EkO8XvPyqMqrvwH5Vf8K</source>
|
|
</file>
|
|
<package name="Default" full_name="Default"/>
|
|
<package name="Query" full_name="Query">
|
|
<package name="Drivers" full_name="Query\Drivers"/>
|
|
<package name="Query" full_name="Query\Query"/>
|
|
</package>
|
|
<namespace name="global" full_name="global"/>
|
|
<deprecated count="0"/>
|
|
</project>
|