Query/docs/structure.xml

6462 lines
282 KiB
XML
Raw Normal View History

2012-09-13 11:45:27 -04:00
<?xml version="1.0" encoding="utf-8"?>
<project version="2.0.0a2" title="Query">
2013-02-07 16:21:02 -05:00
<file path="classes/query_parser.php" hash="1c64042730f9b7aef4ad7ed401e2a274" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Query">
<name>Query_Parser</name>
<full_name>\Query_Parser</full_name>
<extends/>
<docblock line="16">
<description><![CDATA[Utility Class to parse sql clauses for properly escaping identifiers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
<property final="false" static="false" visibility="private" line="29" package="Default">
<name>$match_patterns</name>
<default><![CDATA[array(
'function' => '([a-zA-Z0-9_]+\((.*?)\))',
'identifier' => '([a-zA-Z0-9_-]+\.?)+',
'operator' => '=|AND|&&?|~|\|\|?|\^|/|>=?|<=?|-|%|OR|\+|NOT|\!=?|<>|XOR'
)]]></default>
<docblock line="24">
<description><![CDATA[Regex patterns for various syntax components]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="40" package="Default">
<name>$matches</name>
<default><![CDATA[array(
'functions' => array(),
'identifiers' => array(),
'operators' => array(),
'combined' => array(),
)]]></default>
<docblock line="35">
<description><![CDATA[Regex matches]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="35" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
<name>__construct</name>
<type>function</type>
<docblock line="47">
<description><![CDATA[Constructor/entry point into parser]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="47" name="param" description="string" type="" variable="$sql"/>
</docblock>
<argument line="52">
<name>$sql</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="74" package="">
<name>parse_join</name>
<type>function</type>
<docblock line="69">
<description><![CDATA[Public parser method for seting the parse string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="69" name="param" description="string" type="" variable="$sql"/>
</docblock>
<argument line="74">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="88" package="">
<name>filter_array</name>
<type>function</type>
<docblock line="82">
<description><![CDATA[Returns a more useful match array]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="82" name="param" description="array" type="" variable="$array"/>
<tag line="82" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="88">
<name>$array</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="classes/db_pdo.php" hash="af9d6d9d4467fed310bdf3db8a80e2b5" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
2012-11-07 08:57:29 -05:00
<parse_markers>
<error line="27" code="50018">No DocBlock was found for property $statement</error>
<error line="30" code="50018">No DocBlock was found for property $escape_char</error>
<error line="33" code="50018">No DocBlock was found for property $sql</error>
<error line="36" code="50018">No DocBlock was found for property $util</error>
<error line="39" code="50018">No DocBlock was found for property $last_query</error>
<error line="42" code="50018">No DocBlock was found for property $table_prefix</error>
</parse_markers>
2012-09-13 11:45:27 -04:00
<class final="false" abstract="true" namespace="default" line="24" package="Query\Query">
<name>DB_PDO</name>
<full_name>\DB_PDO</full_name>
<extends>\PDO</extends>
<docblock line="16">
<description><![CDATA[Base Database class]]></description>
<long-description><![CDATA[<p>Extends PDO to simplify cross-database issues</p>]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
2012-11-07 08:57:29 -05:00
<property final="false" static="false" visibility="protected" line="27" package="Default">
2012-09-13 11:45:27 -04:00
<name>$statement</name>
<default><![CDATA[]]></default>
</property>
2012-11-07 08:57:29 -05:00
<property final="false" static="false" visibility="protected" line="30" package="Default">
2012-09-13 11:45:27 -04:00
<name>$escape_char</name>
<default><![CDATA['"']]></default>
</property>
2012-11-07 08:57:29 -05:00
<property final="false" static="false" visibility="public" line="33" package="Default">
2012-09-13 11:45:27 -04:00
<name>$sql</name>
<default><![CDATA[]]></default>
</property>
2012-11-07 08:57:29 -05:00
<property final="false" static="false" visibility="public" line="36" package="Default">
2012-09-13 11:45:27 -04:00
<name>$util</name>
<default><![CDATA[]]></default>
</property>
2012-11-07 08:57:29 -05:00
<property final="false" static="false" visibility="public" line="39" package="Default">
<name>$last_query</name>
<default><![CDATA[]]></default>
</property>
2012-11-07 08:57:29 -05:00
<property final="false" static="false" visibility="public" line="42" package="Default">
<name>$table_prefix</name>
<default><![CDATA['']]></default>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
2012-09-13 11:45:27 -04:00
<name>__construct</name>
<type>function</type>
2012-11-07 08:57:29 -05:00
<docblock line="44">
2012-09-13 11:45:27 -04:00
<description><![CDATA[PDO constructor wrapper]]></description>
<long-description><![CDATA[]]></long-description>
2012-11-07 08:57:29 -05:00
<tag line="44" name="param" description="" type="string" variable="$dsn">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-11-07 08:57:29 -05:00
<tag line="44" name="param" description="" type="string" variable="$username">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-11-07 08:57:29 -05:00
<tag line="44" name="param" description="" type="string" variable="$password">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-11-07 08:57:29 -05:00
<tag line="44" name="param" description="" type="array" variable="$driver_options">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
2012-11-07 08:57:29 -05:00
<argument line="52">
2012-09-13 11:45:27 -04:00
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-11-07 08:57:29 -05:00
<argument line="52">
2012-09-13 11:45:27 -04:00
<name>$username</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
2012-11-07 08:57:29 -05:00
<argument line="52">
2012-09-13 11:45:27 -04:00
<name>$password</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
2012-11-07 08:57:29 -05:00
<argument line="52">
2012-09-13 11:45:27 -04:00
<name>$driver_options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="88" package="">
2012-09-13 11:45:27 -04:00
<name>prepare_query</name>
<type>function</type>
<docblock line="81">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Simplifies prepared statements for database queries]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="81" name="param" description="" type="string" variable="$sql">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="81" name="param" description="" type="array" variable="$data">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
<tag line="81" name="return" description="PDOStatement / FALSE" type="mixed">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="88">
2012-09-13 11:45:27 -04:00
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="88">
2012-09-13 11:45:27 -04:00
<name>$data</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
2012-09-13 11:45:27 -04:00
<name>prepare_execute</name>
<type>function</type>
<docblock line="132">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Create and execute a prepared statement with the provided parameters]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="132" name="param" description="" type="string" variable="$sql">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="132" name="param" description="" type="array" variable="$params">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
<tag line="132" name="return" description="" type="\PDOStatement">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\PDOStatement</type>
</tag>
</docblock>
<argument line="139">
2012-09-13 11:45:27 -04:00
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="139">
2012-09-13 11:45:27 -04:00
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="155" package="">
2012-09-13 11:45:27 -04:00
<name>get_query_data</name>
<type>function</type>
<docblock line="149">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Retreives the data from a select query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="149" name="param" description="" type="\PDOStatement" variable="$statement">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\PDOStatement</type>
</tag>
<tag line="149" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="155">
2012-09-13 11:45:27 -04:00
<name>$statement</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="174" package="">
2012-09-13 11:45:27 -04:00
<name>affected_rows</name>
<type>function</type>
<docblock line="168">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Returns number of rows affected by an INSERT, UPDATE, DELETE type query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="168" name="param" description="" type="\PDOStatement" variable="$statement">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\PDOStatement</type>
</tag>
<tag line="168" name="return" description="" type="int">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="174">
2012-09-13 11:45:27 -04:00
<name>$statement</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="192" package="">
2012-09-13 11:45:27 -04:00
<name>get_last_error</name>
<type>function</type>
<docblock line="187">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return the last error for the current database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="187" name="return" description="" type="string">
2012-11-07 08:57:29 -05:00
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="207" package="">
2012-11-07 08:57:29 -05:00
<name>quote_table</name>
<type>function</type>
<docblock line="201">
2012-11-07 08:57:29 -05:00
<description><![CDATA[Quote database table name, and set prefix]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="201" name="param" description="" type="string" variable="$table">
2012-11-08 14:31:25 -05:00
<type by_reference="false">string</type>
2012-11-07 08:57:29 -05:00
</tag>
<tag line="201" name="return" description="" type="string">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="207">
2012-11-07 08:57:29 -05:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-09-13 11:45:27 -04:00
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="244" package="">
2012-11-07 08:57:29 -05:00
<name>_prefix</name>
<type>function</type>
<docblock line="238">
2012-11-07 08:57:29 -05:00
<description><![CDATA[Sets the table prefix on the passed string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="238" name="param" description="" type="string" variable="$str">
2012-11-07 08:57:29 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="238" name="return" description="" type="string">
2012-11-07 08:57:29 -05:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="244">
2012-11-07 08:57:29 -05:00
<name>$str</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="263" package="">
2012-09-13 11:45:27 -04:00
<name>quote_ident</name>
<type>function</type>
<docblock line="257">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Surrounds the string with the databases identifier escape characters]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="257" name="param" description="" type="mixed" variable="$ident">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="257" name="return" description="" type="string">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="263">
2012-09-13 11:45:27 -04:00
<name>$ident</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="310" package="">
2012-09-13 11:45:27 -04:00
<name>_quote</name>
<type>function</type>
<docblock line="304">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Helper method for quote_ident]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="304" name="param" description="" type="mixed" variable="$str">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="304" name="return" description="" type="mixed">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="310">
2012-09-13 11:45:27 -04:00
<name>$str</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="336" package="">
2012-09-13 11:45:27 -04:00
<name>empty_table</name>
<type>function</type>
<docblock line="329">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Deletes all the rows from a table. Does the same as the truncate
method if the database does not support 'TRUNCATE';]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="329" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="329" name="return" description="" type="mixed">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="336">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="350" package="">
2012-09-13 11:45:27 -04:00
<name>get_schemas</name>
<type>function</type>
<docblock line="345">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return schemas for databases that list them]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="345" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="362" package="">
2012-09-13 11:45:27 -04:00
<name>get_tables</name>
<type>function</type>
<docblock line="357">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return list of tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="357" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="374" package="">
2012-09-13 11:45:27 -04:00
<name>get_dbs</name>
<type>function</type>
<docblock line="369">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return list of dbs for the current connection, if possible]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="369" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="386" package="">
2012-09-13 11:45:27 -04:00
<name>get_views</name>
<type>function</type>
<docblock line="381">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return list of views for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="381" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="398" package="">
2012-09-13 11:45:27 -04:00
<name>get_sequences</name>
<type>function</type>
<docblock line="393">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return list of sequences for the current database, if they exist]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="393" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="410" package="">
2012-09-13 11:45:27 -04:00
<name>get_functions</name>
<type>function</type>
<docblock line="405">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return list of function for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="405" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="422" package="">
2012-09-13 11:45:27 -04:00
<name>get_procedures</name>
<type>function</type>
<docblock line="417">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return list of stored procedures for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="417" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="434" package="">
2012-09-13 11:45:27 -04:00
<name>get_triggers</name>
<type>function</type>
<docblock line="429">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return list of triggers for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="429" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="447" package="">
2012-09-13 11:45:27 -04:00
<name>get_system_tables</name>
<type>function</type>
<docblock line="441">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Retreives an array of non-user-created tables for
the connection/database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="441" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="460" package="">
2012-09-13 11:45:27 -04:00
<name>get_columns</name>
<type>function</type>
<docblock line="454">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Retrieve column information for the current database table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="454" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="454" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="460">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="472" package="">
2012-09-13 11:45:27 -04:00
<name>get_types</name>
<type>function</type>
<docblock line="467">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Retrieve list of data types for the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="467" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="486" package="">
2012-09-13 11:45:27 -04:00
<name>driver_query</name>
<type>function</type>
<docblock line="479">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Method to simplify retreiving db results for meta-data queries]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="479" name="param" description="" type="string" variable="$sql">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="479" name="param" description="" type="bool" variable="$filtered_index">
2012-09-13 11:45:27 -04:00
<type by_reference="false">bool</type>
</tag>
<tag line="479" name="return" description="" type="mixed">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="486">
2012-09-13 11:45:27 -04:00
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="486">
2012-09-13 11:45:27 -04:00
<name>$filtered_index</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="516" package="">
2012-09-13 11:45:27 -04:00
<name>num_rows</name>
<type>function</type>
<docblock line="510">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="510" name="see" description="\http://us3.php.net/manual/en/pdostatement.rowcount.php#87110" refers="\http://us3.php.net/manual/en/pdostatement.rowcount.php#87110"/>
<tag line="510" name="return" description="" type="int">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="540" package="">
2012-09-13 11:45:27 -04:00
<name>truncate</name>
<type>function</type>
<docblock line="534">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Empty the passed table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="534" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="534" name="return" description="" type="void">
2012-09-13 11:45:27 -04:00
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="540">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="551" package="">
<name>insert_batch</name>
<type>function</type>
<docblock line="544">
<description><![CDATA[Create sql for batch insert]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="544" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="544" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="544" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="551">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="551">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
2012-09-13 11:45:27 -04:00
</class>
</file>
<file path="classes/query_builder.php" hash="1b38488025b183317fd68abbfd28e7c3" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<parse_markers>
2012-11-07 08:57:29 -05:00
<error line="30" code="50018">No DocBlock was found for property $select_string</error>
<error line="33" code="50018">No DocBlock was found for property $from_string</error>
<error line="36" code="50018">No DocBlock was found for property $set_string</error>
<error line="39" code="50018">No DocBlock was found for property $order_string</error>
<error line="42" code="50018">No DocBlock was found for property $group_string</error>
<error line="49" code="50018">No DocBlock was found for property $set_array_keys</error>
<error line="52" code="50018">No DocBlock was found for property $order_array</error>
<error line="55" code="50018">No DocBlock was found for property $group_array</error>
<error line="62" code="50018">No DocBlock was found for property $values</error>
<error line="65" code="50018">No DocBlock was found for property $where_values</error>
<error line="68" code="50018">No DocBlock was found for property $limit</error>
<error line="71" code="50018">No DocBlock was found for property $offset</error>
<error line="74" code="50018">No DocBlock was found for property $sql</error>
2012-11-08 14:31:25 -05:00
<error line="85" code="50018">No DocBlock was found for property $query_map</error>
<error line="88" code="50018">No DocBlock was found for property $having_map</error>
<error line="91" code="50018">No DocBlock was found for property $conn_name</error>
<error line="94" code="50018">No DocBlock was found for property $queries</error>
</parse_markers>
2012-11-07 08:57:29 -05:00
<class final="false" abstract="false" namespace="default" line="23" package="Query\Query">
2012-09-13 11:45:27 -04:00
<name>Query_Builder</name>
<full_name>\Query_Builder</full_name>
<extends/>
2012-12-18 16:19:52 -05:00
<implements>\iQuery_Builder</implements>
2012-11-07 08:57:29 -05:00
<docblock line="16">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Convienience class for creating sql queries - also the class that
instantiates the specific db driver]]></description>
<long-description><![CDATA[]]></long-description>
2012-11-07 08:57:29 -05:00
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
2012-09-13 11:45:27 -04:00
</docblock>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="30" package="Default">
2012-09-13 11:45:27 -04:00
<name>$select_string</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="33" package="Default">
2012-09-13 11:45:27 -04:00
<name>$from_string</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="36" package="Default">
2012-09-13 11:45:27 -04:00
<name>$set_string</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="39" package="Default">
2012-09-13 11:45:27 -04:00
<name>$order_string</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="42" package="Default">
2012-09-13 11:45:27 -04:00
<name>$group_string</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="49" package="Default">
2012-09-13 11:45:27 -04:00
<name>$set_array_keys</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="52" package="Default">
2012-09-13 11:45:27 -04:00
<name>$order_array</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="55" package="Default">
2012-09-13 11:45:27 -04:00
<name>$group_array</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="62" package="Default">
2012-09-13 11:45:27 -04:00
<name>$values</name>
<default><![CDATA[array()]]></default>
2012-09-13 11:45:27 -04:00
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="65" package="Default">
<name>$where_values</name>
<default><![CDATA[array()]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="68" package="Default">
2012-09-13 11:45:27 -04:00
<name>$limit</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="71" package="Default">
2012-09-13 11:45:27 -04:00
<name>$offset</name>
<default><![CDATA[]]></default>
</property>
2012-11-07 08:57:29 -05:00
<property final="false" static="false" visibility="public" line="74" package="Default">
2012-09-13 11:45:27 -04:00
<name>$sql</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="85" package="Default">
2012-09-13 11:45:27 -04:00
<name>$query_map</name>
<default><![CDATA[]]></default>
</property>
2012-12-18 16:19:52 -05:00
<property final="false" static="false" visibility="protected" line="88" package="Default">
2012-09-13 11:45:27 -04:00
<name>$having_map</name>
<default><![CDATA[]]></default>
</property>
2012-11-08 14:31:25 -05:00
<property final="false" static="false" visibility="public" line="91" package="Default">
2012-09-13 11:45:27 -04:00
<name>$conn_name</name>
<default><![CDATA[""]]></default>
</property>
2012-11-08 14:31:25 -05:00
<property final="false" static="false" visibility="public" line="94" package="Default">
2012-09-13 11:45:27 -04:00
<name>$queries</name>
<default><![CDATA[]]></default>
</property>
2012-11-08 14:31:25 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="106" package="">
2012-09-13 11:45:27 -04:00
<name>__construct</name>
<type>function</type>
2012-11-08 14:31:25 -05:00
<docblock line="100">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Constructor]]></description>
<long-description><![CDATA[]]></long-description>
2012-11-08 14:31:25 -05:00
<tag line="100" name="param" description="" type="\DB_PDO" variable="$db">
<type by_reference="false">\DB_PDO</type>
2012-11-07 08:57:29 -05:00
</tag>
2012-11-08 14:31:25 -05:00
<tag line="100" name="param" description="- the connection parameters" type="object" variable="$params">
2012-11-07 08:57:29 -05:00
<type by_reference="false">object</type>
</tag>
</docblock>
2012-11-08 14:31:25 -05:00
<argument line="106">
<name>$db</name>
2012-11-07 08:57:29 -05:00
<default><![CDATA[]]></default>
<type/>
</argument>
2012-11-08 14:31:25 -05:00
<argument line="106">
2012-11-07 08:57:29 -05:00
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="135" package="">
2012-09-13 11:45:27 -04:00
<name>select</name>
<type>function</type>
<docblock line="129">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Specifies rows to select in a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="129" name="param" description="" type="string" variable="$fields">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="129" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="135">
2012-09-13 11:45:27 -04:00
<name>$fields</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="181" package="">
2012-09-13 11:45:27 -04:00
<name>_select</name>
<type>function</type>
<docblock line="174">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Method to simplify select_ methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="174" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="174" name="param" description="" type="string" variable="$as">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="174" name="return" description="" type="string">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="181">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="181">
2012-09-13 11:45:27 -04:00
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="202" package="">
2012-09-13 11:45:27 -04:00
<name>select_max</name>
<type>function</type>
<docblock line="195">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Selects the maximum value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="195" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="195" name="param" description="" type="string" variable="$as">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="195" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="202">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="202">
2012-09-13 11:45:27 -04:00
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="218" package="">
2012-09-13 11:45:27 -04:00
<name>select_min</name>
<type>function</type>
<docblock line="211">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Selects the minimum value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="211" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="211" name="param" description="" type="string" variable="$as">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="211" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="218">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="218">
2012-09-13 11:45:27 -04:00
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="234" package="">
2012-09-13 11:45:27 -04:00
<name>select_avg</name>
<type>function</type>
<docblock line="227">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Selects the average value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="227" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="227" name="param" description="" type="string" variable="$as">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="227" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="234">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="234">
2012-09-13 11:45:27 -04:00
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="250" package="">
2012-09-13 11:45:27 -04:00
<name>select_sum</name>
<type>function</type>
<docblock line="243">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Selects the sum of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="243" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="243" name="param" description="" type="string" variable="$as">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="243" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="250">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="250">
2012-09-13 11:45:27 -04:00
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="264" package="">
2012-09-13 11:45:27 -04:00
<name>distinct</name>
<type>function</type>
<docblock line="259">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Adds the 'distinct' keyword to a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="259" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="279" package="">
2012-09-13 11:45:27 -04:00
<name>from</name>
<type>function</type>
<docblock line="273">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Specify the database table to select from]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="273" name="param" description="" type="string" variable="$tblname">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="273" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="279">
2012-11-07 08:57:29 -05:00
<name>$tblname</name>
2012-09-13 11:45:27 -04:00
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="309" package="">
2012-09-13 11:45:27 -04:00
<name>_like</name>
<type>function</type>
<docblock line="299">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Simplify 'like' methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="299" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="299" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="299" name="param" description="" type="string" variable="$pos">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="299" name="param" description="" type="string" variable="$like">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="299" name="param" description="" type="string" variable="$conj">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="299" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="309">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="309">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="309">
2012-09-13 11:45:27 -04:00
<name>$pos</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="309">
2012-09-13 11:45:27 -04:00
<name>$like</name>
<default><![CDATA['LIKE']]></default>
<type/>
</argument>
<argument line="309">
2012-09-13 11:45:27 -04:00
<name>$conj</name>
<default><![CDATA['AND']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="351" package="">
2012-09-13 11:45:27 -04:00
<name>like</name>
<type>function</type>
<docblock line="343">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Creates a Like clause in the sql statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="343" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="343" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="343" name="param" description="" type="string" variable="$pos">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="343" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="351">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="351">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="351">
2012-09-13 11:45:27 -04:00
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="366" package="">
2012-09-13 11:45:27 -04:00
<name>or_like</name>
<type>function</type>
<docblock line="358">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Generates an OR Like clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="358" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="358" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="358" name="param" description="" type="string" variable="$pos">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="358" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="366">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="366">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="366">
2012-09-13 11:45:27 -04:00
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="381" package="">
2012-09-13 11:45:27 -04:00
<name>not_like</name>
<type>function</type>
<docblock line="373">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Generates a NOT LIKE clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="373" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="373" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="373" name="param" description="" type="string" variable="$pos">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="373" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="381">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="381">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="381">
2012-09-13 11:45:27 -04:00
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="396" package="">
2012-09-13 11:45:27 -04:00
<name>or_not_like</name>
<type>function</type>
<docblock line="388">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Generates a OR NOT LIKE clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="388" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="388" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="388" name="param" description="" type="string" variable="$pos">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="388" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="396">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="396">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="396">
2012-09-13 11:45:27 -04:00
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="413" package="">
2012-09-13 11:45:27 -04:00
<name>_having</name>
<type>function</type>
<docblock line="405">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Simplify building having clauses]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="405" name="param" description="" type="mixed" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="405" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="405" name="param" description="" type="string" variable="$conj">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="405" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="413">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="413">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="413">
2012-09-13 11:45:27 -04:00
<name>$conj</name>
<default><![CDATA['AND']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="448" package="">
2012-09-13 11:45:27 -04:00
<name>having</name>
<type>function</type>
<docblock line="441">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Generates a 'Having' clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="441" name="param" description="" type="mixed" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="441" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="441" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="448">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="448">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="462" package="">
2012-09-13 11:45:27 -04:00
<name>or_having</name>
<type>function</type>
<docblock line="455">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Generates a 'Having' clause prefixed with 'OR']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="455" name="param" description="" type="mixed" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="455" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="455" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="462">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="462">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="478" package="">
2012-09-13 11:45:27 -04:00
<name>_where</name>
<type>function</type>
<docblock line="471">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Do all the repeditive stuff for where/having type methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="471" name="param" description="" type="mixed" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="471" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="471" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="478">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="478">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="511" package="">
2012-09-13 11:45:27 -04:00
<name>_where_string</name>
<type>function</type>
<docblock line="503">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Simplify generating where string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="503" name="param" description="" type="mixed" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="503" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="503" name="param" description="" type="string" variable="$conj">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="503" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="511">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="511">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="511">
2012-09-13 11:45:27 -04:00
<name>$conj</name>
<default><![CDATA['AND']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="549" package="">
2012-09-13 11:45:27 -04:00
<name>_where_in</name>
<type>function</type>
<docblock line="540">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Simplify where_in methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="540" name="param" description="" type="mixed" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="540" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="540" name="param" description="string" type="" variable="$in"/>
<tag line="540" name="param" description="string" type="" variable="$conj"/>
<tag line="540" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="549">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="549">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="549">
2012-09-13 11:45:27 -04:00
<name>$in</name>
<default><![CDATA['IN']]></default>
<type/>
</argument>
<argument line="549">
2012-09-13 11:45:27 -04:00
<name>$conj</name>
<default><![CDATA['AND']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="581" package="">
2012-09-13 11:45:27 -04:00
<name>where</name>
<type>function</type>
<docblock line="572">
2012-09-13 11:45:27 -04:00
<description><![CDATA[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><![CDATA[]]></long-description>
<tag line="572" name="param" description="" type="mixed" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="572" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="572" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="581">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="581">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="595" package="">
2012-09-13 11:45:27 -04:00
<name>or_where</name>
<type>function</type>
<docblock line="588">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Where clause prefixed with "OR"]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="588" name="param" description="" type="string" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="588" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="588" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="595">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="595">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="609" package="">
2012-09-13 11:45:27 -04:00
<name>where_in</name>
<type>function</type>
<docblock line="602">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Where clause with 'IN' statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="602" name="param" description="" type="mixed" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="602" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="602" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="609">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="609">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="623" package="">
2012-09-13 11:45:27 -04:00
<name>or_where_in</name>
<type>function</type>
<docblock line="616">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Where in statement prefixed with "or"]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="616" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="616" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="616" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="623">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="623">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="637" package="">
2012-09-13 11:45:27 -04:00
<name>where_not_in</name>
<type>function</type>
<docblock line="630">
2012-09-13 11:45:27 -04:00
<description><![CDATA[WHERE NOT IN (FOO) clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="630" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="630" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="630" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="637">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="637">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="651" package="">
2012-09-13 11:45:27 -04:00
<name>or_where_not_in</name>
<type>function</type>
<docblock line="644">
2012-09-13 11:45:27 -04:00
<description><![CDATA[OR WHERE NOT IN (FOO) clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="644" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="644" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="644" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="651">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="651">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="667" package="">
2012-09-13 11:45:27 -04:00
<name>set</name>
<type>function</type>
<docblock line="660">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Sets values for inserts / updates / deletes]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="660" name="param" description="" type="mixed" variable="$key">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="660" name="param" description="" type="mixed" variable="$val">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="660" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="667">
2012-09-13 11:45:27 -04:00
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="667">
2012-09-13 11:45:27 -04:00
<name>$val</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="706" package="">
2012-09-13 11:45:27 -04:00
<name>join</name>
<type>function</type>
<docblock line="698">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Creates a join phrase in a compiled query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="698" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="698" name="param" description="" type="string" variable="$condition">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="698" name="param" description="" type="string" variable="$type">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="698" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="706">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="706">
2012-09-13 11:45:27 -04:00
<name>$condition</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="706">
2012-09-13 11:45:27 -04:00
<name>$type</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="748" package="">
2012-09-13 11:45:27 -04:00
<name>group_by</name>
<type>function</type>
<docblock line="742">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Group the results by the selected field(s)]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="742" name="param" description="" type="mixed" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="742" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="748">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="773" package="">
2012-09-13 11:45:27 -04:00
<name>order_by</name>
<type>function</type>
<docblock line="766">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Order the results by the selected field(s)]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="766" name="param" description="" type="string" variable="$field">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="766" name="param" description="" type="string" variable="$type">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="766" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="773">
2012-09-13 11:45:27 -04:00
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="773">
2012-09-13 11:45:27 -04:00
<name>$type</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="810" package="">
2012-09-13 11:45:27 -04:00
<name>limit</name>
<type>function</type>
<docblock line="803">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Set a limit on the current sql statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="803" name="param" description="" type="int" variable="$limit">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
<tag line="803" name="param" description="" type="int" variable="$offset">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
<tag line="803" name="return" description="" type="string">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="810">
2012-09-13 11:45:27 -04:00
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="810">
2012-09-13 11:45:27 -04:00
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="827" package="">
2012-09-13 11:45:27 -04:00
<name>group_start</name>
<type>function</type>
<docblock line="822">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Adds a paren to the current query for query grouping]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="822" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="846" package="">
2012-09-13 11:45:27 -04:00
<name>or_group_start</name>
<type>function</type>
<docblock line="840">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Adds a paren to the current query for query grouping,
prefixed with 'OR']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="840" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="865" package="">
2012-09-13 11:45:27 -04:00
<name>or_not_group_start</name>
<type>function</type>
<docblock line="859">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Adds a paren to the current query for query grouping,
prefixed with 'OR NOT']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="859" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="883" package="">
2012-09-13 11:45:27 -04:00
<name>group_end</name>
<type>function</type>
<docblock line="878">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Ends a query group]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="878" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="907" package="">
2012-09-13 11:45:27 -04:00
<name>get</name>
<type>function</type>
<docblock line="898">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Select and retrieve all records from the current table, and/or
execute current compiled query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="898" name="param" description="" type="" variable="$table"/>
<tag line="898" name="param" description="" type="int" variable="$limit">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
<tag line="898" name="param" description="" type="int" variable="$offset">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
<tag line="898" name="return" description="" type="object">
2012-09-13 11:45:27 -04:00
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="907">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="907">
2012-09-13 11:45:27 -04:00
<name>$limit</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="907">
2012-09-13 11:45:27 -04:00
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="943" package="">
2012-09-13 11:45:27 -04:00
<name>get_where</name>
<type>function</type>
<docblock line="934">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Convience method for get() with a where clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="934" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="934" name="param" description="" type="array" variable="$where">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
<tag line="934" name="param" description="" type="int" variable="$limit">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
<tag line="934" name="param" description="" type="int" variable="$offset">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
<tag line="934" name="return" description="" type="object">
2012-09-13 11:45:27 -04:00
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="943">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="943">
2012-09-13 11:45:27 -04:00
<name>$where</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="943">
2012-09-13 11:45:27 -04:00
<name>$limit</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="943">
2012-09-13 11:45:27 -04:00
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="960" package="">
2012-09-13 11:45:27 -04:00
<name>count_all</name>
<type>function</type>
<docblock line="954">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Retreive the number of rows in the selected table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="954" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="954" name="return" description="" type="int">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="960">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="976" package="">
2012-09-13 11:45:27 -04:00
<name>count_all_results</name>
<type>function</type>
<docblock line="969">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Retrieve the number of results for the generated query - used
in place of the get() method]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="969" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="969" name="return" description="" type="int">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="976">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1009" package="">
2012-09-13 11:45:27 -04:00
<name>insert</name>
<type>function</type>
<docblock line="1002">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Creates an insert clause, and executes it]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1002" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="1002" name="param" description="" type="mixed" variable="$data">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="1002" name="return" description="" type="mixed">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1009">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1009">
2012-09-13 11:45:27 -04:00
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1029" package="">
<name>insert_batch</name>
2012-09-13 11:45:27 -04:00
<type>function</type>
<docblock line="1022">
<description><![CDATA[Create sql for batch insert]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
<tag line="1022" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="1022" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
2012-09-13 11:45:27 -04:00
</tag>
<tag line="1022" name="return" description="" type="string">
<type by_reference="false">string</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
<argument line="1029">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1029">
2012-09-13 11:45:27 -04:00
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1051" package="">
<name>update</name>
<type>function</type>
<docblock line="1044">
<description><![CDATA[Creates an update clause, and executes it]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1044" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1044" name="param" description="" type="mixed" variable="$data">
<type by_reference="false">mixed</type>
</tag>
<tag line="1044" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1051">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1051">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1071" package="">
2012-09-13 11:45:27 -04:00
<name>delete</name>
<type>function</type>
<docblock line="1064">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Deletes data from a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1064" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="1064" name="param" description="" type="mixed" variable="$where">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
<tag line="1064" name="return" description="" type="mixed">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1071">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1071">
2012-09-13 11:45:27 -04:00
<name>$where</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1093" package="">
2012-09-13 11:45:27 -04:00
<name>get_compiled_select</name>
<type>function</type>
<docblock line="1086">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Returns the generated 'select' sql query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1086" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="1086" name="param" description="" type="bool" variable="$reset">
2012-09-13 11:45:27 -04:00
<type by_reference="false">bool</type>
</tag>
<tag line="1086" name="return" description="" type="string">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="1093">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="1093">
2012-09-13 11:45:27 -04:00
<name>$reset</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1113" package="">
2012-09-13 11:45:27 -04:00
<name>get_compiled_insert</name>
<type>function</type>
<docblock line="1106">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Returns the generated 'insert' sql query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1106" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="1106" name="param" description="" type="bool" variable="$reset">
2012-09-13 11:45:27 -04:00
<type by_reference="false">bool</type>
</tag>
<tag line="1106" name="return" description="" type="string">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="1113">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1113">
2012-09-13 11:45:27 -04:00
<name>$reset</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1127" package="">
2012-09-13 11:45:27 -04:00
<name>get_compiled_update</name>
<type>function</type>
<docblock line="1120">
2012-12-18 16:19:52 -05:00
<description><![CDATA[Returns the generated 'update' sql query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1120" name="param" description="" type="string" variable="$table">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1120" name="param" description="" type="bool" variable="$reset">
2012-12-18 16:19:52 -05:00
<type by_reference="false">bool</type>
</tag>
<tag line="1120" name="return" description="" type="string">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="1127">
2012-12-18 16:19:52 -05:00
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="1127">
2012-12-18 16:19:52 -05:00
<name>$reset</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1141" package="">
2012-12-18 16:19:52 -05:00
<name>get_compiled_delete</name>
<type>function</type>
<docblock line="1134">
2012-12-18 16:19:52 -05:00
<description><![CDATA[Returns the generated 'delete' sql query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1134" name="param" description="" type="string" variable="$table">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1134" name="param" description="" type="bool" variable="$reset">
2012-12-18 16:19:52 -05:00
<type by_reference="false">bool</type>
</tag>
<tag line="1134" name="return" description="" type="string">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="1141">
2012-12-18 16:19:52 -05:00
<name>$table</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
<argument line="1141">
2012-12-18 16:19:52 -05:00
<name>$reset</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="1156" package="">
2012-12-18 16:19:52 -05:00
<name>_get_compile</name>
<type>function</type>
<docblock line="1148">
2012-12-18 16:19:52 -05:00
<description><![CDATA[Helper function for returning sql strings]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1148" name="param" description="" type="string" variable="$type">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1148" name="param" description="" type="string" variable="$table">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1148" name="param" description="bool" type="" variable="$reset"/>
<tag line="1148" name="resturn" description="string"/>
2012-12-18 16:19:52 -05:00
</docblock>
<argument line="1156">
2012-12-18 16:19:52 -05:00
<name>$type</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1156">
2012-12-18 16:19:52 -05:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1156">
2012-12-18 16:19:52 -05:00
<name>$reset</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1178" package="">
2012-12-18 16:19:52 -05:00
<name>reset_query</name>
<type>function</type>
<docblock line="1173">
2012-12-18 16:19:52 -05:00
<description><![CDATA[Clear out the class variables, so the next query can be run]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1173" name="return" description="" type="void">
2012-12-18 16:19:52 -05:00
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="1214" package="">
2012-12-18 16:19:52 -05:00
<name>_run</name>
<type>function</type>
<docblock line="1204">
2012-12-18 16:19:52 -05:00
<description><![CDATA[Executes the compiled query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1204" name="param" description="" type="string" variable="$type">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1204" name="param" description="" type="string" variable="$table">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1204" name="param" description="" type="bool" variable="$simple">
2012-12-18 16:19:52 -05:00
<type by_reference="false">bool</type>
</tag>
<tag line="1204" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="1204" name="param" description="" type="mixed" variable="$vals">
<type by_reference="false">mixed</type>
</tag>
<tag line="1204" name="return" description="" type="mixed">
2012-12-18 16:19:52 -05:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1214">
2012-12-18 16:19:52 -05:00
<name>$type</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1214">
2012-12-18 16:19:52 -05:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1214">
2012-12-18 16:19:52 -05:00
<name>$simple</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="1214">
<name>$sql</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="1214">
<name>$vals</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
2012-12-18 16:19:52 -05:00
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1275" package="">
2012-12-18 16:19:52 -05:00
<name>__call</name>
<type>function</type>
<docblock line="1268">
2012-12-18 16:19:52 -05:00
<description><![CDATA[Calls a function further down the inheritence chain]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1268" name="param" description="" type="string" variable="$name">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1268" name="param" description="" type="array" variable="$params">
2012-12-18 16:19:52 -05:00
<type by_reference="false">array</type>
</tag>
<tag line="1268" name="return" description="" type="mixed">
2012-12-18 16:19:52 -05:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1275">
2012-12-18 16:19:52 -05:00
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1275">
2012-12-18 16:19:52 -05:00
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="1294" package="">
2012-12-18 16:19:52 -05:00
<name>_compile</name>
<type>function</type>
<docblock line="1287">
2012-12-18 16:19:52 -05:00
<description><![CDATA[String together the sql statements for sending to the db]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1287" name="param" description="" type="string" variable="$type">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1287" name="param" description="" type="string" variable="$table">
2012-12-18 16:19:52 -05:00
<type by_reference="false">string</type>
</tag>
<tag line="1287" name="return" description="" type="\$string">
2012-12-18 16:19:52 -05:00
<type by_reference="false">\$string</type>
</tag>
</docblock>
<argument line="1294">
2012-12-18 16:19:52 -05:00
<name>$type</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="1294">
2012-12-18 16:19:52 -05:00
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="classes/idb_sql.php" hash="85065c2ec86f3f26e8489d24e87c77cc" package="Query">
2012-12-18 16:19:52 -05:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-12-18 16:19:52 -05:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
<tag line="2" name="package" description="Query"/>
</docblock>
<interface namespace="default" line="22" package="Query\Query">
<name>iDB_SQL</name>
<full_name>\iDB_SQL</full_name>
<extends/>
<docblock line="16">
<description><![CDATA[parent for database manipulation subclasses]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="33" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Get database specific sql for limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="abstract" description=""/>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="33">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="33">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="33">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="41" package="">
<name>random</name>
<type>function</type>
<docblock line="35">
<description><![CDATA[Get the sql for random ordering]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="35" name="abstract" description=""/>
<tag line="35" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="48" package="">
<name>db_list</name>
<type>function</type>
<docblock line="43">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="43" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="55" package="">
<name>table_list</name>
<type>function</type>
<docblock line="50">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="50" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="57">
<description><![CDATA[Returns sql to list system tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="57" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
<name>view_list</name>
<type>function</type>
<docblock line="64">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="64" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="76" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="71">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="71" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="83" package="">
<name>function_list</name>
<type>function</type>
<docblock line="78">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="78" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-12-18 16:19:52 -05:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="85">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="85" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="97" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="92">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="92" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="104" package="">
<name>type_list</name>
<type>function</type>
<docblock line="99">
<description><![CDATA[Return sql to list database field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="99" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="113" package="">
<name>column_list</name>
<type>function</type>
<docblock line="106">
<description><![CDATA[Get information about the columns in the
specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="106" name="param" description="string" type="" variable="$table"/>
<tag line="106" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="113">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</interface>
</file>
<file path="classes/iquery_builder.php" hash="4efeb1d0e37a7c01d7fabc070ec3b83e" package="Query">
2012-12-18 16:19:52 -05:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-12-18 16:19:52 -05:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<interface namespace="default" line="22" package="Query\Query">
<name>iQuery_Builder</name>
<full_name>\iQuery_Builder</full_name>
<extends/>
<docblock line="16">
<description><![CDATA[Interface defining the Query Builder class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="34" package="">
<name>select</name>
<type>function</type>
<docblock line="28">
<description><![CDATA[Specifies rows to select in a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="28" name="param" description="" type="string" variable="$fields">
<type by_reference="false">string</type>
</tag>
<tag line="28" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="34">
<name>$fields</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="45" package="">
<name>select_max</name>
<type>function</type>
<docblock line="38">
<description><![CDATA[Selects the maximum value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="38" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="38" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="38" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="45">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="45">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
<name>select_min</name>
<type>function</type>
<docblock line="49">
<description><![CDATA[Selects the minimum value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="49" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="49" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="49" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="56">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="56">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="67" package="">
<name>select_avg</name>
<type>function</type>
<docblock line="60">
<description><![CDATA[Selects the average value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="60" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="60" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="60" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="67">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="67">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="78" package="">
<name>select_sum</name>
<type>function</type>
<docblock line="71">
<description><![CDATA[Selects the sum of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="71" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="71" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="71" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="78">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="78">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="87" package="">
<name>distinct</name>
<type>function</type>
<docblock line="82">
<description><![CDATA[Adds the 'distinct' keyword to a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="82" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="97" package="">
<name>from</name>
<type>function</type>
<docblock line="91">
<description><![CDATA[Specify the database table to select from]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="91" name="param" description="" type="string" variable="$tblname">
<type by_reference="false">string</type>
</tag>
<tag line="91" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="97">
<name>$tblname</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="111" package="">
<name>like</name>
<type>function</type>
<docblock line="103">
<description><![CDATA[Creates a Like clause in the sql statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="103" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="103" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="103" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="103" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="111">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="111">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="111">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="123" package="">
<name>or_like</name>
<type>function</type>
<docblock line="115">
<description><![CDATA[Generates an OR Like clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="115" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="115" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="115" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="115" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="123">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="123">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="123">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="135" package="">
<name>not_like</name>
<type>function</type>
<docblock line="127">
<description><![CDATA[Generates a NOT LIKE clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="127" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="127" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="127" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="127" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="135">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="135">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="135">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="147" package="">
<name>or_not_like</name>
<type>function</type>
<docblock line="139">
<description><![CDATA[Generates a OR NOT LIKE clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="139" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="139" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="139" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="139" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="147">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="147">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="147">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="160" package="">
<name>having</name>
<type>function</type>
<docblock line="153">
<description><![CDATA[Generates a 'Having' clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="153" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="153" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="153" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="160">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="160">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="171" package="">
<name>or_having</name>
<type>function</type>
<docblock line="164">
<description><![CDATA[Generates a 'Having' clause prefixed with 'OR']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="164" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="164" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="164" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="171">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="171">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="186" package="">
<name>where</name>
<type>function</type>
<docblock line="177">
<description><![CDATA[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><![CDATA[]]></long-description>
<tag line="177" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="177" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="177" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="186">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="186">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="197" package="">
<name>or_where</name>
<type>function</type>
<docblock line="190">
<description><![CDATA[Where clause prefixed with "OR"]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="190" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="190" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="190" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="197">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="197">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="208" package="">
<name>where_in</name>
<type>function</type>
<docblock line="201">
<description><![CDATA[Where clause with 'IN' statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="201" name="param" description="" type="mixed" variable="$field">
<type by_reference="false">mixed</type>
</tag>
<tag line="201" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="201" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="208">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="208">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="219" package="">
<name>or_where_in</name>
<type>function</type>
<docblock line="212">
<description><![CDATA[Where in statement prefixed with "or"]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="212" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="212" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="212" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="219">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="219">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="230" package="">
<name>where_not_in</name>
<type>function</type>
<docblock line="223">
<description><![CDATA[WHERE NOT IN (FOO) clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="223" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="223" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="223" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="230">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="230">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="241" package="">
<name>or_where_not_in</name>
<type>function</type>
<docblock line="234">
<description><![CDATA[OR WHERE NOT IN (FOO) clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="234" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="234" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="234" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="241">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="241">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="254" package="">
<name>set</name>
<type>function</type>
<docblock line="247">
<description><![CDATA[Sets values for inserts / updates / deletes]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="247" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="247" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="247" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="254">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="254">
<name>$val</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="266" package="">
<name>join</name>
<type>function</type>
<docblock line="258">
<description><![CDATA[Creates a join phrase in a compiled query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="258" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="258" name="param" description="" type="string" variable="$condition">
<type by_reference="false">string</type>
</tag>
<tag line="258" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="258" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="266">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="266">
<name>$condition</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="266">
<name>$type</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="276" package="">
<name>group_by</name>
<type>function</type>
<docblock line="270">
<description><![CDATA[Group the results by the selected field(s)]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="270" name="param" description="" type="mixed" variable="$field">
<type by_reference="false">mixed</type>
</tag>
<tag line="270" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="276">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="287" package="">
<name>order_by</name>
<type>function</type>
<docblock line="280">
<description><![CDATA[Order the results by the selected field(s)]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="280" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="280" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="280" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="287">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="287">
<name>$type</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="298" package="">
<name>limit</name>
<type>function</type>
<docblock line="291">
<description><![CDATA[Set a limit on the current sql statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="291" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="291" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="291" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="298">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="298">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="309" package="">
<name>group_start</name>
<type>function</type>
<docblock line="304">
<description><![CDATA[Adds a paren to the current query for query grouping]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="304" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="319" package="">
<name>or_group_start</name>
<type>function</type>
<docblock line="313">
<description><![CDATA[Adds a paren to the current query for query grouping,
prefixed with 'OR']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="313" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="329" package="">
<name>or_not_group_start</name>
<type>function</type>
<docblock line="323">
<description><![CDATA[Adds a paren to the current query for query grouping,
prefixed with 'OR NOT']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="323" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="338" package="">
<name>group_end</name>
<type>function</type>
<docblock line="333">
<description><![CDATA[Ends a query group]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="333" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="353" package="">
<name>get</name>
<type>function</type>
<docblock line="344">
<description><![CDATA[Select and retrieve all records from the current table, and/or
execute current compiled query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="344" name="param" description="" type="" variable="$table"/>
<tag line="344" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="344" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="344" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="353">
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="353">
<name>$limit</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="353">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="366" package="">
<name>get_where</name>
<type>function</type>
<docblock line="357">
<description><![CDATA[Convience method for get() with a where clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="357" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="357" name="param" description="" type="array" variable="$where">
<type by_reference="false">array</type>
</tag>
<tag line="357" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="357" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="357" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="366">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="366">
<name>$where</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="366">
<name>$limit</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="366">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="376" package="">
<name>count_all</name>
<type>function</type>
<docblock line="370">
<description><![CDATA[Retreive the number of rows in the selected table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="370" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="370" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="376">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="387" package="">
<name>count_all_results</name>
<type>function</type>
<docblock line="380">
<description><![CDATA[Retrieve the number of results for the generated query - used
in place of the get() method]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="380" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="380" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="387">
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="398" package="">
<name>insert</name>
<type>function</type>
<docblock line="391">
<description><![CDATA[Creates an insert clause, and executes it]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="391" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="391" name="param" description="" type="mixed" variable="$data">
<type by_reference="false">mixed</type>
</tag>
<tag line="391" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="398">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="398">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="409" package="">
<name>update</name>
2012-12-18 16:19:52 -05:00
<type>function</type>
<docblock line="402">
<description><![CDATA[Creates an update clause, and executes it]]></description>
2012-12-18 16:19:52 -05:00
<long-description><![CDATA[]]></long-description>
<tag line="402" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="402" name="param" description="" type="mixed" variable="$data">
<type by_reference="false">mixed</type>
</tag>
<tag line="402" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="409">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="409">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="420" package="">
<name>delete</name>
2012-12-18 16:19:52 -05:00
<type>function</type>
<docblock line="413">
<description><![CDATA[Deletes data from a table]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="413" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="413" name="param" description="" type="mixed" variable="$where">
2012-12-18 16:19:52 -05:00
<type by_reference="false">mixed</type>
2012-09-13 11:45:27 -04:00
</tag>
2012-12-18 16:19:52 -05:00
<tag line="413" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="420">
2012-09-13 11:45:27 -04:00
<name>$table</name>
2012-12-18 16:19:52 -05:00
<default><![CDATA[]]></default>
2012-09-13 11:45:27 -04:00
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="420">
<name>$where</name>
<default><![CDATA['']]></default>
2012-09-13 11:45:27 -04:00
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="433" package="">
<name>get_compiled_select</name>
2012-09-13 11:45:27 -04:00
<type>function</type>
<docblock line="426">
<description><![CDATA[Returns the generated 'select' sql query]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
<tag line="426" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
<tag line="426" name="param" description="" type="bool" variable="$reset">
<type by_reference="false">bool</type>
2012-09-13 11:45:27 -04:00
</tag>
<tag line="426" name="return" description="" type="string">
<type by_reference="false">string</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
<argument line="433">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA['']]></default>
2012-09-13 11:45:27 -04:00
<type/>
</argument>
<argument line="433">
<name>$reset</name>
<default><![CDATA[TRUE]]></default>
2012-09-13 11:45:27 -04:00
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="444" package="">
<name>get_compiled_insert</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="437">
<description><![CDATA[Returns the generated 'insert' sql query]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="437" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="437" name="param" description="" type="bool" variable="$reset">
<type by_reference="false">bool</type>
</tag>
<tag line="437" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="444">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="444">
<name>$reset</name>
2012-12-18 16:19:52 -05:00
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="455" package="">
<name>get_compiled_update</name>
2012-09-13 11:45:27 -04:00
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="448">
<description><![CDATA[Returns the generated 'update' sql query]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="448" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="448" name="param" description="" type="bool" variable="$reset">
<type by_reference="false">bool</type>
2012-09-13 11:45:27 -04:00
</tag>
2012-12-18 16:19:52 -05:00
<tag line="448" name="return" description="" type="string">
<type by_reference="false">string</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="455">
<name>$table</name>
<default><![CDATA['']]></default>
2012-09-13 11:45:27 -04:00
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="455">
<name>$reset</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
2012-09-13 11:45:27 -04:00
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="466" package="">
<name>get_compiled_delete</name>
2012-09-13 11:45:27 -04:00
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="459">
<description><![CDATA[Returns the generated 'delete' sql query]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="459" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="459" name="param" description="" type="bool" variable="$reset">
<type by_reference="false">bool</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="459" name="return" description="" type="string">
<type by_reference="false">string</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="466">
<name>$table</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="466">
<name>$reset</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
2012-09-13 11:45:27 -04:00
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="477" package="">
<name>reset_query</name>
2012-09-13 11:45:27 -04:00
<type>function</type>
<docblock line="472">
2012-12-18 16:19:52 -05:00
<description><![CDATA[Clear out the class variables, so the next query can be run]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
<tag line="472" name="return" description="" type="void">
2012-12-18 16:19:52 -05:00
<type by_reference="false">void</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
2012-12-18 16:19:52 -05:00
</interface>
2012-09-13 11:45:27 -04:00
</file>
2013-02-07 16:21:02 -05:00
<file path="classes/db_util.php" hash="dc7951c57dc06ec5a1a997f40caf14fc" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="true" namespace="default" line="22" package="Query\Query">
<name>DB_Util</name>
<full_name>\DB_Util</full_name>
<extends/>
<docblock line="16">
<description><![CDATA[Abstract class defining database / table creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
<property final="false" static="false" visibility="private" line="27" package="Default">
<name>$conn</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="34" package="">
<name>__construct</name>
<type>function</type>
<docblock line="29">
<description><![CDATA[Save a reference to the connection object for later use]]></description>
<long-description><![CDATA[]]></long-description>
2013-02-07 16:21:02 -05:00
<tag line="29" name="param" description="" type="object" variable="$conn">
2012-09-13 11:45:27 -04:00
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="34">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
<name>__call</name>
<type>function</type>
<docblock line="41">
<description><![CDATA[Enable calling driver methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="41" name="param" description="" type="string" variable="$method">
<type by_reference="false">string</type>
</tag>
<tag line="41" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="47">
<name>$method</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$args</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="71" package="">
<name>create_table</name>
<type>function</type>
<docblock line="61">
<description><![CDATA[Get database-specific sql to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="61" name="abstract" description=""/>
<tag line="61" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="61" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="61" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="61" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="61" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="71">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="71">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="71">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="71">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="80" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="73">
<description><![CDATA[Get database-specific sql to drop a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="abstract" description=""/>
<tag line="73" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="73" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="80">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="88" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="82">
<description><![CDATA[Return an SQL file with the database table structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="82" name="abstract" description=""/>
<tag line="82" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="96" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="90">
<description><![CDATA[Return an SQL file with the database data as insert statements]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="90" name="abstract" description=""/>
<tag line="90" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
2013-02-07 16:21:02 -05:00
<file path="autoload.php" hash="b4809418736de74a636101819f2ba2fa" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
2012-11-07 08:57:29 -05:00
<include line="31" type="Require" package="Default">
<name>common.php</name>
</include>
2012-09-13 11:45:27 -04:00
<constant namespace="default" line="23" package="Default">
<name>QBASE_PATH</name>
<value><![CDATA[dirname(__FILE__).'/']]></value>
<docblock line="20">
<description><![CDATA[Reference to root path]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</constant>
<constant namespace="default" line="28" package="Default">
<name>QDRIVER_PATH</name>
<value><![CDATA[QBASE_PATH.'drivers/']]></value>
<docblock line="25">
<description><![CDATA[Path to driver classes]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</constant>
2012-11-07 08:57:29 -05:00
<function namespace="default" line="38" package="Query">
<name>query_autoload</name>
2012-09-13 11:45:27 -04:00
<type>function</type>
2012-11-07 08:57:29 -05:00
<docblock line="33">
<description><![CDATA[Load a Query class]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
2012-11-07 08:57:29 -05:00
<tag line="33" name="param" description="" type="string" variable="$class">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-11-07 08:57:29 -05:00
<argument line="38">
<name>$class</name>
2012-09-13 11:45:27 -04:00
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
2012-11-07 08:57:29 -05:00
</file>
2013-02-07 16:21:02 -05:00
<file path="common.php" hash="e43f78d39a7599eb44291581225c6346" package="Query">
2012-11-07 08:57:29 -05:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-11-07 08:57:29 -05:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<function namespace="default" line="49" package="Query">
<name>do_include</name>
2012-09-13 11:45:27 -04:00
<type>function</type>
2012-11-07 08:57:29 -05:00
<docblock line="42">
<description><![CDATA[Bulk directory loading workaround for use
with array_map and glob]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
2012-11-07 08:57:29 -05:00
<tag line="42" name="param" description="" type="string" variable="$path">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-11-07 08:57:29 -05:00
<tag line="42" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
2012-09-13 11:45:27 -04:00
</docblock>
2012-11-07 08:57:29 -05:00
<argument line="49">
<name>$path</name>
2012-09-13 11:45:27 -04:00
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
2012-11-07 08:57:29 -05:00
<function namespace="default" line="65" package="Query">
<name>mb_trim</name>
2012-09-13 11:45:27 -04:00
<type>function</type>
<docblock line="59">
2012-11-07 08:57:29 -05:00
<description><![CDATA[Multibyte-safe trim function]]></description>
2012-09-13 11:45:27 -04:00
<long-description><![CDATA[]]></long-description>
2012-11-07 08:57:29 -05:00
<tag line="59" name="param" description="string" type="" variable="$string"/>
<tag line="59" name="return" description="" type="string">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-11-07 08:57:29 -05:00
<argument line="65">
<name>$string</name>
2012-09-13 11:45:27 -04:00
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
2012-11-07 08:57:29 -05:00
<function namespace="default" line="80" package="Query">
2012-09-13 11:45:27 -04:00
<name>db_filter</name>
<type>function</type>
2012-11-07 08:57:29 -05:00
<docblock line="73">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Filter out db rows into one array]]></description>
<long-description><![CDATA[]]></long-description>
2012-11-07 08:57:29 -05:00
<tag line="73" name="param" description="" type="array" variable="$array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
2012-11-07 08:57:29 -05:00
<tag line="73" name="param" description="" type="mixed" variable="$index">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
2012-11-07 08:57:29 -05:00
<tag line="73" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
2012-11-07 08:57:29 -05:00
<argument line="80">
2012-09-13 11:45:27 -04:00
<name>$array</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-11-07 08:57:29 -05:00
<argument line="80">
2012-09-13 11:45:27 -04:00
<name>$index</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
2012-11-09 15:01:41 -05:00
<function namespace="default" line="100" package="Query">
2012-11-08 14:31:25 -05:00
<name>Query</name>
<type>function</type>
2012-11-09 15:01:41 -05:00
<docblock line="94">
2012-11-08 14:31:25 -05:00
<description><![CDATA[Connection function]]></description>
<long-description><![CDATA[]]></long-description>
2012-11-09 15:01:41 -05:00
<tag line="94" name="param" description="" type="mixed" variable="$params">
2012-11-08 14:31:25 -05:00
<type by_reference="false">mixed</type>
</tag>
2012-11-09 15:01:41 -05:00
<tag line="94" name="return" description="" type="\Query_Builder">
2012-11-08 14:31:25 -05:00
<type by_reference="false">\Query_Builder</type>
</tag>
</docblock>
2012-11-09 15:01:41 -05:00
<argument line="100">
2012-11-08 14:31:25 -05:00
<name>$params</name>
2012-11-09 15:01:41 -05:00
<default><![CDATA['']]></default>
2012-11-08 14:31:25 -05:00
<type/>
</argument>
</function>
2012-11-07 08:57:29 -05:00
<class final="false" abstract="false" namespace="default" line="26" package="Query\Query">
<name>BadDBDriverException</name>
<full_name>\BadDBDriverException</full_name>
<extends>\InvalidArgumentException</extends>
<docblock line="20">
<description><![CDATA[Generic exception for bad drivers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="20" name="package" description="Query"/>
<tag line="20" name="subpackage" description="Query"/>
</docblock>
</class>
<class final="false" abstract="false" namespace="default" line="36" package="Query\Query">
<name>BadConnectionException</name>
<full_name>\BadConnectionException</full_name>
<extends>\UnexpectedValueException</extends>
<docblock line="30">
<description><![CDATA[Generic exception for bad connection strings]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="30" name="package" description="Query"/>
<tag line="30" name="subpackage" description="Query"/>
</docblock>
</class>
2012-09-13 11:45:27 -04:00
</file>
<file path="drivers/pgsql/pgsql_sql.php" hash="bea02a83072eb50b121f16fca0c2fbda" package="Default">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="21" package="Query\Drivers">
<name>PgSQL_SQL</name>
<full_name>\PgSQL_SQL</full_name>
2012-12-18 16:19:52 -05:00
<extends/>
<implements>\iDB_SQL</implements>
2012-09-13 11:45:27 -04:00
<docblock line="15">
<description><![CDATA[PostgreSQL specifc SQL]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="15" name="package" description="Query"/>
<tag line="15" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="31" package="">
<name>limit</name>
<type>function</type>
<docblock line="23">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="23" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="23" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="23" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="23" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="31">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="31">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="31">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="50" package="">
<name>random</name>
<type>function</type>
<docblock line="45">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="45" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
<name>db_list</name>
<type>function</type>
<docblock line="57">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="57" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="78" package="">
<name>table_list</name>
<type>function</type>
<docblock line="73">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="96" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="91">
<description><![CDATA[Returns sql to list system tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="91" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="114" package="">
<name>view_list</name>
<type>function</type>
<docblock line="109">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="109" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="132" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="127">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="127" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="149" package="">
<name>function_list</name>
<type>function</type>
<docblock line="144">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="144" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="161" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="156">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="156" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="179" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="174">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="174" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="197" package="">
<name>column_list</name>
<type>function</type>
<docblock line="191">
<description><![CDATA[Return sql to list columns of the specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="191" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="191" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="197">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="220" package="">
<name>type_list</name>
<type>function</type>
<docblock line="215">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="215" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
2013-02-07 16:21:02 -05:00
<file path="drivers/pgsql/pgsql_util.php" hash="232394fcf8ef0d57611093d5efbc134d" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<markers>
<todo line="114">Implement Backup function</todo>
</markers>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>PgSQL_Util</name>
<full_name>\PgSQL_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[Posgres-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
<name>create_table</name>
<type>function</type>
<docblock line="35">
<description><![CDATA[Database-specific method to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="35" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="44">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="44">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="44">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="44">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="94">
<description><![CDATA[Database-specific SQL for dropping a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="94" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="94" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="100">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="112" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="107">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="107" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="126" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="120">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="120" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="120" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="126">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
</class>
</file>
2013-02-07 16:21:02 -05:00
<file path="drivers/pgsql/pgsql_driver.php" hash="ccdbd5f862a41d8abd68dfb34871dbc7" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>PgSQL</name>
<full_name>\PgSQL</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[PostgreSQL specifc class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Connect to a PosgreSQL database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="string" variable="$username">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="string" variable="$password">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="32">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$username</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="32">
<name>$password</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="32">
<name>$options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
<name>truncate</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="44">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Empty a table]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="44" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="49">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
2012-09-13 11:45:27 -04:00
<name>get_schemas</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="57">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Get a list of schemas for the current connection]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="57" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="drivers/odbc/odbc_util.php" hash="0da2deb78a60f9b28089224504656b06" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>ODBC_Util</name>
<full_name>\ODBC_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[ODBC-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="46" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Database-specific method to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="46">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="46">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="46">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="46">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="60" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="54">
<description><![CDATA[Remove a table from the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="54" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="54" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="60">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="72" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="67">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="67" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="80">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="80" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="drivers/odbc/odbc_sql.php" hash="ac4940ca98cd75ee33e89a4ae17e3515" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>ODBC_SQL</name>
<full_name>\ODBC_SQL</full_name>
2012-12-18 16:19:52 -05:00
<extends/>
<implements>\iDB_SQL</implements>
2012-09-13 11:45:27 -04:00
<docblock line="16">
<description><![CDATA[ODBC SQL Class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="32">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
<name>random</name>
<type>function</type>
<docblock line="39">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="39" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
<name>db_list</name>
<type>function</type>
<docblock line="51">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="51" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="68" package="">
<name>table_list</name>
<type>function</type>
<docblock line="63">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="63" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="80" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="75">
<description><![CDATA[Returns sql to list system tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="75" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="92" package="">
<name>view_list</name>
<type>function</type>
<docblock line="87">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="87" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="104" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="99">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="99" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
<name>function_list</name>
<type>function</type>
<docblock line="111">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="111" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="140" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="135">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="135" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="152" package="">
<name>type_list</name>
<type>function</type>
<docblock line="147">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="147" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="165" package="">
<name>column_list</name>
<type>function</type>
<docblock line="159">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="159" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="159" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
<argument line="165">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="drivers/odbc/odbc_driver.php" hash="ab6f81ed29a97fd41936c3a047a8a83d" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="24" package="Query\Drivers">
<name>ODBC</name>
<full_name>\ODBC</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[ODBC Database Driver]]></description>
<long-description><![CDATA[<p>For general database access for databases not specified by the main drivers</p>]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$escape_char</name>
<default><![CDATA['']]></default>
<docblock line="26">
<description><![CDATA[Don't define the escape char - or define it in sub-drivers in a refactor]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="39" package="">
<name>__construct</name>
<type>function</type>
<docblock line="31">
<description><![CDATA[Use ODBC to connect to a database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$username">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$password">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="39">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="39">
<name>$username</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="39">
<name>$password</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="39">
<name>$options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
<name>truncate</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="46">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Empty the current database]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="46" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="46" name="return" description="" type="void">
2012-09-13 11:45:27 -04:00
<type by_reference="false">void</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="52">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="67" package="">
<name>insert_batch</name>
<type>function</type>
<docblock line="60">
<description><![CDATA[Create sql for batch insert]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="60" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="60" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="60" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="67">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="67">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
2012-09-13 11:45:27 -04:00
</class>
</file>
2013-02-07 16:21:02 -05:00
<file path="drivers/mysql/mysql_util.php" hash="3ca27484a6d5aedd3cb6e56d9f33290a" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>MySQL_Util</name>
<full_name>\MySQL_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[MySQL-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Convienience public function for creating a new MySQL table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="47">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="47">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="113" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="107">
<description><![CDATA[Convience public function for droping a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="107" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="107" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="113">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="125" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="120">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="120" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="161" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="155">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="155" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="155" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="161">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
</class>
</file>
2013-02-07 16:21:02 -05:00
<file path="drivers/mysql/mysql_driver.php" hash="e403f5fd4a9308feb81a0cfbf452b56a" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>MySQL</name>
<full_name>\MySQL</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[MySQL specific class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$escape_char</name>
<default><![CDATA['`']]></default>
<docblock line="24">
<description><![CDATA[Set the backtick as the MySQL escape character]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="39" package="">
<name>__construct</name>
<type>function</type>
<docblock line="31">
<description><![CDATA[Connect to MySQL Database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$username">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$password">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="39">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="39">
<name>$username</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="39">
<name>$password</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="39">
<name>$options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="63" package="">
<name>truncate</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="58">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Empty a table]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="58" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="63">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="drivers/mysql/mysql_sql.php" hash="258d785515fbe83118a1cebb1eee8415" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>MySQL_SQL</name>
<full_name>\MySQL_SQL</full_name>
2012-12-18 16:19:52 -05:00
<extends/>
<implements>\iDB_SQL</implements>
2012-09-13 11:45:27 -04:00
<docblock line="16">
<description><![CDATA[MySQL specifc SQL]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="32">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
<name>random</name>
<type>function</type>
<docblock line="44">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="44" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
<name>db_list</name>
<type>function</type>
<docblock line="56">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="56" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="74" package="">
<name>table_list</name>
<type>function</type>
<docblock line="68">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="68" name="param" description="" type="string" variable="$database">
<type by_reference="false">string</type>
</tag>
<tag line="68" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="74">
<name>$database</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="85">
<description><![CDATA[Overridden in MySQL class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="85" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
<name>view_list</name>
<type>function</type>
<docblock line="98">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="98" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="127" package="">
<name>function_list</name>
<type>function</type>
<docblock line="122">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="122" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="134">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="134" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="151" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="146">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="146" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="163" package="">
<name>type_list</name>
<type>function</type>
<docblock line="158">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="158" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="176" package="">
<name>column_list</name>
<type>function</type>
<docblock line="170">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="170" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="170" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="176">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
2013-02-07 16:21:02 -05:00
<file path="drivers/sqlite/sqlite_util.php" hash="eb3c58fa8bf9bb273ac838b13c2aded7" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>SQLite_Util</name>
<full_name>\SQLite_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[SQLite-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="46" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Convenience public function to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="//Name of the table" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="//columns as straight array and/or column =&gt; type pairs" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="// column =&gt; constraint pairs" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="// column =&gt; index pairs" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="46">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="46">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="46">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="46">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="96">
<description><![CDATA[SQL to drop the specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="96" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="96" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="102">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="109">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="109" name="param" description="" type="array" variable="$excluded">
<type by_reference="false">array</type>
</tag>
<tag line="109" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="115">
<name>$excluded</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="179" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="174">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="174" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="drivers/sqlite/sqlite_driver.php" hash="eb144d4791dbb339cf335ac30bbc5a5d" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>SQLite</name>
<full_name>\SQLite</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[SQLite specific class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Reference to the last executed sql query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="\PDOStatement">
<type by_reference="false">\PDOStatement</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="38" package="">
<name>__construct</name>
<type>function</type>
<docblock line="31">
<description><![CDATA[Open SQLite Database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$user">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$pass">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="38">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="38">
<name>$user</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="38">
<name>$pass</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="51" package="">
<name>truncate</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="46">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Empty a table]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="46" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="51">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
2012-09-13 11:45:27 -04:00
<name>get_tables</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="64">
2012-09-13 11:45:27 -04:00
<description><![CDATA[List tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="64" name="return" description="" type="mixed">
2012-09-13 11:45:27 -04:00
<type by_reference="false">mixed</type>
</tag>
</docblock>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
2012-09-13 11:45:27 -04:00
<name>get_system_tables</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="85">
2012-09-13 11:45:27 -04:00
<description><![CDATA[List system tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="85" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="105" package="">
2012-09-13 11:45:27 -04:00
<name>load_database</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="99">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Load a database for the current connection]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="99" name="param" description="" type="string" variable="$db">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="99" name="param" description="" type="string" variable="$name">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="105">
2012-09-13 11:45:27 -04:00
<name>$db</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="105">
2012-09-13 11:45:27 -04:00
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="118" package="">
2012-09-13 11:45:27 -04:00
<name>unload_database</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="113">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Unload a database from the current connection]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="113" name="param" description="" type="string" variable="$name">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="118">
2012-09-13 11:45:27 -04:00
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="138" package="">
<name>insert_batch</name>
<type>function</type>
<docblock line="131">
<description><![CDATA[Create sql for batch insert]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="131" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="131" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="131" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="138">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="138">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
2012-09-13 11:45:27 -04:00
</class>
</file>
<file path="drivers/sqlite/sqlite_sql.php" hash="dbbc1ce8cef16ff39e46f65bc790d103" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>SQLite_SQL</name>
<full_name>\SQLite_SQL</full_name>
2012-12-18 16:19:52 -05:00
<extends/>
<implements>\iDB_SQL</implements>
2012-09-13 11:45:27 -04:00
<docblock line="16">
<description><![CDATA[SQLite Specific SQL]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="32">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
<name>random</name>
<type>function</type>
<docblock line="44">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="44" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
<name>db_list</name>
<type>function</type>
<docblock line="56">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="56" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
<name>table_list</name>
<type>function</type>
<docblock line="68">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="68" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="85">
<description><![CDATA[Overridden in SQLite class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="85" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
<name>view_list</name>
<type>function</type>
<docblock line="97">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="97" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="111">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="111" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
<name>function_list</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="140" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="135">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="135" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="152" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="147">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="147" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="164" package="">
<name>type_list</name>
<type>function</type>
<docblock line="159">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="159" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="177" package="">
<name>column_list</name>
<type>function</type>
<docblock line="171">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="171" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="171" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="177">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="drivers/firebird/firebird_sql.php" hash="5b89505f92346d7e500f3c90524f93ae" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>Firebird_SQL</name>
<full_name>\Firebird_SQL</full_name>
2012-12-18 16:19:52 -05:00
<extends/>
<implements>\iDB_SQL</implements>
2012-09-13 11:45:27 -04:00
<docblock line="16">
<description><![CDATA[Firebird Specific SQL]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="32">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
<name>random</name>
<type>function</type>
<docblock line="51">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="51" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
<name>db_list</name>
<type>function</type>
<docblock line="64">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="64" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
<name>table_list</name>
<type>function</type>
<docblock line="76">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="76" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="93">
<description><![CDATA[Returns sql to list system tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="93" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>view_list</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="125">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="125" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="145" package="">
<name>function_list</name>
<type>function</type>
<docblock line="140">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="140" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="157" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="152">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="152" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="185" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="180">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="180" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="202" package="">
<name>column_list</name>
<type>function</type>
<docblock line="196">
<description><![CDATA[Return sql to list columns of the specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="196" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="196" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="202">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="248" package="">
<name>type_list</name>
<type>function</type>
<docblock line="243">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="243" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="drivers/firebird/firebird_result.php" hash="5cafa2a143446cc562525a98e3fe5b53" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="23" package="Query\Drivers">
<name>Firebird_Result</name>
<full_name>\Firebird_Result</full_name>
<extends>\PDOStatement</extends>
<docblock line="16">
<description><![CDATA[Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="private" line="30" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="25">
<description><![CDATA[Reference to fbird resource]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="25" name="var" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="37" package="Default">
<name>$row</name>
<default><![CDATA[]]></default>
<docblock line="32">
<description><![CDATA[Current row in result array]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="32" name="var" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="44" package="Default">
<name>$result</name>
<default><![CDATA[array()]]></default>
<docblock line="39">
<description><![CDATA[Data pulled from query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="39" name="param" description="mixed" type="" variable=""/>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
<name>__construct</name>
<type>function</type>
<docblock line="46">
<description><![CDATA[Create the object by passing the resource for
the query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="46" name="param" description="" type="resource" variable="$link">
<type by_reference="false">resource</type>
</tag>
</docblock>
<argument line="52">
<name>$link</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="83" package="">
<name>bindColumn</name>
<type>function</type>
<docblock line="73">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="param" description="" type="mixed" variable="$column">
<type by_reference="false">mixed</type>
</tag>
<tag line="73" name="param" description="&amp;$param" type="mixed" variable="$param">
<type by_reference="false">mixed</type>
</tag>
<tag line="73" name="param" description="" type="int" variable="$type">
<type by_reference="false">int</type>
</tag>
<tag line="73" name="param" description="" type="mixed" variable="$maxlen">
<type by_reference="false">mixed</type>
</tag>
<tag line="73" name="param" description="" type="array" variable="$driverdata">
<type by_reference="false">array</type>
</tag>
<tag line="73" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
<argument line="83">
<name>$column</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="83">
<name>$param</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="83">
<name>$type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="83">
<name>$maxlen</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="83">
<name>$driverdata</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
<name>bindParam</name>
<type>function</type>
<docblock line="90">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="90" name="param" description="" type="mixed" variable="$parameter">
<type by_reference="false">mixed</type>
</tag>
<tag line="90" name="param" description="&amp;$variable" type="mixed" variable="$variable">
<type by_reference="false">mixed</type>
</tag>
<tag line="90" name="param" description="" type="int" variable="$data_type">
<type by_reference="false">int</type>
</tag>
<tag line="90" name="param" description="" type="mixed" variable="$maxlen">
<type by_reference="false">mixed</type>
</tag>
<tag line="90" name="param" description="" type="array" variable="$driverdata">
<type by_reference="false">array</type>
</tag>
<tag line="90" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
<argument line="100">
<name>$parameter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="100">
<name>$variable</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="100">
<name>$data_type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="100">
<name>$maxlen</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="100">
<name>$driverdata</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>bindValue</name>
<type>function</type>
<docblock line="107">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="107" name="param" description="" type="mixed" variable="$parameter">
<type by_reference="false">mixed</type>
</tag>
<tag line="107" name="param" description="&amp;$variable" type="mixed" variable="$variable">
<type by_reference="false">mixed</type>
</tag>
<tag line="107" name="param" description="" type="int" variable="$data_type">
<type by_reference="false">int</type>
</tag>
<tag line="107" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
<argument line="115">
<name>$parameter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="115">
<name>$variable</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="115">
<name>$data_type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
<name>execute</name>
<type>function</type>
<docblock line="122">
<description><![CDATA[Run a prepared statement query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="122" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
<tag line="122" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
<argument line="128">
<name>$args</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="151" package="">
<name>fetch</name>
<type>function</type>
<docblock line="143">
<description><![CDATA[Emulate PDO fetch public function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="143" name="param" description="" type="int" variable="$fetch_style">
<type by_reference="false">int</type>
</tag>
<tag line="143" name="param" description="" type="mixed" variable="$statement">
<type by_reference="false">mixed</type>
</tag>
<tag line="143" name="param" description="" type="mixed" variable="$offset">
<type by_reference="false">mixed</type>
</tag>
<tag line="143" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="151">
<name>$fetch_style</name>
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
<type/>
</argument>
<argument line="151">
<name>$statement</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="151">
<name>$offset</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="201" package="">
<name>fetchAll</name>
<type>function</type>
<docblock line="193">
<description><![CDATA[Emulate PDO fetchAll public function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="193" name="param" description="" type="int" variable="$fetch_style">
<type by_reference="false">int</type>
</tag>
<tag line="193" name="param" description="" type="mixed" variable="$statement">
<type by_reference="false">mixed</type>
</tag>
<tag line="193" name="param" description="" type="mixed" variable="$ctor_args">
<type by_reference="false">mixed</type>
</tag>
<tag line="193" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="201">
<name>$fetch_style</name>
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
<type/>
</argument>
<argument line="201">
<name>$statement</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="201">
<name>$ctor_args</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="223" package="">
<name>fetchColumn</name>
<type>function</type>
<docblock line="217">
<description><![CDATA[Emulate PDOStatement::fetchColumn]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="217" name="param" description="" type="int" variable="$column_num">
<type by_reference="false">int</type>
</tag>
<tag line="217" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="223">
<name>$column_num</name>
<default><![CDATA[0]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="238" package="">
<name>fetchObject</name>
<type>function</type>
<docblock line="231">
<description><![CDATA[Emulate PDOStatement::fetchObject, but only for the default use]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="231" name="param" description="" type="string" variable="$class_name">
<type by_reference="false">string</type>
</tag>
<tag line="231" name="param" description="" type="array" variable="$ctor_args">
<type by_reference="false">array</type>
</tag>
<tag line="231" name="return" description="" type="\stdClass">
<type by_reference="false">\stdClass</type>
</tag>
</docblock>
<argument line="238">
<name>$class_name</name>
<default><![CDATA['stdClass']]></default>
<type/>
</argument>
<argument line="238">
<name>$ctor_args</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="250" package="">
<name>rowCount</name>
<type>function</type>
<docblock line="245">
<description><![CDATA[Return the number of rows affected by the previous query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="245" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="270" package="">
<name>errorCode</name>
<type>function</type>
<docblock line="265">
<description><![CDATA[Method to emulate PDOStatement->errorCode]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="265" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="282" package="">
<name>errorInfo</name>
<type>function</type>
<docblock line="277">
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="277" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="drivers/firebird/firebird_driver.php" hash="3383f1a61909f305b279e6b2b7da73b6" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="24" package="Query\Drivers">
<name>Firebird</name>
<full_name>\Firebird</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[Firebird Database class]]></description>
<long-description><![CDATA[<p>PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.</p>]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="protected" line="31" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="26">
<description><![CDATA[Reference to the last query executed]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="26" name="var" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="39" package="Default">
<name>$statement_link</name>
<default><![CDATA[]]></default>
<docblock line="33">
<description><![CDATA[Reference to the resource returned by
the last query executed]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="33" name="var" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="46" package="Default">
<name>$trans</name>
<default><![CDATA[]]></default>
<docblock line="41">
<description><![CDATA[Reference to the current transaction]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="41" name="var" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="53" package="Default">
<name>$conn</name>
<default><![CDATA[]]></default>
<docblock line="48">
<description><![CDATA[Reference to the connection resource]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="48" name="var" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
<name>__construct</name>
<type>function</type>
<docblock line="55">
<description><![CDATA[Open the link to the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="55" name="param" description="" type="string" variable="$dbpath">
<type by_reference="false">string</type>
</tag>
<tag line="55" name="param" description="" type="string" variable="$user">
<type by_reference="false">string</type>
</tag>
<tag line="55" name="param" description="" type="string" variable="$pass">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="62">
<name>$dbpath</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="62">
<name>$user</name>
<default><![CDATA['sysdba']]></default>
<type/>
</argument>
<argument line="62">
<name>$pass</name>
<default><![CDATA['masterkey']]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="94" package="">
2012-09-13 11:45:27 -04:00
<name>truncate</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="89">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Empty a database table]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="89" name="param" description="" type="string" variable="$table">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="94">
2012-09-13 11:45:27 -04:00
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="109" package="">
2012-09-13 11:45:27 -04:00
<name>query</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="103">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Wrapper public function to better match PDO]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="103" name="param" description="" type="string" variable="$sql">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="103" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="109">
2012-09-13 11:45:27 -04:00
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="135" package="">
2012-09-13 11:45:27 -04:00
<name>prepare</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="128">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Emulate PDO prepare]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="128" name="param" description="" type="string" variable="$query">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="128" name="param" description="" type="array" variable="$options">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="128" name="return" description="" type="\$this">
2012-09-13 11:45:27 -04:00
<type by_reference="false">\$this</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="135">
2012-09-13 11:45:27 -04:00
<name>$query</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="135">
2012-09-13 11:45:27 -04:00
<name>$options</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="157" package="">
2012-09-13 11:45:27 -04:00
<name>beginTransaction</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="152">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Start a database transaction]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="152" name="return" description="" type="bool">
2012-09-13 11:45:27 -04:00
<type by_reference="false">bool</type>
</tag>
</docblock>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="174" package="">
2012-09-13 11:45:27 -04:00
<name>commit</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="169">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Commit a database transaction]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="169" name="return" description="" type="bool">
2012-09-13 11:45:27 -04:00
<type by_reference="false">bool</type>
</tag>
</docblock>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="186" package="">
2012-09-13 11:45:27 -04:00
<name>rollBack</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="181">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Rollback a transaction]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="181" name="return" description="" type="bool">
2012-09-13 11:45:27 -04:00
<type by_reference="false">bool</type>
</tag>
</docblock>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="200" package="">
2012-09-13 11:45:27 -04:00
<name>prepare_execute</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="193">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Prepare and execute a query]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="193" name="param" description="" type="string" variable="$sql">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="193" name="param" description="" type="array" variable="$args">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="193" name="return" description="" type="resource">
2012-09-13 11:45:27 -04:00
<type by_reference="false">resource</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="200">
2012-09-13 11:45:27 -04:00
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="200">
2012-09-13 11:45:27 -04:00
<name>$args</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="219" package="">
2012-09-13 11:45:27 -04:00
<name>quote</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="212">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Method to emulate PDO->quote]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="212" name="param" description="" type="string" variable="$str">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="212" name="param" description="" type="int" variable="$param_type">
2012-09-13 11:45:27 -04:00
<type by_reference="false">int</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="212" name="return" description="" type="string">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="219">
2012-09-13 11:45:27 -04:00
<name>$str</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="219">
2012-09-13 11:45:27 -04:00
<name>$param_type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="236" package="">
2012-09-13 11:45:27 -04:00
<name>errorInfo</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="231">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="231" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="251" package="">
2012-09-13 11:45:27 -04:00
<name>errorCode</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="246">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Method to emulate PDO->errorCode]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="246" name="return" description="" type="array">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
2012-12-18 16:19:52 -05:00
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="265" package="">
2012-09-13 11:45:27 -04:00
<name>prepare_query</name>
<type>function</type>
2012-12-18 16:19:52 -05:00
<docblock line="258">
2012-09-13 11:45:27 -04:00
<description><![CDATA[Bind a prepared query with arguments for executing]]></description>
<long-description><![CDATA[]]></long-description>
2012-12-18 16:19:52 -05:00
<tag line="258" name="param" description="" type="string" variable="$sql">
2012-09-13 11:45:27 -04:00
<type by_reference="false">string</type>
</tag>
2012-12-18 16:19:52 -05:00
<tag line="258" name="param" description="" type="array" variable="$params">
2012-09-13 11:45:27 -04:00
<type by_reference="false">array</type>
</tag>
<tag line="258" name="return" description="" type="NULL">
<type by_reference="false">NULL</type>
2012-09-13 11:45:27 -04:00
</tag>
</docblock>
2012-12-18 16:19:52 -05:00
<argument line="265">
2012-09-13 11:45:27 -04:00
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
2012-12-18 16:19:52 -05:00
<argument line="265">
2012-09-13 11:45:27 -04:00
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="281" package="">
<name>insert_batch</name>
<type>function</type>
<docblock line="274">
<description><![CDATA[Create sql for batch insert]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="274" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="274" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="274" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="281">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="281">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
2012-09-13 11:45:27 -04:00
</class>
</file>
2013-02-07 16:21:02 -05:00
<file path="drivers/firebird/firebird_util.php" hash="4bb834086d2cff626c27e2c405616e00" package="Query">
2012-09-13 11:45:27 -04:00
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
2013-02-07 16:21:02 -05:00
<tag line="2" name="copyright" description="Copyright (c) 2012 - 2013"/>
2012-09-13 11:45:27 -04:00
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<markers>
<todo line="117">Implement Backup structure function</todo>
</markers>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>Firebird_Util</name>
<full_name>\Firebird_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[Firebird-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Convienience public function to generate sql for creating a db table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$fields">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="47">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$fields</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="47">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="97">
<description><![CDATA[Drop the selected table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="97" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="97" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="103">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="123" name="param" description="" type="bool" variable="$system_tables">
<type by_reference="false">bool</type>
</tag>
<tag line="123" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="130">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="130">
<name>$system_tables</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
</class>
</file>
<package name="" full_name=""/>
<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="default" full_name="default"/>
2012-12-18 16:19:52 -05:00
<marker count="2">todo</marker>
2012-09-13 11:45:27 -04:00
<marker count="0">fixme</marker>
<deprecated count="0"/>
</project>