2012-04-19 12:29:47 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<project version="2.0.0a2" title="OpenSQLManager">
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/classes/db_reg.php" hash="4db07479d2dfdd5a403c7ffae83ceb23" package="Default">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="24" package="Query\Helper Classes">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>DB_Reg</name>
|
|
|
|
<full_name>\DB_Reg</full_name>
|
|
|
|
<extends/>
|
|
|
|
<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:30:27 -04:00
|
|
|
<tag line="15" name="package" description="Query"/>
|
|
|
|
<tag line="15" name="subpackage" description="Helper Classes"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="true" visibility="private" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$instance</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Static array of connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="37" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Registry access method]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="return" description="" type="object">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="37">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="55" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="50">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Private constructor]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="50" name="param" description="" type="string" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="55">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="71" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_connections</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="66">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return exiting connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="66" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="84" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>remove_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="78">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Remove a database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="78" name="param" description="" type="string" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="78" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="84">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/classes/settings.php" hash="69d30a582c8ec7f2a29151aab896ce1e" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Helper Classes">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Settings</name>
|
|
|
|
<full_name>\Settings</full_name>
|
|
|
|
<extends/>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Class for manipulating datbase connections, and miscellaneous settings]]></description>
|
2012-04-20 13:30:27 -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 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="27" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$current</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<property final="false" static="true" visibility="private" line="32" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$instance</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="29">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Singleton instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="40" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_instance</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="34">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Static method to retreive current instance
|
|
|
|
of the singleton]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="34" name="return" description="" type="\Settings">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\Settings</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="55" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="51">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__destruct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="87">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Output the settings on destruct]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="107" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__get</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="101">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Magic method to simplify isset checking for config options]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="param" description="" type="string" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="107">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__set</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="116">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Magic method to simplify setting config options]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="116" name="param" description="" type="string" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="116" name="param" description="mixed" type="" variable="$val"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="122">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="122">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="141" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>add_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="135">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Add a database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="135" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="135" name="param" description="" type="array" variable="$params">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="141">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="141">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="173" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>edit_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="167">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Edit a database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="167" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="167" name="param" description="" type="array" variable="$params">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="173">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="173">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="216" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>remove_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="211">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Remove a database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="211" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="216">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="237" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_dbs</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="232">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Retreive all db connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="232" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="250" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="244">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Retreive a specific database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="244" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="244" name="return" description="" type="object">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="250">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/classes/db_sql.php" hash="ac302192ccf945708ea13bd46d7427ac" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="true" namespace="default" line="22" package="Query\Query">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>DB_SQL</name>
|
|
|
|
<full_name>\DB_SQL</full_name>
|
|
|
|
<extends/>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Abstract parent for database manipulation subclasses]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Query"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="33" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>max</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="28">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get the max keyword sql]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="28" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="45" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>min</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="40">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get the min keyword sql]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="40" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="57" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>distinct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="52">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get the 'distinct' keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="52" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>avg</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="64">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get the 'average' keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="64" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>sum</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="76">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get the 'sum' keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="76" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="99" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="90">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get database specific sql for limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="90" name="abstract" description=""/>
|
|
|
|
<tag line="90" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="90" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="90" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="90" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="99">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="99">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="99">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="107" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="101">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get the sql for random ordering]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="abstract" description=""/>
|
|
|
|
<tag line="101" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="114" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="109">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="109" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="121" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="116">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="116" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="128" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="123">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list system tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="123" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="135" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="130">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="130" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="142" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="137">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="137" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="149" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="144">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="144" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="156" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="151">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="151" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="163" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="158">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="158" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/db/classes/db_pdo.php" hash="2f5d078b255b67629fb1267a38a354e3" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="true" namespace="default" line="24" package="Query\Query">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>DB_PDO</name>
|
|
|
|
<full_name>\DB_PDO</full_name>
|
|
|
|
<extends>\PDO</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Query"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="31" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to the last executed query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="26" name="var" description="" type="mixed">
|
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="38" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$escape_char</name>
|
|
|
|
<default><![CDATA['"']]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="33">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Character to escape identifiers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="33" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="public" line="45" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="40">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to sql sub class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="40" name="var" description="" type="Object">
|
|
|
|
<type by_reference="false">Object</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="public" line="52" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$util</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to util sub class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="47" name="var" description="" type="Object">
|
|
|
|
<type by_reference="false">Object</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="54">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[PDO constructor wrapper]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$username">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$password">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="54" name="param" description="" type="array" variable="$driver_options">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="62">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="62">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$username</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="62">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$password</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="62">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$driver_options</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="88" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>prepare_query</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="81">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Simplifies prepared statements for database queries]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="81" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="81" name="param" description="" type="array" variable="$data">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="81" name="return" description="PDOStatement / FALSE" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="88">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="88">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>prepare_execute</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="132">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create and execute a prepared statement with the provided parameters]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="132" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="132" name="param" description="" type="array" variable="$params">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="132" name="return" description="" type="\PDOStatement">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\PDOStatement</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="139">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="139">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="155" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_query_data</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="149">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Retreives the data from a select query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="149" name="param" description="" type="\PDOStatement" variable="$statement">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\PDOStatement</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="149" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="155">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="174" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>affected_rows</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="168">
|
2012-04-19 12:29:47 -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 16:22:03 -04:00
|
|
|
<tag line="168" name="param" description="" type="\PDOStatement" variable="$statement">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\PDOStatement</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="168" name="return" description="" type="int">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="174">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="192" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_last_error</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="187">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return the last error for the current database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="187" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="207" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>quote_ident</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="201">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Surrounds the string with the databases identifier escape characters]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="201" name="param" description="" type="mixed" variable="$ident">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="201" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="207">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$ident</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="234" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>empty_table</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="227">
|
2012-04-19 12:29:47 -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 16:22:03 -04:00
|
|
|
<tag line="227" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="227" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="234">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="248" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_schemas</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="243">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return schemas for databases that list them]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="243" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="260" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_tables</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="255">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return list of tables for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="255" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="272" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_dbs</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="267">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return list of dbs for the current connection, if possible]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="267" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="284" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_views</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="279">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return list of views for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="279" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="296" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_sequences</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="291">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return list of sequences for the current database, if they exist]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="291" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="308" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_functions</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="303">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return list of function for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="303" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="320" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_procedures</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="315">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return list of stored procedures for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="315" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="332" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_triggers</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="327">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return list of triggers for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="327" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="345" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_system_tables</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="339">
|
2012-04-19 12:29:47 -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 16:22:03 -04:00
|
|
|
<tag line="339" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="359" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>driver_query</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="352">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Method to simplify retreiving db results for meta-data queries]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="352" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="352" name="param" description="" type="bool" variable="$filtered_index">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="352" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="359">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="359">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$filtered_index</name>
|
|
|
|
<default><![CDATA[TRUE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="381" package="">
|
2012-04-20 16:37:26 -04:00
|
|
|
<name>num_rows</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="376">
|
2012-04-20 16:37:26 -04:00
|
|
|
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="376" name="return" description="" type="int">
|
2012-04-20 16:37:26 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="399" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="392">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Empty the passed table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="392" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="392" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="399">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="407" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="401">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connect to a different database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="401" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="401" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="407">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/db/classes/query_builder.php" hash="9d0908676e2903fb39b55ab93c2f8df5" package="Query">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[Query]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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-30 16:22:03 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="23" package="Query\Query">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Query_Builder</name>
|
|
|
|
<full_name>\Query_Builder</full_name>
|
|
|
|
<extends/>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -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-30 16:22:03 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Query"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="34" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$select_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="29">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Compiled 'select' clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="29" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="41" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$from_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="36">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Compiled 'from' clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="36" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="48" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$set_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="43">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Compiled arguments for insert / update]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="43" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="55" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$order_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="50">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Order by clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="50" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="62" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$group_string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="57">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Group by clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="57" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="73" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$set_array_keys</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="68">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Keys for insert/update statement]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="68" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="80" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$order_array</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="75">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Key/val pairs for order by clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="75" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="87" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$group_array</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="82">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Key/val pairs for group by clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="82" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="98" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$values</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="93">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Values to apply to prepared statements]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="93" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="105" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="100">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Value for limit string]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="100" name="var" description="" type="int">
|
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="112" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="107">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Value for offset in limit string]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="107" name="var" description="" type="int">
|
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="119" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="114">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Alias to $this->db->sql]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="114" name="var" description="" type="\DB_PDO">
|
|
|
|
<type by_reference="false">\DB_PDO</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="135" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$query_map</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="121">
|
2012-04-19 12:29:47 -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 16:22:03 -04:00
|
|
|
<tag line="121" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="142" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$having_map</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="137">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Map for having clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="137" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="public" line="149" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn_name</name>
|
|
|
|
<default><![CDATA[""]]></default>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="144">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Convenience property for connection management]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="144" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="156" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="151">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Constructor]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="151" name="param" description="- the connection parametere" type="object" variable="$params">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="156">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="236" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>select</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="230">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Specifies rows to select in a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="230" name="param" description="" type="string" variable="$fields">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="230" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="236">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$fields</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -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 12:29:47 -04:00
|
|
|
<name>select_max</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="296">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Selects the maximum value of a field from a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="296" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="296" name="param" description="" type="string" variable="$as">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="296" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="303">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="303">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="319" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>select_min</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="312">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Selects the minimum value of a field from a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="312" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="312" name="param" description="" type="string" variable="$as">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="312" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="319">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="319">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="335" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>select_avg</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="328">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Selects the average value of a field from a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="328" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="328" name="param" description="" type="string" variable="$as">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="328" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="335">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="335">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="351" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>select_sum</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="344">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Selects the sum of a field from a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="344" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="344" name="param" description="" type="string" variable="$as">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="344" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="351">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="351">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$as</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="365" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>distinct</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="360">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Adds the 'distinct' keyword to a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="360" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="380" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>from</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="374">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Specify the database table to select from]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="374" name="param" description="" type="string" variable="$dbname">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="374" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="380">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$dbname</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="408" package="">
|
|
|
|
<name>_like</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="399">
|
|
|
|
<description><![CDATA[Simplify 'like' methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="399" name="param" description="" type="string" variable="$field">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="399" name="param" description="" type="mixed" variable="$val">
|
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="399" name="param" description="" type="string" variable="$pos">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<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="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>like</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="440">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Creates a Like clause in the sql statement]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="440" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="440" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="440" name="param" description="" type="string" variable="$pos">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="440" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="448">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="448">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="448">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA['both']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="464" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>or_like</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="456">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Generates an OR Like clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="456" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="456" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="456" name="param" description="" type="string" variable="$pos">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="456" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="464">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="464">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="464">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA['both']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="480" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>not_like</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="472">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Generates a NOT LIKE clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="472" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="472" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="472" name="param" description="" type="string" variable="$pos">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="472" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="480">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="480">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="480">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA['both']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="496" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>or_not_like</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="488">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Generates a OR NOT LIKE clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="488" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="488" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="488" name="param" description="" type="string" variable="$pos">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="488" name="return" description="" type="\$this">
|
2012-04-20 13:30:27 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
2012-04-19 12:29:47 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="496">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="496">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="496">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA['both']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="511" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>having</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="504">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Generates a 'Having' clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="504" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="504" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="504" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="511">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="511">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="546" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>or_having</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="539">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Generates a 'Having' clause prefixed with 'OR']]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="539" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="539" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="539" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="546">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="546">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="583" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_where</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="576">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Do all the repeditive stuff for where/having type methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="576" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="576" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="576" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="583">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="583">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -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 12:29:47 -04:00
|
|
|
<name>where</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="638">
|
2012-04-19 12:29:47 -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:22:03 -04:00
|
|
|
<tag line="638" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="638" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="638" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="647">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="647">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="683" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>or_where</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="676">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Where clause prefixed with "OR"]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="676" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="676" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="676" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="683">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="683">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="724" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>where_in</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="717">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Where clause with 'IN' statement]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="717" name="param" description="" type="mixed" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="717" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="717" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="724">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="724">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="739" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>or_where_in</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="732">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Where in statement prefixed with "or"]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="732" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="732" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="732" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="739">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="739">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="754" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>where_not_in</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="747">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[WHERE NOT IN (FOO) clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="747" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="747" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="747" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="754">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="754">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="769" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>or_where_not_in</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="762">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[OR WHERE NOT IN (FOO) clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="762" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="762" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="762" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="769">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="769">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="786" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>set</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="779">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Sets values for inserts / updates / deletes]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="779" name="param" description="" type="mixed" variable="$key">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="779" name="param" description="" type="mixed" variable="$val">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="779" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="786">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="786">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$val</name>
|
2012-04-30 16:22:03 -04:00
|
|
|
<default><![CDATA[NULL]]></default>
|
2012-04-19 12:29:47 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="825" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>join</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="817">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Creates a join phrase in a compiled query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="817" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="817" name="param" description="" type="string" variable="$condition">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="817" name="param" description="" type="string" variable="$type">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="817" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="825">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="825">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$condition</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="825">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$type</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="854" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>group_by</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="848">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Group the results by the selected field(s)]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="848" name="param" description="" type="mixed" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="848" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="854">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="879" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>order_by</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="872">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Order the results by the selected field(s)]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="872" name="param" description="" type="string" variable="$field">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="872" name="param" description="" type="string" variable="$type">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="872" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="879">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$field</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="879">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$type</name>
|
|
|
|
<default><![CDATA[""]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="916" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="909">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Set a limit on the current sql statement]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="909" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="909" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="909" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="916">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="916">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="933" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>group_start</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="928">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Adds a paren to the current query for query grouping]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="928" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="952" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>or_group_start</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="946">
|
2012-04-19 12:29:47 -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:22:03 -04:00
|
|
|
<tag line="946" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="971" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>or_not_group_start</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="965">
|
2012-04-19 12:29:47 -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:22:03 -04:00
|
|
|
<tag line="965" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="989" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>group_end</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="984">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Ends a query group]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="984" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1013" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1004">
|
2012-04-19 12:29:47 -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:22:03 -04:00
|
|
|
<tag line="1004" name="param" description="" type="" variable="$table"/>
|
|
|
|
<tag line="1004" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1004" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1004" name="return" description="" type="object">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1013">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1013">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1013">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1057" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_where</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1048">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Convience method for get() with a where clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1048" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1048" name="param" description="" type="array" variable="$where">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1048" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1048" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1048" name="return" description="" type="object">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1057">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1057">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$where</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1057">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1057">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1074" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>count_all</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1068">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Retreive the number of rows in the selected table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1068" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1068" name="return" description="" type="int">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1074">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1090" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>count_all_results</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1083">
|
2012-04-19 12:29:47 -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:22:03 -04:00
|
|
|
<tag line="1083" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1083" name="return" description="" type="int">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1090">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1128" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>insert</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1121">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Creates an insert clause, and executes it]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1121" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1121" name="param" description="" type="mixed" variable="$data">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1121" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1128">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1128">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1154" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>update</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1147">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Creates an update clause, and executes it]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1147" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1147" name="param" description="" type="mixed" variable="$data">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1147" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1154">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1154">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1181" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>delete</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1174">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Deletes data from a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1174" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1174" name="param" description="" type="mixed" variable="$where">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1174" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1181">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1181">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$where</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1212" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__call</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Calls a function further down the inheritence chain]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1205" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1205" name="param" description="" type="array" variable="$params">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1205" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1212">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1212">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="1227" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_reset</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1224">
|
2012-04-19 12:29:47 -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:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="1267" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_compile</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="1260">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[String together the sql statements for sending to the db]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1260" name="param" description="" type="string" variable="$type">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1260" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="1260" name="return" description="" type="\$string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1267">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$type</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="1267">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
2012-04-30 16:22:03 -04:00
|
|
|
<default><![CDATA['']]></default>
|
2012-04-19 12:29:47 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/classes/db_util.php" hash="1a56d6f40af0e6860d9ae0dbcde8451c" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="true" namespace="default" line="22" package="Query\Query">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>DB_Util</name>
|
|
|
|
<full_name>\DB_Util</full_name>
|
|
|
|
<extends/>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Abstract class defining database / table creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Query"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="27" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="34" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="29">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Save a reference to the connection object for later use]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="29" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="34">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__call</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="41">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Enable calling driver methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="41" name="param" description="" type="string" variable="$method">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="41" name="param" description="" type="array" variable="$args">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$method</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$args</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="71" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="61">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get database-specific sql to create a new table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="61" name="abstract" description=""/>
|
|
|
|
<tag line="61" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="61" name="param" description="" type="array" variable="$columns">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="61" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="61" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="61" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="71">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="71">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="71">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="71">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="80" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="73">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get database-specific sql to drop a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="73" name="abstract" description=""/>
|
|
|
|
<tag line="73" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="73" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="80">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="88" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="82">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return an SQL file with the database table structure]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="82" name="abstract" description=""/>
|
|
|
|
<tag line="82" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="96" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="90">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="90" name="abstract" description=""/>
|
|
|
|
<tag line="90" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/db/autoload.php" hash="170d8d1f4b74767beb653875962976ae" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<constant namespace="default" line="23" package="Default">
|
2012-04-30 16:22:03 -04:00
|
|
|
<name>QBASE_PATH</name>
|
2012-04-19 12:29:47 -04:00
|
|
|
<value><![CDATA[dirname(__FILE__).'/']]></value>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="20">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to root path]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</constant>
|
2012-04-20 13:30:27 -04:00
|
|
|
<constant namespace="default" line="28" package="Default">
|
2012-04-30 16:22:03 -04:00
|
|
|
<name>QDRIVER_PATH</name>
|
|
|
|
<value><![CDATA[QBASE_PATH.'drivers/']]></value>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="25">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Path to driver classes]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</constant>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="39" package="Query">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>do_include</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="32">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="32" name="param" description="" type="string" variable="$path">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="32" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$path</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="74" package="Query">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_filter</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="67">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Filter out db rows into one array]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="67" name="param" description="" type="array" variable="$array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="67" name="param" description="" type="mixed" variable="$index">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="67" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="74">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$array</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="74">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$index</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/pgsql/pgsql_sql.php" hash="28f1fe85be6eba57e8ec7373f885faec" package="Default">
|
2012-04-19 12:29:47 -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:30:27 -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 12:29:47 -04:00
|
|
|
<extends>\DB_SQL</extends>
|
|
|
|
<docblock line="15">
|
|
|
|
<description><![CDATA[PostgreSQL specifc SQL]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="15" name="package" description="Query"/>
|
|
|
|
<tag line="15" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="31" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="23">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="23" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="23" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="23" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="23" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="50" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="45">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="45" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="57">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="57" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="78" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="73">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="73" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="96" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="91">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list system tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="91" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="114" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="109">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="109" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="132" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="127">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="127" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="149" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="144">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="144" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="161" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="156">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="156" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="179" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="174">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="174" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="197" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>column_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="191">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list columns of the specified table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="191" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="191" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="197">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/pgsql/pgsql_util.php" hash="5bc6c47b681f4bdbb9385d8101666760" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>PgSQL_Util</name>
|
|
|
|
<full_name>\PgSQL_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Posgres-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="30">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="35">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Database-specific method to create a new table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="35" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="35" name="param" description="" type="array" variable="$columns">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="35" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="35" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="35" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="44">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="44">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="44">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="44">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="94">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Database-specific SQL for dropping a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="94" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="94" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="100">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="112" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="107">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="107" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="126" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="120">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="120" name="param" description="" type="array" variable="$exclude">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="120" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="126">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$exclude</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/db/drivers/pgsql/pgsql_driver.php" hash="3be55bee617eba8379a38cd5a2657aad" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -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 12:29:47 -04:00
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[PostgreSQL specifc class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connect to a PosgreSQL database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$username">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$password">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="array" variable="$options">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$username</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$password</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$options</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connect to a different database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="39" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="44">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="57" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="52">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Empty a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="52" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="57">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="70" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_schemas</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="65">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get a list of schemas for the current connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="65" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/odbc/odbc_util.php" hash="e3254c43700cf53c79566c0590e5ca29" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>ODBC_Util</name>
|
|
|
|
<full_name>\ODBC_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[ODBC-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="30">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="46" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="37">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Database-specific method to create a new table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$columns">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="60" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="54">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Remove a table from the database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="54" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="60">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="72" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="67">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="67" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="80">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="80" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/db/drivers/odbc/odbc_sql.php" hash="09d03f4e6a98823cdb5e78b23eae2ac0" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>ODBC_SQL</name>
|
|
|
|
<full_name>\ODBC_SQL</full_name>
|
|
|
|
<extends>\DB_SQL</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[ODBC SQL Class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="39" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="51">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="51" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="68" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="63">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="63" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="80" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="75">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list system tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="75" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="92" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="87">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="87" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="104" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="99">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="99" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="111" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="123">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="123" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="140" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="135">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="135" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/db/drivers/odbc/odbc_driver.php" hash="345f3b133f34abb5ffaa785e058b1178" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="24" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>ODBC</name>
|
|
|
|
<full_name>\ODBC</full_name>
|
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$escape_char</name>
|
|
|
|
<default><![CDATA['']]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="39" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Use ODBC to connect to a database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$username">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$password">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="array" variable="$options">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$username</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$password</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$options</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Doesn't apply to ODBC]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="46" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="46" name="return" description="" type="bool">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="52">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="65" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="59">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Empty the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="59" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="59" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="65">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/mysql/mysql_util.php" hash="e6dbdd9b0b965f7e09ee0638ed4a7a35" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>MySQL_Util</name>
|
|
|
|
<full_name>\MySQL_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[MySQL-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="30">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="37">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Convienience public function for creating a new MySQL table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$columns">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="113" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="107">
|
|
|
|
<description><![CDATA[Convience public function for droping a table]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="107" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="107" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="113">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="125" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="120">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="120" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="133">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="133" name="param" description="" type="array" variable="$exclude">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="133" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="139">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$exclude</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/db/drivers/mysql/mysql_driver.php" hash="0561fe57bbfa8b513a096ef66e1bf193" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>MySQL</name>
|
|
|
|
<full_name>\MySQL</full_name>
|
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[MySQL specific class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$escape_char</name>
|
|
|
|
<default><![CDATA['`']]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Set the backtick as the MySQL escape character]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="39" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connect to MySQL Database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$username">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$password">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="array" variable="$options">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$username</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$password</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="39">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$options</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="55" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="50">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connect to a different database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="50" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="55">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="68" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="63">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Empty a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="63" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="68">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/mysql/mysql_sql.php" hash="41d15ee4e1357bb84f07e71872252810" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>MySQL_SQL</name>
|
|
|
|
<full_name>\MySQL_SQL</full_name>
|
|
|
|
<extends>\DB_SQL</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[MySQL specifc SQL]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="44">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="44" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="56">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="56" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="68">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="68" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="80">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Overridden in MySQL class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="80" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="93">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="93" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="110" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="105">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="105" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="117">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="117" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="134" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="129">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="129" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="146" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="141">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="141" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/sqlite/sqlite_util.php" hash="18cd637365896dd9cf94066e517cdaa8" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>SQLite_Util</name>
|
|
|
|
<full_name>\SQLite_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[SQLite-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="30">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="46" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="37">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Convenience public function to create a new table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="//Name of the table" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="//columns as straight array and/or column => type pairs" type="array" variable="$columns">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="// column => constraint pairs" type="array" variable="$constraints">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="// column => index pairs" type="array" variable="$indexes">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$columns</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="96">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[SQL to drop the specified table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="96" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="96" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="102">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="109">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="109" name="param" description="" type="array" variable="$excluded">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="109" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="115">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$excluded</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="179" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="174">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="174" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/db/drivers/sqlite/sqlite_driver.php" hash="d32d8a174c1770f558b6810f47ea8869" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>SQLite</name>
|
|
|
|
<full_name>\SQLite</full_name>
|
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[SQLite specific class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to the last executed sql query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="24" name="var" description="" type="\PDOStatement">
|
|
|
|
<type by_reference="false">\PDOStatement</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="38" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Open SQLite Database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$dsn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$user">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="31" name="param" description="" type="string" variable="$pass">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="38">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$dsn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="38">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$user</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="38">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$pass</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="51" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Doesn't apply to sqlite]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="46" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="51">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="63" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="58">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Empty a table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="58" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="63">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_tables</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="76">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[List tables for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="76" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_system_tables</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="97">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[List system tables for the current database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="97" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="117" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>load_database</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Load a database for the current connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="111" name="param" description="" type="string" variable="$db">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="111" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="117">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$db</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="117">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-30 16:22:03 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>unload_database</name>
|
|
|
|
<type>function</type>
|
2012-04-30 16:22:03 -04:00
|
|
|
<docblock line="125">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Unload a database from the current connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-30 16:22:03 -04:00
|
|
|
<tag line="125" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-30 16:22:03 -04:00
|
|
|
<argument line="130">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/sqlite/sqlite_sql.php" hash="922f241976864c2452c65c2ebec32eda" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>SQLite_SQL</name>
|
|
|
|
<full_name>\SQLite_SQL</full_name>
|
|
|
|
<extends>\DB_SQL</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[SQLite Specific SQL]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="44">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="44" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="56">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="56" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="68">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="68" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="85">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Overridden in SQLite class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="85" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="97">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="97" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="111" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="123">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="123" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="140" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="135">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="135" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="152" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="147">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="147" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/firebird/firebird_sql.php" hash="1691368f9f3d42296b89c1e5e33281e0" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Firebird_SQL</name>
|
|
|
|
<full_name>\Firebird_SQL</full_name>
|
|
|
|
<extends>\DB_SQL</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Firebird Specific SQL]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>limit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Limit clause]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$limit">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="int" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$limit</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="32">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>random</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="51">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Random ordering keyword]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="51" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="64">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list other databases]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="64" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="76">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="76" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>system_table_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="93">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list system tables]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="93" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>view_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="110">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="110" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>trigger_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="125">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns sql to list triggers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="125" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="145" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>function_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="140">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list functions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="140" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="157" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>procedure_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="152">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list stored procedures]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="152" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="185" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>sequence_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="180">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list sequences]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="180" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="202" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>column_list</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="196">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return sql to list columns of the specified table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="196" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="196" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="202">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 16:37:26 -04:00
|
|
|
<file path="sys/db/drivers/firebird/firebird_result.php" hash="d713425d6dc82a16618de449f0ef39f9" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="23" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Firebird_Result</name>
|
|
|
|
<full_name>\Firebird_Result</full_name>
|
|
|
|
<extends>\PDOStatement</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="30" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="25">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to fbird resource]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="25" name="var" description="" type="resource">
|
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:37:26 -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 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="46">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create the object by passing the resource for
|
|
|
|
the query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="46" name="param" description="" type="resource" variable="$link">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="52">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$link</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="83" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>bindColumn</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="73">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Invalidate method for data consistency]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="73" name="param" description="" type="mixed" variable="$column">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="73" name="param" description="&$param" type="mixed" variable="$param">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="73" name="param" description="" type="int" variable="$type">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="73" name="param" description="" type="mixed" variable="$maxlen">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="73" name="param" description="" type="array" variable="$driverdata">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="73" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="83">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$column</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="83">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$param</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="83">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$type</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="83">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$maxlen</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="83">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$driverdata</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>bindParam</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="90">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Invalidate method for data consistency]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="90" name="param" description="" type="mixed" variable="$parameter">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="90" name="param" description="&$variable" type="mixed" variable="$variable">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="90" name="param" description="" type="int" variable="$data_type">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="90" name="param" description="" type="mixed" variable="$maxlen">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="90" name="param" description="" type="array" variable="$driverdata">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="90" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="100">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$parameter</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="100">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$variable</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="100">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data_type</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="100">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$maxlen</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="100">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$driverdata</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>bindValue</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="107">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Invalidate method for data consistency]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="107" name="param" description="" type="mixed" variable="$parameter">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="107" name="param" description="&$variable" type="mixed" variable="$variable">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="107" name="param" description="" type="int" variable="$data_type">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="107" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="115">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$parameter</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="115">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$variable</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="115">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data_type</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>execute</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="122">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Run a prepared statement query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="122" name="param" description="" type="array" variable="$args">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="122" name="return" description="" type="bool">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="128">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$args</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="151" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>fetch</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="143">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Emulate PDO fetch public function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="143" name="param" description="" type="int" variable="$fetch_style">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="143" name="param" description="" type="mixed" variable="$statement">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="143" name="param" description="" type="mixed" variable="$offset">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="143" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="151">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$fetch_style</name>
|
|
|
|
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="151">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="151">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$offset</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="201" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>fetchAll</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="193">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Emulate PDO fetchAll public function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="193" name="param" description="" type="int" variable="$fetch_style">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="193" name="param" description="" type="mixed" variable="$statement">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="193" name="param" description="" type="mixed" variable="$ctor_args">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="193" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="201">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$fetch_style</name>
|
|
|
|
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="201">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="201">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$ctor_args</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="223" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>fetchColumn</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="217">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Emulate PDOStatement::fetchColumn]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="217" name="param" description="" type="int" variable="$column_num">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="217" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="223">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$column_num</name>
|
|
|
|
<default><![CDATA[0]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="238" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>fetchObject</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="231">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Emulate PDOStatement::fetchObject, but only for the default use]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="231" name="param" description="" type="string" variable="$class_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="231" name="param" description="" type="array" variable="$ctor_args">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="231" name="return" description="" type="\stdClass">
|
|
|
|
<type by_reference="false">\stdClass</type>
|
2012-04-19 12:29:47 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="238">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$class_name</name>
|
|
|
|
<default><![CDATA['stdClass']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="238">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$ctor_args</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="250" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>rowCount</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="245">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return the number of rows affected by the previous query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="245" name="return" description="" type="int">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="270" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>errorCode</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="265">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Method to emulate PDOStatement->errorCode]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="265" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="282" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>errorInfo</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="277">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="277" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 16:37:26 -04:00
|
|
|
<file path="sys/db/drivers/firebird/firebird_driver.php" hash="4f7e9df014cc1df6b92f09f815b9837d" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="24" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Firebird</name>
|
|
|
|
<full_name>\Firebird</full_name>
|
|
|
|
<extends>\DB_PDO</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="31" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to the last query executed]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="26" name="var" description="" type="object">
|
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:37:26 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="39" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$statement_link</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="33">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to the resource returned by
|
|
|
|
the last query executed]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="33" name="var" description="" type="resource">
|
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:37:26 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="46" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$trans</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="41">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to the current transaction]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="41" name="var" description="" type="resource">
|
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:37:26 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="53" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="48">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to the connection resource]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="48" name="var" description="" type="resource">
|
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="55">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Open the link to the database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="55" name="param" description="" type="string" variable="$dbpath">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="55" name="param" description="" type="string" variable="$user">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="55" name="param" description="" type="string" variable="$pass">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="62">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$dbpath</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="62">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$user</name>
|
|
|
|
<default><![CDATA['sysdba']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="62">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$pass</name>
|
|
|
|
<default><![CDATA['masterkey']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="95" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>switch_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="89">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Doesn't apply to Firebird]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="89" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="89" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="95">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="107" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>truncate</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="102">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Empty a database table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="102" name="param" description="" type="string" variable="$table">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="107">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$table</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>query</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="116">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Wrapper public function to better match PDO]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="116" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="116" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="122">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 16:37:26 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="148" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>prepare</name>
|
|
|
|
<type>function</type>
|
2012-04-20 16:37:26 -04:00
|
|
|
<docblock line="141">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Emulate PDO prepare]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="141" name="param" description="" type="string" variable="$query">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="141" name="param" description="" type="array" variable="$options">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 16:37:26 -04:00
|
|
|
<tag line="141" name="return" description="" type="\$this">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\$this</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="148">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$query</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 16:37:26 -04:00
|
|
|
<argument line="148">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$options</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="170" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>beginTransaction</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="165">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Start a database transaction]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="165" name="return" description="" type="bool">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="187" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>commit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="182">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Commit a database transaction]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="182" name="return" description="" type="bool">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="199" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>rollBack</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="194">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Rollback a transaction]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="194" name="return" description="" type="bool">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="213" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>prepare_execute</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="206">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Prepare and execute a query]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="206" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="206" name="param" description="" type="array" variable="$args">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="206" name="return" description="" type="resource">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">resource</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="213">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="213">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$args</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="232" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>quote</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="225">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Method to emulate PDO->quote]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="225" name="param" description="" type="string" variable="$str">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="225" name="param" description="" type="int" variable="$param_type">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="225" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="232">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$str</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="232">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$param_type</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="249" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>errorInfo</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="244">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="244" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="264" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>errorCode</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="259">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Method to emulate PDO->errorCode]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="259" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="278" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>prepare_query</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="271">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Bind a prepared query with arguments for executing]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="271" name="param" description="" type="string" variable="$sql">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="271" name="param" description="" type="array" variable="$params">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="271" name="return" description="" type="FALSE">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">FALSE</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="278">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$sql</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="278">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/db/drivers/firebird/firebird_util.php" hash="e51cf49b7bb1e2bb39ed5eab9bf6e98c" package="Query">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="2" name="package" description="Query"/>
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Firebird_Util</name>
|
|
|
|
<full_name>\Firebird_Util</full_name>
|
|
|
|
<extends>\DB_Util</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Firebird-specific backup, import and creation methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="Query"/>
|
|
|
|
<tag line="16" name="subpackage" description="Drivers"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Save a reference to the current connection object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="&$conn" type="object" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="30">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>create_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="37">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$fields">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$constraints">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="param" description="" type="array" variable="$indexes">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="37" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$fields</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$constraints</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="47">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$indexes</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>delete_table</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="97">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Drop the selected table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="97" name="param" description="" type="string" variable="$name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="97" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="103">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_structure</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="110">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="110" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>backup_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="123">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="123" name="param" description="" type="array" variable="$exclude">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="123" name="param" description="" type="bool" variable="$system_tables">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="123" name="return" description="" type="string">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="130">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$exclude</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="130">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$system_tables</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/common/functions.php" hash="f4432e0bafd396b0777ad5d1771654a8" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="24" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>array_to_object</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="18">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Convert an array to an object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="18" name="param" description="" type="array" variable="$array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="18" name="return" description="" type="object">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$array</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="49" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>alert</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="43">
|
|
|
|
<description><![CDATA[Create info dialog to return an informational message]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="43" name="param" description="" type="string" variable="$message">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="43" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="49">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$message</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="72" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>error</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="66">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create info dialog to retun an informational message]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="66" name="param" description="" type="string" variable="$message">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="66" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="72">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$message</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="95" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>confirm</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="89">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Creates a binary confirmation dialog]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="89" name="param" description="" type="string" variable="$message">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="89" name="return" description="" type="bool">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="95">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$message</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="119" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>about</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="114">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Display About menu with version information]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="114" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/widgets/connection_sidebar.php" hash="e8e4b11dc7014008f2b3ae56cf628b0c" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Widgets">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Connection_Sidebar</name>
|
|
|
|
<full_name>\Connection_Sidebar</full_name>
|
|
|
|
<extends>\GtkVBox</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Widget managing saved database connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Widgets"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$settings</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to Settings instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="var" description="" type="\Settings">
|
|
|
|
<type by_reference="false">\Settings</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="36" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$menu</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to popup menu]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="var" description="" type="\GtkMenu">
|
|
|
|
<type by_reference="false">\GtkMenu</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="43" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$treeview</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="38">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Treeview for displaying connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="38" name="var" description="" type="\GtkTreeView">
|
|
|
|
<type by_reference="false">\GtkTreeView</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="true" visibility="private" line="50" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$instance</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="45">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Singleton instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="45" name="var" description="" type="\Connection_Sidebar">
|
|
|
|
<type by_reference="false">\Connection_Sidebar</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="57" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn_name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="52">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Name of current db connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="52" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="64" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_instance</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="59">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return the current instance of the class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="59" name="return" description="" type="\Connection_Sidebar">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\Connection_Sidebar</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="80" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="77">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Constructor method]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="116" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_render</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Renders the connection sidebar widget]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="111" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="175" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>set_icon</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="166">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Sets the icon for the current db type]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="166" name="param" description="Column $col" type="\GtkTreeView" variable="$col">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeView</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="166" name="param" description="" type="\GtkCellRenderer" variable="$cell">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkCellRenderer</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="166" name="param" description="" type="\GtkTreeModel" variable="$model">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeModel</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="166" name="param" description="" type="\GtkTreeIter" variable="$iter">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeIter</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="166" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="175">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$col</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="175">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$cell</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="175">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$model</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="175">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$iter</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="205" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>set_label</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="196">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Sets the label of the current db connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="196" name="param" description="" type="\GtkTreeViewColumn" variable="$col">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeViewColumn</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="196" name="param" description="" type="\GtkCellRenderer" variable="$cell">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkCellRenderer</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="196" name="param" description="" type="\GtkTreeModel" variable="$model">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeModel</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="196" name="param" description="" type="\GtkTreeIter" variable="$iter">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeIter</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="196" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$col</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$cell</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$model</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$iter</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="223" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>set_status_icon</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="214">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Sets the status icon of the current db connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="214" name="param" description="" type="\GtkTreeViewColumn" variable="$col">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeViewColumn</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="214" name="param" description="" type="\GtkCellRenderer" variable="$cell">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkCellRenderer</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="214" name="param" description="" type="\GtkTreeModel" variable="$model">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeModel</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="214" name="param" description="" type="\GtkTreeIter" variable="$iter">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeIter</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="214" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="223">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$col</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="223">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$cell</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="223">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$model</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="223">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$iter</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="247" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>new_conn</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="242">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns window for creating a new database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="242" name="return" description="object" type="\Add_DB">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\Add_DB</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="261" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>on_button</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="254">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Event for mouse clicks on connection sidebar]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="254" name="param" description="" type="\GtkTreeView" variable="$view">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeView</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="254" name="param" description="" type="" variable="$event"/>
|
|
|
|
<tag line="254" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="261">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$view</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="261">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$event</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="295" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>conn_popup_menu</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="289">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Creates and displays a context menu for the selected connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="289" name="param" description="" type="array" variable="$all">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="289" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="295">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$all</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="352" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>refresh</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="347">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Recreate sidebar widget to update connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="347" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="365" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>edit_connection</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="360">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Update the connection information for an existing connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="360" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="377" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>remove_connection</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="372">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Remove a connection from the connection manager]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="372" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="401" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_connect</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="396">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create connection to a database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="396" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="427" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_disconnect</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="422">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Disconnect from a database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="422" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="445" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>switch_tab</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="439">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Change tabs based on db connection selected]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="439" name="param" description="" type="\GtkTreeView" variable="$view">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeView</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="439" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="445">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$view</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/widgets/data_grid.php" hash="27084ec65e2223255f1903416146f692" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Widgets">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Data_Grid</name>
|
|
|
|
<full_name>\Data_Grid</full_name>
|
|
|
|
<extends>\GtkTreeView</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Class to simplify dealing with GtkTreeView]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Widgets"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$model</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[GtkTreeStore object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="var" description="" type="\GtkTreeStore">
|
|
|
|
<type by_reference="false">\GtkTreeStore</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="36" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create the object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="object" variable="$model">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="36">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$model</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="57" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="51">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Get the value of the model for the current selection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="51" name="param" description="pos" type="int" variable="$pos">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="51" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="57">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$pos</name>
|
|
|
|
<default><![CDATA[0]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="87" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>reset</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="82">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Clear datagrid]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="82" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="111" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>add_data_col</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="101">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Adds a column of data to the model]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="param" description="" type="\GtkTreeViewColumn" variable="$col">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeViewColumn</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="param" description="" type="\GtkCellRenderer" variable="$cell">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkCellRenderer</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="param" description="" type="\GtkTreeModel" variable="$model">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeModel</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="param" description="" type="\GtkTreeIter" variable="$iter">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeIter</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="param" description="" type="int" variable="$i">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$col</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$cell</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$model</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$iter</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="111">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$i</name>
|
|
|
|
<default><![CDATA[0]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="133" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>render_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="126">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create a datagrid from the provided data array]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="126" name="param" description="" type="array" variable="$data">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="126" name="param" description="" type="array" variable="$events">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="126" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="133">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="133">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$events</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/widgets/db_structure_widget.php" hash="a9115c631dec57b43628e4bb1ce2338a" package="OpenSQLManager">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
|
|
|
<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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Widgets">
|
|
|
|
<name>DB_Structure_Widget</name>
|
|
|
|
<full_name>\DB_Structure_Widget</full_name>
|
|
|
|
<extends>\GTKTable</extends>
|
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[Class for generating db-structure editing views]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Widgets"/>
|
|
|
|
</docblock>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="27" package="">
|
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="24">
|
|
|
|
<description><![CDATA[Initialize the class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 16:37:26 -04:00
|
|
|
<file path="sys/widgets/db_tabs.php" hash="c87a7884eed7f2ee31135b054cd727de" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Widgets">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>DB_tabs</name>
|
|
|
|
<full_name>\DB_tabs</full_name>
|
2012-04-20 16:37:26 -04:00
|
|
|
<extends>\GtkNotebook</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Tabbed Container for database properties]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Widgets"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="true" visibility="private" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$instance</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Current Tab Widget object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="var" description="" type="\DB_Tabs">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\DB_Tabs</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="36" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Db Data cache]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="43" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_instance</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="38">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Return the db tabs object if it exists, or create and return]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="38" name="return" description="" type="\DB_tabs">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\DB_tabs</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="58" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="55">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create the object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>add_tab</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="66">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Add a new tab with the provided label]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="66" name="param" description="" type="string" variable="$label">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="66" name="param" description="" type="\GObject" variable="$widget">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GObject</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="66" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="73">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$label</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="73">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$widget</name>
|
|
|
|
<default><![CDATA[NULL]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="94" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>show_table_data</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="85">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create popup window with table data]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="85" name="param" description="" type="\GTKTreeView" variable="$view">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GTKTreeView</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="85" name="param" description="" type="array" variable="$path">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="85" name="param" description="" type="\GtkTreeviewColumn" variable="$col">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkTreeviewColumn</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="85" name="param" description="" type="\Query_Builder" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\Query_Builder</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="85" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="94">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$view</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="94">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$path</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="94">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$col</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="94">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="112" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_db_tabs</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="106">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create tabs for database aspects]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="106" name="param" description="" type="\Query_Builder" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\Query_Builder</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="106" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="112">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="176" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>reset</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="170">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Remove current tabs]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="170" name="param" description="" type="string" variable="$conn_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="170" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="176">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn_name</name>
|
|
|
|
<default><![CDATA['']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="private" namespace="default" line="205" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_add_tab</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="195">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Simplify adding tabs to the Notebook object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="195" name="param" description="" type="object" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="195" name="param" description="" type="string" variable="$tab_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="195" name="param" description="" type="string" variable="$col_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="195" name="param" description="" type="string" variable="$method">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="195" name="param" description="" type="array" variable="$events">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="195" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$tab_name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$col_name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$method</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="205">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$events</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="true" visibility="private" namespace="default" line="258" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_add_row_tab</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="250">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Add a multidimensional array to a tab]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="250" name="param" description="" type="object" variable="$conn">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="250" name="param" description="" type="string" variable="$tab_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="250" name="param" description="" type="string" variable="$method">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="250" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="258">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="258">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$tab_name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="258">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$method</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="293" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_get_db_info</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="286">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Returns cached database data for the tab and connection specified]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="286" name="param" description="" type="string" variable="$conn_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="286" name="param" description="" type="string" variable="$tab_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="286" name="return" description="" type="mixed">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="293">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn_name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="293">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$tab_name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="320" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_set_db_info</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="313">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Sets cached database data for the tab and connection specified]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="313" name="param" description="" type="string" variable="$conn_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="313" name="param" description="" type="string" variable="$tab_name">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="313" name="param" description="" type="mixed" variable="$data">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="320">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn_name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="320">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$tab_name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="320">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/widgets/db_info_widget.php" hash="ed5648eca3f3c152ff202269eedfd780" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Widgets">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>DB_Info_Widget</name>
|
|
|
|
<full_name>\DB_Info_Widget</full_name>
|
|
|
|
<extends>\GtkTable</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Widget for adding / editing database connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Widgets"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$settings</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Alias to Settings::get_instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="var" description="" type="\Settings">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\Settings</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="36" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection name]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="var" description="" type="\GtkEntry">
|
|
|
|
<type by_reference="false">\GtkEntry</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="43" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$conn_db</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="38">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection database name]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="38" name="var" description="" type="\GtkEntry">
|
|
|
|
<type by_reference="false">\GtkEntry</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="50" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$dbtype</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="45">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection database type]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="45" name="var" description="" type="\GtkComboBox">
|
|
|
|
<type by_reference="false">\GtkComboBox</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="57" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$host</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="52">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection database host]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="52" name="var" description="" type="\GtkEntry">
|
|
|
|
<type by_reference="false">\GtkEntry</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="64" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$user</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="59">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection user name]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="59" name="var" description="" type="\GtkEntry">
|
|
|
|
<type by_reference="false">\GtkEntry</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="71" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$pass</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="66">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection password]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="66" name="var" description="" type="\GtkEntry">
|
|
|
|
<type by_reference="false">\GtkEntry</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="78" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$db_file</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="73">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection database file]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="73" name="var" description="" type="\GtkFileChooserButton">
|
|
|
|
<type by_reference="false">\GtkFileChooserButton</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="85" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$port</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="80">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection port]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="80" name="var" description="" type="\GtkEntry">
|
|
|
|
<type by_reference="false">\GtkEntry</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="92" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$old_conn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="87">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to last connection name]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="87" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="99" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$lblconn</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="94">
|
|
|
|
<description><![CDATA[Label for connection name]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="94" name="var" description="" type="\GtkLabel">
|
|
|
|
<type by_reference="false">\GtkLabel</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="106" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$lblconn_db</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="101">
|
|
|
|
<description><![CDATA[Label for connection database name]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="var" description="" type="\Gtklabel">
|
|
|
|
<type by_reference="false">\Gtklabel</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="113" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$lbldbtype</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="108">
|
|
|
|
<description><![CDATA[Label for database type]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="108" name="var" description="" type="\Gtklabel">
|
|
|
|
<type by_reference="false">\Gtklabel</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="120" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$lblhost</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="115">
|
|
|
|
<description><![CDATA[Label for database host]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="115" name="var" description="" type="\Gtklabel">
|
|
|
|
<type by_reference="false">\Gtklabel</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="127" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$lbluser</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="122">
|
|
|
|
<description><![CDATA[Label for database connection user]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="122" name="var" description="" type="\GtkLabel">
|
|
|
|
<type by_reference="false">\GtkLabel</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="134" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$lblpass</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="129">
|
|
|
|
<description><![CDATA[Label for database connection password]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="129" name="var" description="" type="\GtkLabel">
|
|
|
|
<type by_reference="false">\GtkLabel</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="141" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$lbldb_file</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="136">
|
|
|
|
<description><![CDATA[Label for database file]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="136" name="var" description="" type="\GtkLabel">
|
|
|
|
<type by_reference="false">\GtkLabel</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="148" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$lblport</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="143">
|
|
|
|
<description><![CDATA[Label for database connection port]]></description>
|
2012-04-19 12:29:47 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="143" name="var" description="" type="\GtkLabel">
|
|
|
|
<type by_reference="false">\GtkLabel</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="160" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="154">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[No params = add, params = edit]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="154" name="param" description="" type="object" variable="$db">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="154" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="160">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$db</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="246" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>change_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="241">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Set defaults for new database type]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="241" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="315" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>set_db</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="310">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Like change_db function, but save current values]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="310" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="360" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_add</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="355">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Adds the database to the settings file]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="355" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="395" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>db_edit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="390">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Edit an existing database connection]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="390" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="433" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>test_conn</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="428">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Test a db connection, and display a popup with the result of the test]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="428" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="480" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>get_available_dbs</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="475">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Checks what database drivers are available]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="475" name="return" description="" type="array">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="538" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_add_row</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="529">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Simple helper function for adding a row to the GtkTable]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="529" name="param" description="" type="string" variable="$label">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="529" name="param" description="" type="string" variable="$vname">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="529" name="param" description="&$y1" type="int" variable="$y1">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="529" name="param" description="&$y2" type="int" variable="$y2">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="529" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="538">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$label</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="538">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$vname</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="538">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$y1</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="538">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$y2</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="559" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_layout</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="554">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Table layout]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="554" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/windows/add_db.php" hash="c8c5c9abe97ce4ec39365cce83553dd1" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Windows">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Add_DB</name>
|
|
|
|
<full_name>\Add_DB</full_name>
|
|
|
|
<extends>\GtkWindow</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Window controlling addition of database connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Windows"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="27" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create the window]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/windows/edit_db.php" hash="ff91299d790e4be1e709a0a14745e86e" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Windows">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Edit_DB</name>
|
|
|
|
<full_name>\Edit_DB</full_name>
|
|
|
|
<extends>\GtkWindow</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Window controlling modifications of database connections]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Windows"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="29" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Connection editing window]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="param" description="" type="object" variable="$db_params">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="29">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$db_params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-30 16:22:03 -04:00
|
|
|
<file path="sys/windows/edit_table.php" hash="d12c0380bc38d03a37252773c7020452" package="OpenSQLManager">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
|
|
|
<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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Windows">
|
|
|
|
<name>Edit_Table</name>
|
|
|
|
<full_name>\Edit_Table</full_name>
|
|
|
|
<extends>\GtkWindow</extends>
|
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[Window for editing db table structure]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Windows"/>
|
|
|
|
</docblock>
|
|
|
|
<property final="false" static="false" visibility="private" line="29" package="Default">
|
|
|
|
<name>$fields</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="24">
|
|
|
|
<description><![CDATA[Database fields for the current database table]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="24" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="37" package="">
|
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="31">
|
|
|
|
<description><![CDATA[Create the window, and set basic properties]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="31" name="param" description="" type="string" variable="$name">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="31" name="param" description="" type="array" variable="$fields">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="37">
|
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[""]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="37">
|
|
|
|
<name>$fields</name>
|
|
|
|
<default><![CDATA[array()]]></default>
|
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 16:37:26 -04:00
|
|
|
<file path="sys/windows/db_table_data.php" hash="2ed430e2832ef797cc23a770b5219035" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="OpenSQLManager\Windows">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>DB_Table_Data</name>
|
|
|
|
<full_name>\DB_Table_Data</full_name>
|
2012-04-20 16:37:26 -04:00
|
|
|
<extends>\GtkWindow</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Popup window to display database table data]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Windows"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$win</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="24">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to the scrolled window]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="24" name="var" description="" type="\GtkScrolledWindow">
|
|
|
|
<type by_reference="false">\GtkScrolledWindow</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="37" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="31">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create and populate the window]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="param" description="" type="array" variable="$data">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="31" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="37">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="sys/windows/main.php" hash="8e05165cf8a7d4ba676df0c7bc01e924" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="24" package="OpenSQLManager\Windows">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>Main</name>
|
|
|
|
<full_name>\Main</full_name>
|
|
|
|
<extends>\GtkWindow</extends>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="16">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Main Window Class]]></description>
|
|
|
|
<long-description><![CDATA[<p>Creates and displays the main interface window</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="16" name="package" description="OpenSQLManager"/>
|
|
|
|
<tag line="16" name="subpackage" description="Windows"/>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="31" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$settings</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="26">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to settings instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="26" name="var" description="" type="\Settings">
|
|
|
|
<type by_reference="false">\Settings</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<property final="false" static="false" visibility="private" line="38" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$connection_sidebar</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="33">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Reference to connection sidebar instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="33" name="var" description="" type="\Connection_Sidebar">
|
|
|
|
<type by_reference="false">\Connection_Sidebar</type>
|
|
|
|
</tag>
|
2012-04-19 12:29:47 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="43" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="40">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create and display the main window on startup]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>__destruct</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="76">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Some cleanup for when the main window is closed]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="76" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>quit</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="98">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Exits the GTK loop]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="98" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="116" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_main_layout</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="110">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Layout the main interface
|
|
|
|
Create menus, hboxes, vboxs and other widgets]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="110" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-04-20 13:30:27 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="158" package="">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>_create_menu</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="153">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Create the menu for the program]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="153" name="return" description="" type="\GtkMenuBar">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\GtkMenuBar</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-04-20 13:30:27 -04:00
|
|
|
<file path="index.php" hash="62c60423b369f5d5ba17681a49e93948" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[OpenSQLManager]]></description>
|
|
|
|
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="2" name="package" description="OpenSQLManager"/>
|
2012-04-19 12:29:47 -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/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<include line="127" type="Require Once" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>/db/autoload.php</name>
|
|
|
|
</include>
|
2012-04-20 13:30:27 -04:00
|
|
|
<constant namespace="default" line="34" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>BASE_DIR</name>
|
|
|
|
<value><![CDATA[dirname(__FILE__).'/sys']]></value>
|
|
|
|
</constant>
|
2012-04-20 13:30:27 -04:00
|
|
|
<constant namespace="default" line="35" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>SETTINGS_DIR</name>
|
|
|
|
<value><![CDATA[dirname(__FILE__)]]></value>
|
|
|
|
</constant>
|
2012-04-20 13:30:27 -04:00
|
|
|
<constant namespace="default" line="36" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>PROGRAM_NAME</name>
|
|
|
|
<value><![CDATA['OpenSQLManager']]></value>
|
|
|
|
</constant>
|
2012-04-20 13:30:27 -04:00
|
|
|
<constant namespace="default" line="37" package="Default">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>VERSION</name>
|
|
|
|
<value><![CDATA['0.1.0pre']]></value>
|
|
|
|
</constant>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="44" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>log_fatal</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="41">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Log fatal errors]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="88" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>exception_error_handler</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="79">
|
2012-04-19 12:29:47 -04:00
|
|
|
<description><![CDATA[Error handler to convert errors to exceptions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="79" name="param" description="" type="int" variable="$errno">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="79" name="param" description="" type="string" variable="$errstr">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="79" name="param" description="" type="string" variable="$errfile">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="79" name="param" description="" type="int" variable="$errline">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="79" name="throws" description="" type="\ErrorException">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">\ErrorException</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="88">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$errno</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="88">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$errstr</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="88">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$errfile</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="88">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$errline</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-04-20 13:30:27 -04:00
|
|
|
<function namespace="default" line="108" package="OpenSQLManager">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>do_include</name>
|
|
|
|
<type>function</type>
|
2012-04-20 13:30:27 -04:00
|
|
|
<docblock line="101">
|
2012-04-19 12:29:47 -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:30:27 -04:00
|
|
|
<tag line="101" name="param" description="" type="string" variable="$path">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-20 13:30:27 -04:00
|
|
|
<tag line="101" name="return" description="" type="void">
|
2012-04-19 12:29:47 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-20 13:30:27 -04:00
|
|
|
<argument line="108">
|
2012-04-19 12:29:47 -04:00
|
|
|
<name>$path</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
|
|
|
</file>
|
|
|
|
<package name="" full_name=""/>
|
|
|
|
<package name="Default" full_name="Default"/>
|
2012-04-20 13:30:27 -04:00
|
|
|
<package name="OpenSQLManager" full_name="OpenSQLManager">
|
|
|
|
<package name="Widgets" full_name="OpenSQLManager\Widgets"/>
|
|
|
|
<package name="Windows" full_name="OpenSQLManager\Windows"/>
|
|
|
|
</package>
|
|
|
|
<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 12:29:47 -04:00
|
|
|
<namespace name="default" full_name="default"/>
|
|
|
|
<marker count="0">todo</marker>
|
|
|
|
<marker count="0">fixme</marker>
|
|
|
|
<deprecated count="0"/>
|
|
|
|
</project>
|