2012-04-19 11:42:50 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<project version="2.0.0a2" title="Query">
|
2012-04-27 15:16:58 -04:00
|
|
|
<file path="classes/db_reg.php" hash="4db07479d2dfdd5a403c7ffae83ceb23" package="Default">
|
2012-04-19 11:42:50 -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"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="24" package="Query\Helper Classes">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>DB_Reg</name>
|
|
|
|
<full_name>\DB_Reg</full_name>
|
2012-04-27 15:16:58 -04:00
|
|
|
<extends/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="15">
|
|
|
|
<description><![CDATA[Connection registry]]></description>
|
|
|
|
<long-description><![CDATA[<p>Decouples the Settings class from the query builder
|
|
|
|
and organizes database connections</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="15" name="package" description="Query"/>
|
|
|
|
<tag line="15" name="subpackage" description="Helper Classes"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<property final="false" static="true" visibility="private" line="29" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$instance</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Static array of connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="37" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Registry access method]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="return" description="" type="object">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="37">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="55" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="50">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Private constructor]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="50" name="param" description="" type="string" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="55">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="71" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_connections</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="66">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return exiting connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="66" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="84" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>remove_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="78">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Remove a database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="78" name="param" description="" type="string" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="78" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="84">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-27 15:16:58 -04:00
|
|
|
<file path="classes/settings.php" hash="69d30a582c8ec7f2a29151aab896ce1e" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Helper Classes">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>Settings</name>
|
|
|
|
<full_name>\Settings</full_name>
|
2012-04-27 15:16:58 -04:00
|
|
|
<extends/>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Class for manipulating datbase connections, and miscellaneous settings]]></description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Helper Classes"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="27" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$current</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Settings object represented by the currently loaded JSON file]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:17:39 -04:00
|
|
|
<property final="false" static="true" visibility="private" line="32" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$instance</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="29">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Singleton instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="40" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_instance</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="34">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Static method to retreive current instance
|
|
|
|
of the singleton]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="34" name="return" description="" type="\Settings">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\Settings</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="55" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="51">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Load the settings file - private so it can't be loaded
|
|
|
|
directly - the settings should be safe!]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__destruct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="87">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Output the settings on destruct]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="107" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__get</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="101">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Magic method to simplify isset checking for config options]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="101" name="param" description="" type="string" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="101" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="107">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__set</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="116">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Magic method to simplify setting config options]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="116" name="param" description="" type="string" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="116" name="param" description="mixed" type="" variable="$val"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="122">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="122">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="141" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>add_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="135">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Add a database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="135" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="135" name="param" description="" type="array" variable="$params">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="141">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="141">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="173" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>edit_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="167">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Edit a database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="167" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="167" name="param" description="" type="array" variable="$params">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="173">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="173">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="216" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>remove_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="211">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Remove a database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="211" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="216">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="237" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_dbs</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="232">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Retreive all db connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="232" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="250" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="244">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Retreive a specific database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="244" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="244" name="return" description="" type="object">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="250">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-27 16:25:46 -04:00
|
|
|
<file path="classes/db_sql.php" hash="ac302192ccf945708ea13bd46d7427ac" package="Query">
|
2012-04-19 11:42:50 -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"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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"/>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="true" namespace="default" line="22" package="Query\Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>DB_SQL</name>
|
|
|
|
<full_name>\DB_SQL</full_name>
|
2012-04-27 16:25:46 -04:00
|
|
|
<extends/>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Abstract parent for database manipulation subclasses]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="33" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>max</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="28">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get the max keyword sql]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="28" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="45" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>min</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="40">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get the min keyword sql]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="40" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="57" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>distinct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="52">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get the 'distinct' keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="52" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>avg</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="64">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get the 'average' keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="64" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>sum</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="76">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get the 'sum' keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="76" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="99" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="90">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get database specific sql for limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="90" name="abstract" description=""/>
|
|
|
|
<tag line="90" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="90" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="90" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="90" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="99">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="99">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="99">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="107" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="101">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get the sql for random ordering]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="101" name="abstract" description=""/>
|
|
|
|
<tag line="101" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="114" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="109">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="109" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="121" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="116">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="116" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="128" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="123">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list system tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="123" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="135" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="130">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="130" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="142" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="137">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="137" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="149" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="144">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="144" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="156" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="151">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="151" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="163" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="158">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="158" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 15:29:45 -04:00
|
|
|
<file path="classes/db_pdo.php" hash="2f5d078b255b67629fb1267a38a354e3" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="true" namespace="default" line="24" package="Query\Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>DB_PDO</name>
|
|
|
|
<full_name>\DB_PDO</full_name>
|
|
|
|
<extends>\PDO</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Base Database class]]></description>
|
|
|
|
<long-description><![CDATA[<p>Extends PDO to simplify cross-database issues</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="31" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to the last executed query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="26" name="var" description="" type="mixed">
|
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 15:29:45 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="38" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$escape_char</name>
|
|
|
|
<default><![CDATA['"']]></default>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="33">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Character to escape identifiers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="33" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 15:29:45 -04:00
|
|
|
<property final="false" static="false" visibility="public" line="45" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="40">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to sql sub class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="40" name="var" description="" type="Object">
|
|
|
|
<type by_reference="false">Object</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 15:29:45 -04:00
|
|
|
<property final="false" static="false" visibility="public" line="52" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$util</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to util sub class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="47" name="var" description="" type="Object">
|
|
|
|
<type by_reference="false">Object</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="54">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[PDO constructor wrapper]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$username">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$password">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="54" name="param" description="" type="array" variable="$driver_options">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="62">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="62">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$username</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="62">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$password</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="62">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$driver_options</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="88" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>prepare_query</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="81">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Simplifies prepared statements for database queries]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="81" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="81" name="param" description="" type="array" variable="$data">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="81" name="return" description="PDOStatement / FALSE" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="88">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="88">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>prepare_execute</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="132">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create and execute a prepared statement with the provided parameters]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="132" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="132" name="param" description="" type="array" variable="$params">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="132" name="return" description="" type="\PDOStatement">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\PDOStatement</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="139">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="139">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="155" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_query_data</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="149">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Retreives the data from a select query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="149" name="param" description="" type="\PDOStatement" variable="$statement">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\PDOStatement</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="149" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="155">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="174" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>affected_rows</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="168">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns number of rows affected by an INSERT, UPDATE, DELETE type query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="168" name="param" description="" type="\PDOStatement" variable="$statement">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\PDOStatement</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="168" name="return" description="" type="int">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="174">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="192" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_last_error</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="187">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return the last error for the current database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="187" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="207" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>quote_ident</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="201">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Surrounds the string with the databases identifier escape characters]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="201" name="param" description="" type="mixed" variable="$ident">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="201" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="207">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$ident</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="234" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>empty_table</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="227">
|
2012-04-19 11:42:50 -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>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="227" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="227" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="234">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="248" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_schemas</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="243">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return schemas for databases that list them]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="243" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="260" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_tables</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="255">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return list of tables for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="255" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="272" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_dbs</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="267">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return list of dbs for the current connection, if possible]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="267" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="284" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_views</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="279">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return list of views for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="279" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="296" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_sequences</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="291">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return list of sequences for the current database, if they exist]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="291" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="308" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_functions</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="303">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return list of function for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="303" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="320" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_procedures</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="315">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return list of stored procedures for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="315" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="332" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_triggers</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="327">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return list of triggers for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="327" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="345" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_system_tables</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="339">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Retreives an array of non-user-created tables for
|
|
|
|
the connection/database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="339" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="359" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>driver_query</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="352">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Method to simplify retreiving db results for meta-data queries]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="352" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="352" name="param" description="" type="bool" variable="$filtered_index">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="352" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="359">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="359">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$filtered_index</name>
|
|
|
|
<default><![CDATA[TRUE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="381" package="">
|
2012-04-20 16:33:40 -04:00
|
|
|
<name>num_rows</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="376">
|
2012-04-20 16:33:40 -04:00
|
|
|
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="376" name="return" description="" type="int">
|
2012-04-20 16:33:40 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="399" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="392">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Empty the passed table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="392" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="392" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="399">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="407" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="401">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Connect to a different database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="401" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="401" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="407">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:06:06 -04:00
|
|
|
<file path="classes/query_builder.php" hash="9d0908676e2903fb39b55ab93c2f8df5" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-23 13:28:49 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="23" package="Query\Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>Query_Builder</name>
|
|
|
|
<full_name>\Query_Builder</full_name>
|
2012-04-27 16:18:59 -04:00
|
|
|
<extends/>
|
2012-04-23 13:28:49 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -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-04-23 13:28:49 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="34" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$select_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="29">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Compiled 'select' clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="29" name="var" description="" type="string">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="41" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$from_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="36">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Compiled 'from' clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="36" name="var" description="" type="string">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="48" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$set_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="43">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Compiled arguments for insert / update]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="43" name="var" description="" type="string">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="55" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$order_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="50">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Order by clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="50" name="var" description="" type="string">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="62" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$group_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="57">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Group by clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="57" name="var" description="" type="string">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="73" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$set_array_keys</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="68">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Keys for insert/update statement]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="68" name="var" description="" type="array">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="80" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$order_array</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="75">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Key/val pairs for order by clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="75" name="var" description="" type="array">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="87" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$group_array</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="82">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Key/val pairs for group by clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="82" name="var" description="" type="array">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="98" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$values</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="93">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Values to apply to prepared statements]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="93" name="var" description="" type="array">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="105" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="100">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Value for limit string]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="100" name="var" description="" type="int">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="112" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="107">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Value for offset in limit string]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="107" name="var" description="" type="int">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="119" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="114">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Alias to $this->db->sql]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="114" name="var" description="" type="\DB_PDO">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">\DB_PDO</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="135" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$query_map</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="121">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Query component order mapping
|
|
|
|
for complex select queries]]></description>
|
|
|
|
<long-description><![CDATA[<p>Format:</p>
|
|
|
|
|
|
|
|
<p>array(
|
|
|
|
'type' => 'where',
|
|
|
|
'conjunction' => ' AND ',
|
|
|
|
'string' => 'k=?'
|
|
|
|
)</p>]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="121" name="var" description="" type="array">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="142" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$having_map</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="137">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Map for having clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="137" name="var" description="" type="array">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 14:49:30 -04:00
|
|
|
<property final="false" static="false" visibility="public" line="149" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn_name</name>
|
|
|
|
<default><![CDATA[""]]></default>
|
2012-04-30 14:49:30 -04:00
|
|
|
<docblock line="144">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Convenience property for connection management]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 14:49:30 -04:00
|
|
|
<tag line="144" name="var" description="" type="string">
|
2012-04-23 13:28:49 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="156" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="151">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Constructor]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="151" name="param" description="- the connection parametere" type="object" variable="$params">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="156">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="236" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>select</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="230">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Specifies rows to select in a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="230" name="param" description="" type="string" variable="$fields">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="230" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="236">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$fields</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="282" package="">
|
|
|
|
<name>_select</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="275">
|
|
|
|
<description><![CDATA[Method to simplify select_ methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="275" name="param" description="" type="string" variable="$field">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="275" name="param" description="" type="string" variable="$as">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="275" name="return" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="282">
|
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="282">
|
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="303" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>select_max</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="296">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Selects the maximum value of a field from a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="296" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="296" name="param" description="" type="string" variable="$as">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="296" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="303">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="303">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="319" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>select_min</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="312">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Selects the minimum value of a field from a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="312" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="312" name="param" description="" type="string" variable="$as">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="312" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="319">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="319">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="335" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>select_avg</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="328">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Selects the average value of a field from a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="328" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="328" name="param" description="" type="string" variable="$as">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="328" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="335">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="335">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="351" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>select_sum</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="344">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Selects the sum of a field from a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="344" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="344" name="param" description="" type="string" variable="$as">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="344" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="351">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="351">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="365" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>distinct</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="360">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Adds the 'distinct' keyword to a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="360" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 15:29:45 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="380" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>from</name>
|
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="374">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Specify the database table to select from]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="374" name="param" description="" type="string" variable="$dbname">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="374" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 15:29:45 -04:00
|
|
|
<argument line="380">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$dbname</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="408" package="">
|
|
|
|
<name>_like</name>
|
2012-04-19 11:42:50 -04:00
|
|
|
<type>function</type>
|
2012-04-30 15:29:45 -04:00
|
|
|
<docblock line="399">
|
2012-04-30 16:06:06 -04:00
|
|
|
<description><![CDATA[Simplify 'like' methods]]></description>
|
2012-04-19 11:42:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="399" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="399" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 15:29:45 -04:00
|
|
|
<tag line="399" name="param" description="" type="string" variable="$pos">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="399" name="param" description="" type="string" variable="$like">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="399" name="param" description="" type="string" variable="$conj">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="408">
|
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="408">
|
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="408">
|
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="408">
|
|
|
|
<name>$like</name>
|
|
|
|
<default><![CDATA['LIKE']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="408">
|
|
|
|
<name>$conj</name>
|
|
|
|
<default><![CDATA['AND']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="448" package="">
|
|
|
|
<name>like</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="440">
|
|
|
|
<description><![CDATA[Creates a Like clause in the sql statement]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="440" name="param" description="" type="string" variable="$field">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="440" name="param" description="" type="mixed" variable="$val">
|
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="440" name="param" description="" type="string" variable="$pos">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="440" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="448">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="448">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="448">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA['both']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="464" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>or_like</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="456">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Generates an OR Like clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="456" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="456" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="456" name="param" description="" type="string" variable="$pos">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="456" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="464">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="464">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="464">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA['both']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="480" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>not_like</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="472">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Generates a NOT LIKE clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="472" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="472" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="472" name="param" description="" type="string" variable="$pos">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="472" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="480">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="480">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="480">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA['both']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="496" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>or_not_like</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="488">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Generates a OR NOT LIKE clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="488" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="488" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="488" name="param" description="" type="string" variable="$pos">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="488" name="return" description="" type="\$this">
|
2012-04-20 13:17:39 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
2012-04-19 11:42:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="496">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="496">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="496">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA['both']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="511" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>having</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="504">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Generates a 'Having' clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="504" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="504" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="504" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="511">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="511">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="546" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>or_having</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="539">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Generates a 'Having' clause prefixed with 'OR']]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="539" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="539" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="539" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="546">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="546">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="583" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>_where</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="576">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Do all the repeditive stuff for where/having type methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="576" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="576" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="576" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="583">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="583">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="617" package="">
|
|
|
|
<name>_where_in</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="608">
|
|
|
|
<description><![CDATA[Simplify where_in methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="608" name="param" description="" type="mixed" variable="$key">
|
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="608" name="param" description="" type="mixed" variable="$val">
|
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="608" name="param" description="string" type="" variable="$in"/>
|
|
|
|
<tag line="608" name="param" description="string" type="" variable="$conj"/>
|
|
|
|
<tag line="608" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="617">
|
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="617">
|
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="617">
|
|
|
|
<name>$in</name>
|
|
|
|
<default><![CDATA['IN']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="617">
|
|
|
|
<name>$conj</name>
|
|
|
|
<default><![CDATA['AND']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="647" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>where</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="638">
|
2012-04-19 11:42:50 -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>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="638" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="638" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="638" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="647">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="647">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="683" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>or_where</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="676">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Where clause prefixed with "OR"]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="676" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="676" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="676" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="683">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="683">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="724" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>where_in</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="717">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Where clause with 'IN' statement]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="717" name="param" description="" type="mixed" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="717" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="717" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="724">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="724">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="739" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>or_where_in</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="732">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Where in statement prefixed with "or"]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="732" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="732" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="732" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="739">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="739">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="754" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>where_not_in</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="747">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[WHERE NOT IN (FOO) clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="747" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="747" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="747" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="754">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="754">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="769" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>or_where_not_in</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="762">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[OR WHERE NOT IN (FOO) clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="762" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="762" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="762" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="769">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="769">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="786" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>set</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="779">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Sets values for inserts / updates / deletes]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="779" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="779" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="779" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="786">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="786">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$val</name>
|
2012-04-30 14:49:30 -04:00
|
|
|
<default><![CDATA[NULL]]></default>
|
2012-04-19 11:42:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="825" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>join</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="817">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Creates a join phrase in a compiled query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="817" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="817" name="param" description="" type="string" variable="$condition">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="817" name="param" description="" type="string" variable="$type">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="817" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="825">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="825">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$condition</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="825">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$type</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="854" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>group_by</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="848">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Group the results by the selected field(s)]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="848" name="param" description="" type="mixed" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="848" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="854">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="879" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>order_by</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="872">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Order the results by the selected field(s)]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="872" name="param" description="" type="string" variable="$field">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="872" name="param" description="" type="string" variable="$type">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="872" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="879">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="879">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$type</name>
|
|
|
|
<default><![CDATA[""]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="916" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="909">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Set a limit on the current sql statement]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="909" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="909" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="909" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="916">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="916">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="933" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>group_start</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="928">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Adds a paren to the current query for query grouping]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="928" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="952" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>or_group_start</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="946">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Adds a paren to the current query for query grouping,
|
|
|
|
prefixed with 'OR']]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="946" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="971" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>or_not_group_start</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="965">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Adds a paren to the current query for query grouping,
|
|
|
|
prefixed with 'OR NOT']]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="965" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="989" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>group_end</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="984">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Ends a query group]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="984" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1013" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1004">
|
2012-04-19 11:42:50 -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>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1004" name="param" description="" type="" variable="$table"/>
|
|
|
|
<tag line="1004" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1004" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1004" name="return" description="" type="object">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1013">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1013">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1013">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1057" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_where</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1048">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Convience method for get() with a where clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1048" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1048" name="param" description="" type="array" variable="$where">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1048" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1048" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1048" name="return" description="" type="object">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1057">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1057">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$where</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1057">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1057">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1074" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>count_all</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1068">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Retreive the number of rows in the selected table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1068" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1068" name="return" description="" type="int">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1074">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1090" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>count_all_results</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1083">
|
2012-04-19 11:42:50 -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>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1083" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1083" name="return" description="" type="int">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1090">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1128" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>insert</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1121">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Creates an insert clause, and executes it]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1121" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1121" name="param" description="" type="mixed" variable="$data">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1121" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1128">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1128">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1154" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>update</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1147">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Creates an update clause, and executes it]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1147" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1147" name="param" description="" type="mixed" variable="$data">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1147" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1154">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1154">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1181" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>delete</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1174">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Deletes data from a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1174" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1174" name="param" description="" type="mixed" variable="$where">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1174" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1181">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1181">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$where</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1212" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__call</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1205">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Calls a function further down the inheritence chain]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1205" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1205" name="param" description="" type="array" variable="$params">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1205" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1212">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1212">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="1227" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>_reset</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1224">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Clear out the class variables, so the next query can be run]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:06:06 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="1267" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>_compile</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:06:06 -04:00
|
|
|
<docblock line="1260">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[String together the sql statements for sending to the db]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1260" name="param" description="" type="string" variable="$type">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1260" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:06:06 -04:00
|
|
|
<tag line="1260" name="return" description="" type="\$string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1267">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$type</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:06:06 -04:00
|
|
|
<argument line="1267">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
2012-04-30 14:29:22 -04:00
|
|
|
<default><![CDATA['']]></default>
|
2012-04-19 11:42:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-27 16:25:46 -04:00
|
|
|
<file path="classes/db_util.php" hash="1a56d6f40af0e6860d9ae0dbcde8451c" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="true" namespace="default" line="22" package="Query\Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>DB_Util</name>
|
|
|
|
<full_name>\DB_Util</full_name>
|
2012-04-27 16:25:46 -04:00
|
|
|
<extends/>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Abstract class defining database / table creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="27" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="34" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="29">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Save a reference to the connection object for later use]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="29" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="34">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__call</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="41">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Enable calling driver methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="41" name="param" description="" type="string" variable="$method">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="41" name="param" description="" type="array" variable="$args">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$method</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$args</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="71" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="61">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get database-specific sql to create a new table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="61" name="abstract" description=""/>
|
|
|
|
<tag line="61" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="61" name="param" description="" type="array" variable="$columns">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="61" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="61" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="61" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="71">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="71">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="71">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="71">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="80" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="73">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get database-specific sql to drop a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="73" name="abstract" description=""/>
|
|
|
|
<tag line="73" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="73" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="80">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="88" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="82">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return an SQL file with the database table structure]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="82" name="abstract" description=""/>
|
|
|
|
<tag line="82" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="96" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="90">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return an SQL file with the database data as insert statements]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="90" name="abstract" description=""/>
|
|
|
|
<tag line="90" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:06:06 -04:00
|
|
|
<file path="autoload.php" hash="170d8d1f4b74767beb653875962976ae" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<constant namespace="default" line="23" package="Default">
|
2012-04-30 16:06:06 -04:00
|
|
|
<name>QBASE_PATH</name>
|
2012-04-19 11:42:50 -04:00
|
|
|
<value><![CDATA[dirname(__FILE__).'/']]></value>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="20">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to root path]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</constant>
|
2012-04-20 13:17:39 -04:00
|
|
|
<constant namespace="default" line="28" package="Default">
|
2012-04-30 16:06:06 -04:00
|
|
|
<name>QDRIVER_PATH</name>
|
|
|
|
<value><![CDATA[QBASE_PATH.'drivers/']]></value>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="25">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Path to driver classes]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</constant>
|
2012-04-20 13:17:39 -04:00
|
|
|
<function namespace="default" line="39" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>do_include</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Bulk directory loading workaround for use
|
|
|
|
with array_map and glob]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="32" name="param" description="" type="string" variable="$path">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="32" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$path</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-04-20 13:17:39 -04:00
|
|
|
<function namespace="default" line="74" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>db_filter</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="67">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Filter out db rows into one array]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="67" name="param" description="" type="array" variable="$array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="67" name="param" description="" type="mixed" variable="$index">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="67" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="74">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$array</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="74">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$index</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/pgsql/pgsql_sql.php" hash="28f1fe85be6eba57e8ec7373f885faec" package="Default">
|
2012-04-19 11:42:50 -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"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="21" package="Query\Drivers">
|
|
|
|
<name>PgSQL_SQL</name>
|
|
|
|
<full_name>\PgSQL_SQL</full_name>
|
2012-04-19 11:42:50 -04:00
|
|
|
<extends>\DB_SQL</extends>
|
|
|
|
<docblock line="15">
|
|
|
|
<description><![CDATA[PostgreSQL specifc SQL]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="15" name="package" description="Query"/>
|
|
|
|
<tag line="15" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="31" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="23">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="23" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="23" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="23" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="23" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="31">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="31">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="31">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="50" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="45">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="45" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="57">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="57" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="78" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="73">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="73" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="96" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="91">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list system tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="91" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="114" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="109">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="109" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="132" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="127">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="127" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="149" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="144">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="144" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="161" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="156">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="156" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="179" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="174">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="174" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="197" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>column_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="191">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list columns of the specified table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="191" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="191" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="197">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/pgsql/pgsql_util.php" hash="5bc6c47b681f4bdbb9385d8101666760" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>PgSQL_Util</name>
|
|
|
|
<full_name>\PgSQL_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Posgres-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="30">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="35">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Database-specific method to create a new table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="35" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="35" name="param" description="" type="array" variable="$columns">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="35" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="35" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="35" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="44">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="44">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="44">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="44">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="94">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Database-specific SQL for dropping a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="94" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="94" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="100">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="112" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="107">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="107" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="126" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="120">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="120" name="param" description="" type="array" variable="$exclude">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="120" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="126">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$exclude</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-23 13:28:49 -04:00
|
|
|
<file path="drivers/pgsql/pgsql_driver.php" hash="3be55bee617eba8379a38cd5a2657aad" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
|
|
|
<name>PgSQL</name>
|
|
|
|
<full_name>\PgSQL</full_name>
|
2012-04-19 11:42:50 -04:00
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[PostgreSQL specifc class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Connect to a PosgreSQL database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$username">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$password">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="array" variable="$options">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$username</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$password</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$options</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Connect to a different database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="39" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="44">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="57" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="52">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Empty a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="52" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="57">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="70" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_schemas</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="65">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Get a list of schemas for the current connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="65" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/odbc/odbc_util.php" hash="e3254c43700cf53c79566c0590e5ca29" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>ODBC_Util</name>
|
|
|
|
<full_name>\ODBC_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[ODBC-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="30">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="46" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="37">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Database-specific method to create a new table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$columns">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="60" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="54">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Remove a table from the database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="54" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="60">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="72" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="67">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="67" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="80">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="80" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-23 13:28:49 -04:00
|
|
|
<file path="drivers/odbc/odbc_sql.php" hash="09d03f4e6a98823cdb5e78b23eae2ac0" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>ODBC_SQL</name>
|
|
|
|
<full_name>\ODBC_SQL</full_name>
|
|
|
|
<extends>\DB_SQL</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[ODBC SQL Class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="39" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="51">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="51" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="68" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="63">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="63" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="80" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="75">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list system tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="75" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="92" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="87">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="87" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="104" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="99">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="99" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="111">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="111" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="123">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="123" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="140" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="135">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="135" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-23 13:28:49 -04:00
|
|
|
<file path="drivers/odbc/odbc_driver.php" hash="345f3b133f34abb5ffaa785e058b1178" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="24" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>ODBC</name>
|
|
|
|
<full_name>\ODBC</full_name>
|
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<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>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$escape_char</name>
|
|
|
|
<default><![CDATA['']]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 11:42:50 -04:00
|
|
|
<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>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="39" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Use ODBC to connect to a database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$username">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$password">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="array" variable="$options">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$username</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$password</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$options</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Doesn't apply to ODBC]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="46" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="46" name="return" description="" type="bool">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="52">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="65" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="59">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Empty the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="59" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="59" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="65">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/mysql/mysql_util.php" hash="e6dbdd9b0b965f7e09ee0638ed4a7a35" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>MySQL_Util</name>
|
|
|
|
<full_name>\MySQL_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[MySQL-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="30">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="37">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Convienience public function for creating a new MySQL table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$columns">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="113" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="107">
|
|
|
|
<description><![CDATA[Convience public function for droping a table]]></description>
|
2012-04-19 11:42:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="107" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="107" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="113">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="125" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="120">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="120" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="133">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="133" name="param" description="" type="array" variable="$exclude">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="133" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="139">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$exclude</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-23 13:28:49 -04:00
|
|
|
<file path="drivers/mysql/mysql_driver.php" hash="0561fe57bbfa8b513a096ef66e1bf193" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>MySQL</name>
|
|
|
|
<full_name>\MySQL</full_name>
|
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[MySQL specific class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$escape_char</name>
|
|
|
|
<default><![CDATA['`']]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Set the backtick as the MySQL escape character]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="39" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Connect to MySQL Database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$username">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$password">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="31" name="param" description="" type="array" variable="$options">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$username</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$password</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="39">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$options</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="55" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="50">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Connect to a different database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="50" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="55">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="68" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="63">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Empty a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="63" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="68">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/mysql/mysql_sql.php" hash="41d15ee4e1357bb84f07e71872252810" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>MySQL_SQL</name>
|
|
|
|
<full_name>\MySQL_SQL</full_name>
|
|
|
|
<extends>\DB_SQL</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[MySQL specifc SQL]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="44">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="44" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="56">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="56" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="68">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="68" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="80">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Overridden in MySQL class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="80" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="93">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="93" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="110" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="105">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="105" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="117">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="117" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="134" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="129">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="129" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="146" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="141">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="141" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/sqlite/sqlite_util.php" hash="18cd637365896dd9cf94066e517cdaa8" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>SQLite_Util</name>
|
|
|
|
<full_name>\SQLite_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[SQLite-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="30">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="46" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="37">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Convenience public function to create a new table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="//Name of the table" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="//columns as straight array and/or column => type pairs" type="array" variable="$columns">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="// column => constraint pairs" type="array" variable="$constraints">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="// column => index pairs" type="array" variable="$indexes">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="96">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[SQL to drop the specified table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="96" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="96" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="102">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="109">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="109" name="param" description="" type="array" variable="$excluded">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="109" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="115">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$excluded</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="179" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="174">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="174" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-23 13:28:49 -04:00
|
|
|
<file path="drivers/sqlite/sqlite_driver.php" hash="d32d8a174c1770f558b6810f47ea8869" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>SQLite</name>
|
|
|
|
<full_name>\SQLite</full_name>
|
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[SQLite specific class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-23 13:28:49 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to the last executed sql query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="24" name="var" description="" type="\PDOStatement">
|
|
|
|
<type by_reference="false">\PDOStatement</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-23 13:28:49 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="38" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-23 13:28:49 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Open SQLite Database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$user">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$pass">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-23 13:28:49 -04:00
|
|
|
<argument line="38">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-23 13:28:49 -04:00
|
|
|
<argument line="38">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$user</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-23 13:28:49 -04:00
|
|
|
<argument line="38">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$pass</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-23 13:28:49 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="51" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-23 13:28:49 -04:00
|
|
|
<docblock line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Doesn't apply to sqlite]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="46" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-23 13:28:49 -04:00
|
|
|
<argument line="51">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-23 13:28:49 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="63" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-23 13:28:49 -04:00
|
|
|
<docblock line="58">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Empty a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="58" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-23 13:28:49 -04:00
|
|
|
<argument line="63">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-23 13:28:49 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_tables</name>
|
|
|
|
<type>function</type>
|
2012-04-23 13:28:49 -04:00
|
|
|
<docblock line="76">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[List tables for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="76" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-23 13:28:49 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>get_system_tables</name>
|
|
|
|
<type>function</type>
|
2012-04-23 13:28:49 -04:00
|
|
|
<docblock line="97">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[List system tables for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="97" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-23 13:28:49 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="117" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>load_database</name>
|
|
|
|
<type>function</type>
|
2012-04-23 13:28:49 -04:00
|
|
|
<docblock line="111">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Load a database for the current connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="111" name="param" description="" type="string" variable="$db">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="111" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-23 13:28:49 -04:00
|
|
|
<argument line="117">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$db</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-23 13:28:49 -04:00
|
|
|
<argument line="117">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-23 13:28:49 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>unload_database</name>
|
|
|
|
<type>function</type>
|
2012-04-23 13:28:49 -04:00
|
|
|
<docblock line="125">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Unload a database from the current connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-23 13:28:49 -04:00
|
|
|
<tag line="125" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-23 13:28:49 -04:00
|
|
|
<argument line="130">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/sqlite/sqlite_sql.php" hash="922f241976864c2452c65c2ebec32eda" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>SQLite_SQL</name>
|
|
|
|
<full_name>\SQLite_SQL</full_name>
|
|
|
|
<extends>\DB_SQL</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[SQLite Specific SQL]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="44">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="44" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="56">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="56" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="68">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="68" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="85">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Overridden in SQLite class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="85" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="97">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="97" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="111">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="111" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="123">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="123" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="140" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="135">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="135" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="152" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="147">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="147" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/firebird/firebird_sql.php" hash="1691368f9f3d42296b89c1e5e33281e0" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>Firebird_SQL</name>
|
|
|
|
<full_name>\Firebird_SQL</full_name>
|
|
|
|
<extends>\DB_SQL</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Firebird Specific SQL]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$limit">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="32">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="51">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="51" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="64">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="64" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="76">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="76" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="93">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list system tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="93" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="110">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="110" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="125">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="125" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="145" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="140">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="140" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="157" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="152">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="152" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="185" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="180">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="180" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="202" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>column_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="196">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return sql to list columns of the specified table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="196" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="196" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="202">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 16:33:40 -04:00
|
|
|
<file path="drivers/firebird/firebird_result.php" hash="d713425d6dc82a16618de449f0ef39f9" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="23" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>Firebird_Result</name>
|
|
|
|
<full_name>\Firebird_Result</full_name>
|
|
|
|
<extends>\PDOStatement</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Firebird result class to emulate PDOStatement Class - only implements
|
|
|
|
data-fetching methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="30" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="25">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to fbird resource]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="25" name="var" description="" type="resource">
|
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:33:40 -04:00
|
|
|
<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="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="46">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create the object by passing the resource for
|
|
|
|
the query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="46" name="param" description="" type="resource" variable="$link">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="52">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$link</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="83" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>bindColumn</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="73">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Invalidate method for data consistency]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="73" name="param" description="" type="mixed" variable="$column">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="73" name="param" description="&$param" type="mixed" variable="$param">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="73" name="param" description="" type="int" variable="$type">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="73" name="param" description="" type="mixed" variable="$maxlen">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="73" name="param" description="" type="array" variable="$driverdata">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="73" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="83">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$column</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="83">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$param</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="83">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$type</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="83">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$maxlen</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="83">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$driverdata</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>bindParam</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="90">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Invalidate method for data consistency]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="90" name="param" description="" type="mixed" variable="$parameter">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="90" name="param" description="&$variable" type="mixed" variable="$variable">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="90" name="param" description="" type="int" variable="$data_type">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="90" name="param" description="" type="mixed" variable="$maxlen">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="90" name="param" description="" type="array" variable="$driverdata">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="90" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="100">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$parameter</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="100">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$variable</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="100">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$data_type</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="100">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$maxlen</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="100">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$driverdata</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>bindValue</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="107">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Invalidate method for data consistency]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="107" name="param" description="" type="mixed" variable="$parameter">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="107" name="param" description="&$variable" type="mixed" variable="$variable">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="107" name="param" description="" type="int" variable="$data_type">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="107" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="115">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$parameter</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="115">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$variable</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="115">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$data_type</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>execute</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="122">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Run a prepared statement query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="122" name="param" description="" type="array" variable="$args">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="122" name="return" description="" type="bool">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="128">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$args</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="151" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>fetch</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="143">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Emulate PDO fetch public function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="143" name="param" description="" type="int" variable="$fetch_style">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="143" name="param" description="" type="mixed" variable="$statement">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="143" name="param" description="" type="mixed" variable="$offset">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="143" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="151">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$fetch_style</name>
|
|
|
|
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="151">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="151">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="201" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>fetchAll</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="193">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Emulate PDO fetchAll public function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="193" name="param" description="" type="int" variable="$fetch_style">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="193" name="param" description="" type="mixed" variable="$statement">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="193" name="param" description="" type="mixed" variable="$ctor_args">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="193" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="201">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$fetch_style</name>
|
|
|
|
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="201">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="201">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$ctor_args</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="223" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>fetchColumn</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="217">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Emulate PDOStatement::fetchColumn]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="217" name="param" description="" type="int" variable="$column_num">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="217" name="return" description="" type="mixed">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="223">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$column_num</name>
|
|
|
|
<default><![CDATA[0]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="238" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>fetchObject</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="231">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Emulate PDOStatement::fetchObject, but only for the default use]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="231" name="param" description="" type="string" variable="$class_name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="231" name="param" description="" type="array" variable="$ctor_args">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="231" name="return" description="" type="\stdClass">
|
|
|
|
<type by_reference="false">\stdClass</type>
|
2012-04-19 11:42:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="238">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$class_name</name>
|
|
|
|
<default><![CDATA['stdClass']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="238">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$ctor_args</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="250" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>rowCount</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="245">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Return the number of rows affected by the previous query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="245" name="return" description="" type="int">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="270" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>errorCode</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="265">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Method to emulate PDOStatement->errorCode]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="265" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="282" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>errorInfo</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="277">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="277" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 16:33:40 -04:00
|
|
|
<file path="drivers/firebird/firebird_driver.php" hash="4f7e9df014cc1df6b92f09f815b9837d" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="24" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>Firebird</name>
|
|
|
|
<full_name>\Firebird</full_name>
|
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<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>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="31" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to the last query executed]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="26" name="var" description="" type="object">
|
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:33:40 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="39" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$statement_link</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="33">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to the resource returned by
|
|
|
|
the last query executed]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="33" name="var" description="" type="resource">
|
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:33:40 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="46" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$trans</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="41">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to the current transaction]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="41" name="var" description="" type="resource">
|
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:33:40 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="53" package="Default">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="48">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Reference to the connection resource]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="48" name="var" description="" type="resource">
|
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="55">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Open the link to the database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="55" name="param" description="" type="string" variable="$dbpath">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="55" name="param" description="" type="string" variable="$user">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="55" name="param" description="" type="string" variable="$pass">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="62">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$dbpath</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="62">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$user</name>
|
|
|
|
<default><![CDATA['sysdba']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="62">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$pass</name>
|
|
|
|
<default><![CDATA['masterkey']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="95" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="89">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Doesn't apply to Firebird]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="89" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="89" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="95">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="107" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="102">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Empty a database table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="102" name="param" description="" type="string" variable="$table">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="107">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>query</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="116">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Wrapper public function to better match PDO]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="116" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="116" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="122">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:33:40 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="148" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>prepare</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:33:40 -04:00
|
|
|
<docblock line="141">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Emulate PDO prepare]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="141" name="param" description="" type="string" variable="$query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="141" name="param" description="" type="array" variable="$options">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:33:40 -04:00
|
|
|
<tag line="141" name="return" description="" type="\$this">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="148">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$query</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:33:40 -04:00
|
|
|
<argument line="148">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$options</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="170" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>beginTransaction</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="165">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Start a database transaction]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="165" name="return" description="" type="bool">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="187" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>commit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="182">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Commit a database transaction]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="182" name="return" description="" type="bool">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="199" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>rollBack</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="194">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Rollback a transaction]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="194" name="return" description="" type="bool">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="213" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>prepare_execute</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="206">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Prepare and execute a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="206" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="206" name="param" description="" type="array" variable="$args">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="206" name="return" description="" type="resource">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="213">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="213">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$args</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="232" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>quote</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="225">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Method to emulate PDO->quote]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="225" name="param" description="" type="string" variable="$str">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="225" name="param" description="" type="int" variable="$param_type">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="225" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="232">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$str</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="232">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$param_type</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="249" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>errorInfo</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="244">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="244" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="264" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>errorCode</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="259">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Method to emulate PDO->errorCode]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="259" name="return" description="" type="array">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="278" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>prepare_query</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="271">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Bind a prepared query with arguments for executing]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="271" name="param" description="" type="string" variable="$sql">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="271" name="param" description="" type="array" variable="$params">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="271" name="return" description="" type="FALSE">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="278">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="278">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:17:39 -04:00
|
|
|
<file path="drivers/firebird/firebird_util.php" hash="e51cf49b7bb1e2bb39ed5eab9bf6e98c" package="Query">
|
2012-04-19 11:42:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2012"/>
|
|
|
|
<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-04-20 13:17:39 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>Firebird_Util</name>
|
|
|
|
<full_name>\Firebird_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Firebird-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 11:42:50 -04:00
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="30">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="37">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Convienience public function to generate sql for creating a db table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$fields">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="37" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$fields</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="47">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="97">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Drop the selected table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="97" name="param" description="" type="string" variable="$name">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="97" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="103">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="110">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="110" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:17:39 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:17:39 -04:00
|
|
|
<docblock line="123">
|
2012-04-19 11:42:50 -04:00
|
|
|
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="123" name="param" description="" type="array" variable="$exclude">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="123" name="param" description="" type="bool" variable="$system_tables">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
2012-04-20 13:17:39 -04:00
|
|
|
<tag line="123" name="return" description="" type="string">
|
2012-04-19 11:42:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="130">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$exclude</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:17:39 -04:00
|
|
|
<argument line="130">
|
2012-04-19 11:42:50 -04:00
|
|
|
<name>$system_tables</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
|
|
|
<package name="" full_name=""/>
|
|
|
|
<package name="Default" full_name="Default"/>
|
2012-04-20 13:17:39 -04:00
|
|
|
<package name="Query" full_name="Query">
|
|
|
|
<package name="Drivers" full_name="Query\Drivers"/>
|
|
|
|
<package name="Helper Classes" full_name="Query\Helper Classes"/>
|
|
|
|
<package name="Query" full_name="Query\Query"/>
|
|
|
|
</package>
|
2012-04-19 11:42:50 -04:00
|
|
|
<namespace name="default" full_name="default"/>
|
|
|
|
<marker count="0">todo</marker>
|
|
|
|
<marker count="0">fixme</marker>
|
|
|
|
<deprecated count="0"/>
|
|
|
|
</project>
|