This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
OpenSQLManager/docs/structure.xml

6620 lines
294 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project version="2.0.0a2" title="OpenSQLManager">
<file path="sys/db/classes/db_reg.php" hash="4db07479d2dfdd5a403c7ffae83ceb23" package="Default">
<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>
<class final="false" abstract="false" namespace="default" line="24" package="Query\Helper Classes">
<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>
<tag line="15" name="package" description="Query"/>
<tag line="15" name="subpackage" description="Helper Classes"/>
</docblock>
<property final="false" static="true" visibility="private" line="29" package="Default">
<name>$instance</name>
<default><![CDATA[array()]]></default>
<docblock line="26">
<description><![CDATA[Static array of connections]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="37" package="">
<name>get_db</name>
<type>function</type>
<docblock line="31">
<description><![CDATA[Registry access method]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="37">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="55" package="">
<name>__construct</name>
<type>function</type>
<docblock line="50">
<description><![CDATA[Private constructor]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="50" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="55">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="71" package="">
<name>get_connections</name>
<type>function</type>
<docblock line="66">
<description><![CDATA[Return exiting connections]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="66" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="84" package="">
<name>remove_db</name>
<type>function</type>
<docblock line="78">
<description><![CDATA[Remove a database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="78" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="78" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="84">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/classes/settings.php" hash="69d30a582c8ec7f2a29151aab896ce1e" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Helper Classes">
<name>Settings</name>
<full_name>\Settings</full_name>
<extends/>
<docblock line="16">
<description><![CDATA[Class for manipulating datbase connections, and miscellaneous settings]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Helper Classes"/>
</docblock>
<property final="false" static="false" visibility="private" line="27" package="Default">
<name>$current</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Settings object represented by the currently loaded JSON file]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="true" visibility="private" line="32" package="Default">
<name>$instance</name>
<default><![CDATA[]]></default>
<docblock line="29">
<description><![CDATA[Singleton instance]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="40" package="">
<name>get_instance</name>
<type>function</type>
<docblock line="34">
<description><![CDATA[Static method to retreive current instance
of the singleton]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="34" name="return" description="" type="\Settings">
<type by_reference="false">\Settings</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="55" package="">
<name>__construct</name>
<type>function</type>
<docblock line="51">
<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>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
<name>__destruct</name>
<type>function</type>
<docblock line="87">
<description><![CDATA[Output the settings on destruct]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="107" package="">
<name>__get</name>
<type>function</type>
<docblock line="101">
<description><![CDATA[Magic method to simplify isset checking for config options]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="101" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="101" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="107">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
<name>__set</name>
<type>function</type>
<docblock line="116">
<description><![CDATA[Magic method to simplify setting config options]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="116" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="116" name="param" description="mixed" type="" variable="$val"/>
</docblock>
<argument line="122">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="122">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="141" package="">
<name>add_db</name>
<type>function</type>
<docblock line="135">
<description><![CDATA[Add a database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="135" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="135" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="141">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="141">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="173" package="">
<name>edit_db</name>
<type>function</type>
<docblock line="167">
<description><![CDATA[Edit a database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="167" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="167" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="173">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="173">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="216" package="">
<name>remove_db</name>
<type>function</type>
<docblock line="211">
<description><![CDATA[Remove a database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="211" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="216">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="237" package="">
<name>get_dbs</name>
<type>function</type>
<docblock line="232">
<description><![CDATA[Retreive all db connections]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="232" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="250" package="">
<name>get_db</name>
<type>function</type>
<docblock line="244">
<description><![CDATA[Retreive a specific database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="244" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="244" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="250">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/classes/db_sql.php" hash="ac302192ccf945708ea13bd46d7427ac" package="Query">
<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"/>
<tag line="2" name="package" description="Query"/>
</docblock>
<class final="false" abstract="true" namespace="default" line="22" package="Query\Query">
<name>DB_SQL</name>
<full_name>\DB_SQL</full_name>
<extends/>
<docblock line="16">
<description><![CDATA[Abstract parent for database manipulation subclasses]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="33" package="">
<name>max</name>
<type>function</type>
<docblock line="28">
<description><![CDATA[Get the max keyword sql]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="28" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="45" package="">
<name>min</name>
<type>function</type>
<docblock line="40">
<description><![CDATA[Get the min keyword sql]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="40" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="57" package="">
<name>distinct</name>
<type>function</type>
<docblock line="52">
<description><![CDATA[Get the 'distinct' keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="52" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
<name>avg</name>
<type>function</type>
<docblock line="64">
<description><![CDATA[Get the 'average' keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="64" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
<name>sum</name>
<type>function</type>
<docblock line="76">
<description><![CDATA[Get the 'sum' keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="76" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="99" package="">
<name>limit</name>
<type>function</type>
<docblock line="90">
<description><![CDATA[Get database specific sql for limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="90" name="abstract" description=""/>
<tag line="90" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="90" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="90" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="90" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="99">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="99">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="99">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="107" package="">
<name>random</name>
<type>function</type>
<docblock line="101">
<description><![CDATA[Get the sql for random ordering]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="101" name="abstract" description=""/>
<tag line="101" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="114" package="">
<name>db_list</name>
<type>function</type>
<docblock line="109">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="109" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="121" package="">
<name>table_list</name>
<type>function</type>
<docblock line="116">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="116" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="128" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Returns sql to list system tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="135" package="">
<name>view_list</name>
<type>function</type>
<docblock line="130">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="130" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="142" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="137">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="137" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="149" package="">
<name>function_list</name>
<type>function</type>
<docblock line="144">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="144" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="156" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="151">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="151" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="163" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="158">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="158" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/classes/db_pdo.php" hash="1bfc5cb0636e76db6f3802ff732d1ea2" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="true" namespace="default" line="24" package="Query\Query">
<name>DB_PDO</name>
<full_name>\DB_PDO</full_name>
<extends>\PDO</extends>
<docblock line="16">
<description><![CDATA[Base Database class]]></description>
<long-description><![CDATA[<p>Extends PDO to simplify cross-database issues</p>]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="26">
<description><![CDATA[Reference to the last executed query]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="34" package="Default">
<name>$escape_char</name>
<default><![CDATA['"']]></default>
<docblock line="31">
<description><![CDATA[Character to escape identifiers]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="39" package="Default">
<name>$sql</name>
<default><![CDATA[]]></default>
<docblock line="36">
<description><![CDATA[Reference to sql sub class]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="44" package="Default">
<name>$util</name>
<default><![CDATA[]]></default>
<docblock line="41">
<description><![CDATA[Reference to util sub class]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="54" package="">
<name>__construct</name>
<type>function</type>
<docblock line="46">
<description><![CDATA[PDO constructor wrapper]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="46" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="46" name="param" description="" type="string" variable="$username">
<type by_reference="false">string</type>
</tag>
<tag line="46" name="param" description="" type="string" variable="$password">
<type by_reference="false">string</type>
</tag>
<tag line="46" name="param" description="" type="array" variable="$driver_options">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="54">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="54">
<name>$username</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="54">
<name>$password</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="54">
<name>$driver_options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="80" package="">
<name>prepare_query</name>
<type>function</type>
<docblock line="73">
<description><![CDATA[Simplifies prepared statements for database queries]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="73" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="73" name="return" description="PDOStatement / FALSE" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="80">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="80">
<name>$data</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="131" package="">
<name>prepare_execute</name>
<type>function</type>
<docblock line="124">
<description><![CDATA[Create and execute a prepared statement with the provided parameters]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="124" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="124" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="124" name="return" description="" type="\PDOStatement">
<type by_reference="false">\PDOStatement</type>
</tag>
</docblock>
<argument line="131">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="131">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="147" package="">
<name>get_query_data</name>
<type>function</type>
<docblock line="141">
<description><![CDATA[Retreives the data from a select query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="141" name="param" description="" type="\PDOStatement" variable="$statement">
<type by_reference="false">\PDOStatement</type>
</tag>
<tag line="141" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="147">
<name>$statement</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="166" package="">
<name>affected_rows</name>
<type>function</type>
<docblock line="160">
<description><![CDATA[Returns number of rows affected by an INSERT, UPDATE, DELETE type query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="160" name="param" description="" type="\PDOStatement" variable="$statement">
<type by_reference="false">\PDOStatement</type>
</tag>
<tag line="160" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="166">
<name>$statement</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="184" package="">
<name>get_last_error</name>
<type>function</type>
<docblock line="179">
<description><![CDATA[Return the last error for the current database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="179" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="199" package="">
<name>quote_ident</name>
<type>function</type>
<docblock line="193">
<description><![CDATA[Surrounds the string with the databases identifier escape characters]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="193" name="param" description="" type="mixed" variable="$ident">
<type by_reference="false">mixed</type>
</tag>
<tag line="193" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="199">
<name>$ident</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="223" package="">
<name>empty_table</name>
<type>function</type>
<docblock line="216">
<description><![CDATA[Deletes all the rows from a table. Does the same as the truncate
method if the database does not support 'TRUNCATE';]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="216" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="216" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="223">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="237" package="">
<name>get_schemas</name>
<type>function</type>
<docblock line="232">
<description><![CDATA[Return schemas for databases that list them]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="232" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="249" package="">
<name>get_tables</name>
<type>function</type>
<docblock line="244">
<description><![CDATA[Return list of tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="244" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="261" package="">
<name>get_dbs</name>
<type>function</type>
<docblock line="256">
<description><![CDATA[Return list of dbs for the current connection, if possible]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="256" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="273" package="">
<name>get_views</name>
<type>function</type>
<docblock line="268">
<description><![CDATA[Return list of views for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="268" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="285" package="">
<name>get_sequences</name>
<type>function</type>
<docblock line="280">
<description><![CDATA[Return list of sequences for the current database, if they exist]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="280" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="297" package="">
<name>get_functions</name>
<type>function</type>
<docblock line="292">
<description><![CDATA[Return list of function for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="292" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="309" package="">
<name>get_procedures</name>
<type>function</type>
<docblock line="304">
<description><![CDATA[Return list of stored procedures for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="304" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="321" package="">
<name>get_triggers</name>
<type>function</type>
<docblock line="316">
<description><![CDATA[Return list of triggers for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="316" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="334" package="">
<name>get_system_tables</name>
<type>function</type>
<docblock line="328">
<description><![CDATA[Retreives an array of non-user-created tables for
the connection/database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="328" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="348" package="">
<name>driver_query</name>
<type>function</type>
<docblock line="341">
<description><![CDATA[Method to simplify retreiving db results for meta-data queries]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="341" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="341" name="param" description="" type="bool" variable="$filtered_index">
<type by_reference="false">bool</type>
</tag>
<tag line="341" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="348">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="348">
<name>$filtered_index</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="374" package="">
<name>truncate</name>
<type>function</type>
<docblock line="367">
<description><![CDATA[Empty the passed table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="367" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="367" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="374">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="381" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="376">
<description><![CDATA[Return the number of rows for the last SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="376" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="389" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="383">
<description><![CDATA[Connect to a different database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="383" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="383" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="389">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/classes/query_builder.php" hash="30a3abbeeb55657ffc7531da59d4d9e8" package="Default">
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Query">
<name>Query_Builder</name>
<full_name>\Query_Builder</full_name>
<extends/>
<docblock line="15">
<description><![CDATA[Convienience class for creating sql queries - also the class that
instantiates the specific db driver]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="15" name="package" description="Query"/>
<tag line="15" name="subpackage" description="Query"/>
</docblock>
<property final="false" static="false" visibility="private" line="27" package="Default">
<name>$select_string</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Compiled 'select' clause]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="32" package="Default">
<name>$from_string</name>
<default><![CDATA[]]></default>
<docblock line="29">
<description><![CDATA[Compiled 'from' clause]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="37" package="Default">
<name>$set_string</name>
<default><![CDATA[]]></default>
<docblock line="34">
<description><![CDATA[Compiled arguments for insert / update]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="42" package="Default">
<name>$order_string</name>
<default><![CDATA[]]></default>
<docblock line="39">
<description><![CDATA[Order by clause]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="47" package="Default">
<name>$group_string</name>
<default><![CDATA[]]></default>
<docblock line="44">
<description><![CDATA[Group by clause]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="54" package="Default">
<name>$set_array</name>
<default><![CDATA[]]></default>
<docblock line="51">
<description><![CDATA[key/val pairs for insert/update statement]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="59" package="Default">
<name>$set_array_keys</name>
<default><![CDATA[]]></default>
<docblock line="56">
<description><![CDATA[Keys for insert/update statement]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="64" package="Default">
<name>$order_array</name>
<default><![CDATA[]]></default>
<docblock line="61">
<description><![CDATA[Key/val pairs for order by clause]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="69" package="Default">
<name>$group_array</name>
<default><![CDATA[]]></default>
<docblock line="66">
<description><![CDATA[Key/val pairs for group by clause]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="76" package="Default">
<name>$values</name>
<default><![CDATA[]]></default>
<docblock line="73">
<description><![CDATA[Values to apply to prepared statements]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="81" package="Default">
<name>$limit</name>
<default><![CDATA[]]></default>
<docblock line="78">
<description><![CDATA[Value for limit string]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="86" package="Default">
<name>$offset</name>
<default><![CDATA[]]></default>
<docblock line="83">
<description><![CDATA[Value for offset in limit string]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="91" package="Default">
<name>$sql</name>
<default><![CDATA[]]></default>
<docblock line="88">
<description><![CDATA[Alias to $this->db->sql]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="105" package="Default">
<name>$query_map</name>
<default><![CDATA[]]></default>
<docblock line="93">
<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>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="110" package="Default">
<name>$having_map</name>
<default><![CDATA[]]></default>
<docblock line="107">
<description><![CDATA[Map for having clause]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="115" package="Default">
<name>$conn_name</name>
<default><![CDATA[""]]></default>
<docblock line="112">
<description><![CDATA[Convenience property for connection management]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="126" package="">
<name>__construct</name>
<type>function</type>
<docblock line="121">
<description><![CDATA[Constructor]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="121" name="param" description="- the connection parametere" type="object" variable="$params">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="126">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="206" package="">
<name>select</name>
<type>function</type>
<docblock line="200">
<description><![CDATA[Specifies rows to select in a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="200" name="param" description="" type="string" variable="$fields">
<type by_reference="false">string</type>
</tag>
<tag line="200" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="206">
<name>$fields</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="252" package="">
<name>select_max</name>
<type>function</type>
<docblock line="245">
<description><![CDATA[Selects the maximum value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="245" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="245" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="245" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="252">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="252">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="276" package="">
<name>select_min</name>
<type>function</type>
<docblock line="269">
<description><![CDATA[Selects the minimum value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="269" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="269" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="269" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="276">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="276">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="300" package="">
<name>select_avg</name>
<type>function</type>
<docblock line="293">
<description><![CDATA[Selects the average value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="293" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="293" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="293" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="300">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="300">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="324" package="">
<name>select_sum</name>
<type>function</type>
<docblock line="317">
<description><![CDATA[Selects the sum of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="317" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="317" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="317" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="324">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="324">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="346" package="">
<name>distinct</name>
<type>function</type>
<docblock line="341">
<description><![CDATA[Adds the 'distinct' keyword to a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="341" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="362" package="">
<name>from</name>
<type>function</type>
<docblock line="356">
<description><![CDATA[Specify the database table to select from]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="356" name="param" description="" type="string" variable="$dbname">
<type by_reference="false">string</type>
</tag>
<tag line="356" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="362">
<name>$dbname</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="389" package="">
<name>like</name>
<type>function</type>
<docblock line="381">
<description><![CDATA[Creates a Like clause in the sql statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="381" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="381" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="381" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="381" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="389">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="389">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="389">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="431" package="">
<name>or_like</name>
<type>function</type>
<docblock line="423">
<description><![CDATA[Generates an OR Like clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="423" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="423" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="423" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="423" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="431">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="431">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="431">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="473" package="">
<name>not_like</name>
<type>function</type>
<docblock line="465">
<description><![CDATA[Generates a NOT LIKE clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="465" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="465" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="465" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="465" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="473">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="473">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="473">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="515" package="">
<name>or_not_like</name>
<type>function</type>
<docblock line="507">
<description><![CDATA[Generates a OR NOT LIKE clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="507" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="507" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="507" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="507" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="515">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="515">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="515">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="556" package="">
<name>having</name>
<type>function</type>
<docblock line="549">
<description><![CDATA[Generates a 'Having' clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="549" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="549" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="549" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="556">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="556">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="591" package="">
<name>or_having</name>
<type>function</type>
<docblock line="584">
<description><![CDATA[Generates a 'Having' clause prefixed with 'OR']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="584" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="584" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="584" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="591">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="591">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="628" package="">
<name>_where</name>
<type>function</type>
<docblock line="621">
<description><![CDATA[Do all the repeditive stuff for where/having type methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="621" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="621" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="621" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="628">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="628">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="662" package="">
<name>where</name>
<type>function</type>
<docblock line="653">
<description><![CDATA[Specify condition(s) in the where clause of a query
Note: this function works with key / value, or a
passed array with key / value pairs]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="653" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="653" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="653" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="662">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="662">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="698" package="">
<name>or_where</name>
<type>function</type>
<docblock line="691">
<description><![CDATA[Where clause prefixed with "OR"]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="691" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="691" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="691" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="698">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="698">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="739" package="">
<name>where_in</name>
<type>function</type>
<docblock line="732">
<description><![CDATA[Where clause with 'IN' statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="732" name="param" description="" type="mixed" variable="$field">
<type by_reference="false">mixed</type>
</tag>
<tag line="732" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="732" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="739">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="739">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="769" package="">
<name>or_where_in</name>
<type>function</type>
<docblock line="762">
<description><![CDATA[Where in statement prefixed with "or"]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="762" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="762" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="762" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="769">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="769">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="799" package="">
<name>where_not_in</name>
<type>function</type>
<docblock line="792">
<description><![CDATA[WHERE NOT IN (FOO) clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="792" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="792" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="792" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="799">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="799">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="829" package="">
<name>or_where_not_in</name>
<type>function</type>
<docblock line="822">
<description><![CDATA[OR WHERE NOT IN (FOO) clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="822" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="822" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="822" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="829">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="829">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="861" package="">
<name>set</name>
<type>function</type>
<docblock line="854">
<description><![CDATA[Sets values for inserts / updates / deletes]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="854" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="854" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="854" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="861">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="861">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="900" package="">
<name>join</name>
<type>function</type>
<docblock line="892">
<description><![CDATA[Creates a join phrase in a compiled query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="892" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="892" name="param" description="" type="string" variable="$condition">
<type by_reference="false">string</type>
</tag>
<tag line="892" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="892" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="900">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="900">
<name>$condition</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="900">
<name>$type</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="928" package="">
<name>group_by</name>
<type>function</type>
<docblock line="922">
<description><![CDATA[Group the results by the selected field(s)]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="922" name="param" description="" type="mixed" variable="$field">
<type by_reference="false">mixed</type>
</tag>
<tag line="922" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="928">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="953" package="">
<name>order_by</name>
<type>function</type>
<docblock line="946">
<description><![CDATA[Order the results by the selected field(s)]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="946" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="946" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="946" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="953">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="953">
<name>$type</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="990" package="">
<name>limit</name>
<type>function</type>
<docblock line="983">
<description><![CDATA[Set a limit on the current sql statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="983" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="983" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="983" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="990">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="990">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1007" package="">
<name>group_start</name>
<type>function</type>
<docblock line="1002">
<description><![CDATA[Adds a paren to the current query for query grouping]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1002" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1026" package="">
<name>or_group_start</name>
<type>function</type>
<docblock line="1020">
<description><![CDATA[Adds a paren to the current query for query grouping,
prefixed with 'OR']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1020" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1045" package="">
<name>or_not_group_start</name>
<type>function</type>
<docblock line="1039">
<description><![CDATA[Adds a paren to the current query for query grouping,
prefixed with 'OR NOT']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1039" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1063" package="">
<name>group_end</name>
<type>function</type>
<docblock line="1058">
<description><![CDATA[Ends a query group]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1058" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1087" package="">
<name>get</name>
<type>function</type>
<docblock line="1078">
<description><![CDATA[Select and retrieve all records from the current table, and/or
execute current compiled query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1078" name="param" description="" type="" variable="$table"/>
<tag line="1078" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="1078" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="1078" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="1087">
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="1087">
<name>$limit</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="1087">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1131" package="">
<name>get_where</name>
<type>function</type>
<docblock line="1122">
<description><![CDATA[Convience method for get() with a where clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1122" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1122" name="param" description="" type="array" variable="$where">
<type by_reference="false">array</type>
</tag>
<tag line="1122" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="1122" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="1122" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="1131">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1131">
<name>$where</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="1131">
<name>$limit</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="1131">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1148" package="">
<name>count_all</name>
<type>function</type>
<docblock line="1142">
<description><![CDATA[Retreive the number of rows in the selected table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1142" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1142" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="1148">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1164" package="">
<name>count_all_results</name>
<type>function</type>
<docblock line="1157">
<description><![CDATA[Retrieve the number of results for the generated query - used
in place of the get() method]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1157" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1157" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="1164">
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1202" package="">
<name>insert</name>
<type>function</type>
<docblock line="1195">
<description><![CDATA[Creates an insert clause, and executes it]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1195" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1195" name="param" description="" type="mixed" variable="$data">
<type by_reference="false">mixed</type>
</tag>
<tag line="1195" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1202">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1202">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1228" package="">
<name>update</name>
<type>function</type>
<docblock line="1221">
<description><![CDATA[Creates an update clause, and executes it]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1221" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1221" name="param" description="" type="mixed" variable="$data">
<type by_reference="false">mixed</type>
</tag>
<tag line="1221" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1228">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1228">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1255" package="">
<name>delete</name>
<type>function</type>
<docblock line="1248">
<description><![CDATA[Deletes data from a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1248" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1248" name="param" description="" type="mixed" variable="$where">
<type by_reference="false">mixed</type>
</tag>
<tag line="1248" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1255">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1255">
<name>$where</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1286" package="">
<name>__call</name>
<type>function</type>
<docblock line="1279">
<description><![CDATA[Calls a function further down the inheritence chain]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1279" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="1279" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="1279" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1286">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1286">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="1301" package="">
<name>_reset</name>
<type>function</type>
<docblock line="1298">
<description><![CDATA[Clear out the class variables, so the next query can be run]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="1343" package="">
<name>_compile</name>
<type>function</type>
<docblock line="1336">
<description><![CDATA[String together the sql statements for sending to the db]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1336" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="1336" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1336" name="return" description="" type="\$string">
<type by_reference="false">\$string</type>
</tag>
</docblock>
<argument line="1343">
<name>$type</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="1343">
<name>$table</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/classes/db_util.php" hash="1a56d6f40af0e6860d9ae0dbcde8451c" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="true" namespace="default" line="22" package="Query\Query">
<name>DB_Util</name>
<full_name>\DB_Util</full_name>
<extends/>
<docblock line="16">
<description><![CDATA[Abstract class defining database / table creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
<property final="false" static="false" visibility="private" line="27" package="Default">
<name>$conn</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="34" package="">
<name>__construct</name>
<type>function</type>
<docblock line="29">
<description><![CDATA[Save a reference to the connection object for later use]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="29" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="34">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
<name>__call</name>
<type>function</type>
<docblock line="41">
<description><![CDATA[Enable calling driver methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="41" name="param" description="" type="string" variable="$method">
<type by_reference="false">string</type>
</tag>
<tag line="41" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="47">
<name>$method</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$args</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="71" package="">
<name>create_table</name>
<type>function</type>
<docblock line="61">
<description><![CDATA[Get database-specific sql to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="61" name="abstract" description=""/>
<tag line="61" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="61" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="61" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="61" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="61" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="71">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="71">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="71">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="71">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="80" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="73">
<description><![CDATA[Get database-specific sql to drop a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="abstract" description=""/>
<tag line="73" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="73" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="80">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="88" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="82">
<description><![CDATA[Return an SQL file with the database table structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="82" name="abstract" description=""/>
<tag line="82" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="96" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="90">
<description><![CDATA[Return an SQL file with the database data as insert statements]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="90" name="abstract" description=""/>
<tag line="90" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/autoload.php" hash="70540d25cb0bccfcfcd8d495d7cfab57" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<constant namespace="default" line="23" package="Default">
<name>BASE_PATH</name>
<value><![CDATA[dirname(__FILE__).'/']]></value>
<docblock line="20">
<description><![CDATA[Reference to root path]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</constant>
<constant namespace="default" line="28" package="Default">
<name>DRIVER_PATH</name>
<value><![CDATA[BASE_PATH.'drivers/']]></value>
<docblock line="25">
<description><![CDATA[Path to driver classes]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</constant>
<function namespace="default" line="39" package="Query">
<name>do_include</name>
<type>function</type>
<docblock line="32">
<description><![CDATA[Bulk directory loading workaround for use
with array_map and glob]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="32" name="param" description="" type="string" variable="$path">
<type by_reference="false">string</type>
</tag>
<tag line="32" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="39">
<name>$path</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="74" package="Query">
<name>db_filter</name>
<type>function</type>
<docblock line="67">
<description><![CDATA[Filter out db rows into one array]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="67" name="param" description="" type="array" variable="$array">
<type by_reference="false">array</type>
</tag>
<tag line="67" name="param" description="" type="mixed" variable="$index">
<type by_reference="false">mixed</type>
</tag>
<tag line="67" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="74">
<name>$array</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="74">
<name>$index</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
</file>
<file path="sys/db/drivers/pgsql/pgsql_sql.php" hash="28f1fe85be6eba57e8ec7373f885faec" package="Default">
<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>
<class final="false" abstract="false" namespace="default" line="21" package="Query\Drivers">
<name>PgSQL_SQL</name>
<full_name>\PgSQL_SQL</full_name>
<extends>\DB_SQL</extends>
<docblock line="15">
<description><![CDATA[PostgreSQL specifc SQL]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="15" name="package" description="Query"/>
<tag line="15" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="31" package="">
<name>limit</name>
<type>function</type>
<docblock line="23">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="23" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="23" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="23" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="23" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="31">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="31">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="31">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="50" package="">
<name>random</name>
<type>function</type>
<docblock line="45">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="45" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
<name>db_list</name>
<type>function</type>
<docblock line="57">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="57" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="78" package="">
<name>table_list</name>
<type>function</type>
<docblock line="73">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="96" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="91">
<description><![CDATA[Returns sql to list system tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="91" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="114" package="">
<name>view_list</name>
<type>function</type>
<docblock line="109">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="109" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="132" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="127">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="127" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="149" package="">
<name>function_list</name>
<type>function</type>
<docblock line="144">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="144" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="161" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="156">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="156" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="179" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="174">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="174" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="197" package="">
<name>column_list</name>
<type>function</type>
<docblock line="191">
<description><![CDATA[Return sql to list columns of the specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="191" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="191" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="197">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/pgsql/pgsql_util.php" hash="5bc6c47b681f4bdbb9385d8101666760" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>PgSQL_Util</name>
<full_name>\PgSQL_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[Posgres-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
<name>create_table</name>
<type>function</type>
<docblock line="35">
<description><![CDATA[Database-specific method to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="35" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="44">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="44">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="44">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="44">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="94">
<description><![CDATA[Database-specific SQL for dropping a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="94" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="94" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="100">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="112" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="107">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="107" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="126" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="120">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="120" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="120" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="126">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/pgsql/pgsql_driver.php" hash="919d2b14b31b9f65e01f481520267710" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>PgSQL</name>
<full_name>\PgSQL</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[PostgreSQL specifc class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Connect to a PosgreSQL database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="string" variable="$username">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="string" variable="$password">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="32">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$username</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="32">
<name>$password</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="32">
<name>$options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="39">
<description><![CDATA[Connect to a different database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="39" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="44">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="57" package="">
<name>truncate</name>
<type>function</type>
<docblock line="52">
<description><![CDATA[Empty a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="52" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="57">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="70" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="65">
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="65" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="82" package="">
<name>get_schemas</name>
<type>function</type>
<docblock line="77">
<description><![CDATA[Get a list of schemas for the current connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="77" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/odbc/odbc_util.php" hash="e3254c43700cf53c79566c0590e5ca29" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>ODBC_Util</name>
<full_name>\ODBC_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[ODBC-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="46" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Database-specific method to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="46">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="46">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="46">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="46">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="60" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="54">
<description><![CDATA[Remove a table from the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="54" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="54" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="60">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="72" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="67">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="67" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="80">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="80" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/odbc/odbc_sql.php" hash="e13c5f4cb9739325d812c8aeb33e8f52" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>ODBC_SQL</name>
<full_name>\ODBC_SQL</full_name>
<extends>\DB_SQL</extends>
<docblock line="16">
<description><![CDATA[ODBC SQL Class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="32">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
<name>random</name>
<type>function</type>
<docblock line="39">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="39" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
<name>db_list</name>
<type>function</type>
<docblock line="51">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="51" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="68" package="">
<name>table_list</name>
<type>function</type>
<docblock line="63">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="63" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="80" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="75">
<description><![CDATA[Returns sql to list system tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="75" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="92" package="">
<name>view_list</name>
<type>function</type>
<docblock line="87">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="87" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="104" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="99">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="99" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
<name>function_list</name>
<type>function</type>
<docblock line="111">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="111" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="140" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="135">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="135" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/odbc/odbc_driver.php" hash="9a75524ebaa886b116e74ab7572a1802" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="24" package="Query\Drivers">
<name>ODBC</name>
<full_name>\ODBC</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[ODBC Database Driver]]></description>
<long-description><![CDATA[<p>For general database access for databases not specified by the main drivers</p>]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$escape_char</name>
<default><![CDATA['']]></default>
<docblock line="26">
<description><![CDATA[Don't define the escape char - or define it in sub-drivers in a refactor]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="39" package="">
<name>__construct</name>
<type>function</type>
<docblock line="31">
<description><![CDATA[Use ODBC to connect to a database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$username">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$password">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="39">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="39">
<name>$username</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="39">
<name>$password</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="39">
<name>$options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="46">
<description><![CDATA[Doesn't apply to ODBC]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="46" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="46" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
<argument line="52">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="65" package="">
<name>truncate</name>
<type>function</type>
<docblock line="59">
<description><![CDATA[Empty the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="59" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="59" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="65">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="78" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="73">
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/mysql/mysql_util.php" hash="e6dbdd9b0b965f7e09ee0638ed4a7a35" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>MySQL_Util</name>
<full_name>\MySQL_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[MySQL-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Convienience public function for creating a new MySQL table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="47">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="47">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="113" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="107">
<description><![CDATA[Convience public function for droping a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="107" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="107" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="113">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="125" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="120">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="120" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="133">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="133" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="133" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="139">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/mysql/mysql_driver.php" hash="73b96a679f7c6d0e2bde4bc65399f15c" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>MySQL</name>
<full_name>\MySQL</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[MySQL specific class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$escape_char</name>
<default><![CDATA['`']]></default>
<docblock line="24">
<description><![CDATA[Set the backtick as the MySQL escape character]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="39" package="">
<name>__construct</name>
<type>function</type>
<docblock line="31">
<description><![CDATA[Connect to MySQL Database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$username">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$password">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="39">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="39">
<name>$username</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="39">
<name>$password</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
<argument line="39">
<name>$options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="55" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="50">
<description><![CDATA[Connect to a different database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="50" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="55">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="68" package="">
<name>truncate</name>
<type>function</type>
<docblock line="63">
<description><![CDATA[Empty a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="63" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="68">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="80" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="75">
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="75" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/mysql/mysql_sql.php" hash="41d15ee4e1357bb84f07e71872252810" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>MySQL_SQL</name>
<full_name>\MySQL_SQL</full_name>
<extends>\DB_SQL</extends>
<docblock line="16">
<description><![CDATA[MySQL specifc SQL]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="32">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
<name>random</name>
<type>function</type>
<docblock line="44">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="44" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
<name>db_list</name>
<type>function</type>
<docblock line="56">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="56" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
<name>table_list</name>
<type>function</type>
<docblock line="68">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="68" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="80">
<description><![CDATA[Overridden in MySQL class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="80" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
<name>view_list</name>
<type>function</type>
<docblock line="93">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="93" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="110" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="105">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="105" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
<name>function_list</name>
<type>function</type>
<docblock line="117">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="117" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="134" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="129">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="129" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="146" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="141">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="141" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/sqlite/sqlite_util.php" hash="18cd637365896dd9cf94066e517cdaa8" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>SQLite_Util</name>
<full_name>\SQLite_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[SQLite-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="46" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Convenience public function to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="//Name of the table" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="//columns as straight array and/or column =&gt; type pairs" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="// column =&gt; constraint pairs" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="// column =&gt; index pairs" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="46">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="46">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="46">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="46">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="96">
<description><![CDATA[SQL to drop the specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="96" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="96" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="102">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="109">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="109" name="param" description="" type="array" variable="$excluded">
<type by_reference="false">array</type>
</tag>
<tag line="109" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="115">
<name>$excluded</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="179" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="174">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="174" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/sqlite/sqlite_driver.php" hash="5f0f579f396c2dcce2f6165111279129" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>SQLite</name>
<full_name>\SQLite</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[SQLite specific class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="protected" line="27" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Reference to the last executed sql query]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="36" package="">
<name>__construct</name>
<type>function</type>
<docblock line="29">
<description><![CDATA[Open SQLite Database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="29" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="29" name="param" description="" type="string" variable="$user">
<type by_reference="false">string</type>
</tag>
<tag line="29" name="param" description="" type="string" variable="$pass">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="36">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="36">
<name>$user</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="36">
<name>$pass</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="44">
<description><![CDATA[Doesn't apply to sqlite]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="44" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="49">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
<name>truncate</name>
<type>function</type>
<docblock line="56">
<description><![CDATA[Empty a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="56" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="61">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="79" package="">
<name>get_tables</name>
<type>function</type>
<docblock line="74">
<description><![CDATA[List tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="74" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
<name>get_system_tables</name>
<type>function</type>
<docblock line="95">
<description><![CDATA[List system tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="95" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>load_database</name>
<type>function</type>
<docblock line="109">
<description><![CDATA[Load a database for the current connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="109" name="param" description="" type="string" variable="$db">
<type by_reference="false">string</type>
</tag>
<tag line="109" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="115">
<name>$db</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="115">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
<name>unload_database</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Unload a database from the current connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="128">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="146" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="141">
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="141" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/sqlite/sqlite_sql.php" hash="922f241976864c2452c65c2ebec32eda" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>SQLite_SQL</name>
<full_name>\SQLite_SQL</full_name>
<extends>\DB_SQL</extends>
<docblock line="16">
<description><![CDATA[SQLite Specific SQL]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="32">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="49" package="">
<name>random</name>
<type>function</type>
<docblock line="44">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="44" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
<name>db_list</name>
<type>function</type>
<docblock line="56">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="56" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
<name>table_list</name>
<type>function</type>
<docblock line="68">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="68" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="85">
<description><![CDATA[Overridden in SQLite class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="85" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="102" package="">
<name>view_list</name>
<type>function</type>
<docblock line="97">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="97" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="111">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="111" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
<name>function_list</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="140" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="135">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="135" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="152" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="147">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="147" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/firebird/firebird_sql.php" hash="1691368f9f3d42296b89c1e5e33281e0" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>Firebird_SQL</name>
<full_name>\Firebird_SQL</full_name>
<extends>\DB_SQL</extends>
<docblock line="16">
<description><![CDATA[Firebird Specific SQL]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="32" package="">
<name>limit</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Limit clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="24" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="32">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="32">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="56" package="">
<name>random</name>
<type>function</type>
<docblock line="51">
<description><![CDATA[Random ordering keyword]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="51" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="69" package="">
<name>db_list</name>
<type>function</type>
<docblock line="64">
<description><![CDATA[Returns sql to list other databases]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="64" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
<name>table_list</name>
<type>function</type>
<docblock line="76">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="76" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="93">
<description><![CDATA[Returns sql to list system tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="93" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>view_list</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="125">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="125" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="145" package="">
<name>function_list</name>
<type>function</type>
<docblock line="140">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="140" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="157" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="152">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="152" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="185" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="180">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="180" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="202" package="">
<name>column_list</name>
<type>function</type>
<docblock line="196">
<description><![CDATA[Return sql to list columns of the specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="196" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="196" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="202">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/firebird/firebird_result.php" hash="3a502465d028cdeb58a2b7722c3af66c" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="23" package="Query\Drivers">
<name>Firebird_Result</name>
<full_name>\Firebird_Result</full_name>
<extends>\PDOStatement</extends>
<docblock line="16">
<description><![CDATA[Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="private" line="28" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="25">
<description><![CDATA[Reference to fbird resource]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="36" package="">
<name>__construct</name>
<type>function</type>
<docblock line="30">
<description><![CDATA[Create the object by passing the resource for
the query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="30" name="param" description="" type="resource" variable="$link">
<type by_reference="false">resource</type>
</tag>
</docblock>
<argument line="36">
<name>$link</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="54" package="">
<name>bindColumn</name>
<type>function</type>
<docblock line="44">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="44" name="param" description="" type="mixed" variable="$column">
<type by_reference="false">mixed</type>
</tag>
<tag line="44" name="param" description="&amp;$param" type="mixed" variable="$param">
<type by_reference="false">mixed</type>
</tag>
<tag line="44" name="param" description="" type="int" variable="$type">
<type by_reference="false">int</type>
</tag>
<tag line="44" name="param" description="" type="mixed" variable="$maxlen">
<type by_reference="false">mixed</type>
</tag>
<tag line="44" name="param" description="" type="array" variable="$driverdata">
<type by_reference="false">array</type>
</tag>
<tag line="44" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="54">
<name>$column</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="54">
<name>$param</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="54">
<name>$type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="54">
<name>$maxlen</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="54">
<name>$driverdata</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="71" package="">
<name>bindParam</name>
<type>function</type>
<docblock line="61">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="61" name="param" description="" type="mixed" variable="$parameter">
<type by_reference="false">mixed</type>
</tag>
<tag line="61" name="param" description="&amp;$variable" type="mixed" variable="$variable">
<type by_reference="false">mixed</type>
</tag>
<tag line="61" name="param" description="" type="int" variable="$data_type">
<type by_reference="false">int</type>
</tag>
<tag line="61" name="param" description="" type="mixed" variable="$maxlen">
<type by_reference="false">mixed</type>
</tag>
<tag line="61" name="param" description="" type="array" variable="$driverdata">
<type by_reference="false">array</type>
</tag>
<tag line="61" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="71">
<name>$parameter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="71">
<name>$variable</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="71">
<name>$data_type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="71">
<name>$maxlen</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="71">
<name>$driverdata</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="86" package="">
<name>bindValue</name>
<type>function</type>
<docblock line="78">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="78" name="param" description="" type="mixed" variable="$parameter">
<type by_reference="false">mixed</type>
</tag>
<tag line="78" name="param" description="&amp;$variable" type="mixed" variable="$variable">
<type by_reference="false">mixed</type>
</tag>
<tag line="78" name="param" description="" type="int" variable="$data_type">
<type by_reference="false">int</type>
</tag>
<tag line="78" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="86">
<name>$parameter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="86">
<name>$variable</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="86">
<name>$data_type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="99" package="">
<name>execute</name>
<type>function</type>
<docblock line="93">
<description><![CDATA[Run a prepared statement query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="93" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
<tag line="93" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
<argument line="99">
<name>$args</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
<name>fetch</name>
<type>function</type>
<docblock line="114">
<description><![CDATA[Emulate PDO fetch public function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="114" name="param" description="" type="int" variable="$fetch_style">
<type by_reference="false">int</type>
</tag>
<tag line="114" name="param" description="" type="mixed" variable="$statement">
<type by_reference="false">mixed</type>
</tag>
<tag line="114" name="param" description="" type="mixed" variable="$offset">
<type by_reference="false">mixed</type>
</tag>
<tag line="114" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="122">
<name>$fetch_style</name>
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
<type/>
</argument>
<argument line="122">
<name>$statement</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="122">
<name>$offset</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="155" package="">
<name>fetchAll</name>
<type>function</type>
<docblock line="147">
<description><![CDATA[Emulate PDO fetchAll public function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="147" name="param" description="" type="int" variable="$fetch_style">
<type by_reference="false">int</type>
</tag>
<tag line="147" name="param" description="" type="mixed" variable="$statement">
<type by_reference="false">mixed</type>
</tag>
<tag line="147" name="param" description="" type="mixed" variable="$ctor_args">
<type by_reference="false">mixed</type>
</tag>
<tag line="147" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="155">
<name>$fetch_style</name>
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
<type/>
</argument>
<argument line="155">
<name>$statement</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="155">
<name>$ctor_args</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="177" package="">
<name>fetchColumn</name>
<type>function</type>
<docblock line="171">
<description><![CDATA[Emulate PDOStatement::fetchColumn]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="171" name="param" description="" type="int" variable="$column_num">
<type by_reference="false">int</type>
</tag>
<tag line="171" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="177">
<name>$column_num</name>
<default><![CDATA[0]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="192" package="">
<name>fetchObject</name>
<type>function</type>
<docblock line="185">
<description><![CDATA[Emulate PDOStatement::fetchObject, but only for the default use]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="185" name="param" description="" type="string" variable="$class_name">
<type by_reference="false">string</type>
</tag>
<tag line="185" name="param" description="" type="array" variable="$ctor_args">
<type by_reference="false">array</type>
</tag>
<tag line="185" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="192">
<name>$class_name</name>
<default><![CDATA['stdClass']]></default>
<type/>
</argument>
<argument line="192">
<name>$ctor_args</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="204" package="">
<name>rowCount</name>
<type>function</type>
<docblock line="199">
<description><![CDATA[Return the number of rows affected by the previous query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="199" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="216" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="211">
<description><![CDATA[Return the number of rows for the select query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="211" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="228" package="">
<name>errorCode</name>
<type>function</type>
<docblock line="223">
<description><![CDATA[Method to emulate PDOStatement->errorCode]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="223" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="240" package="">
<name>errorInfo</name>
<type>function</type>
<docblock line="235">
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="235" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/firebird/firebird_driver.php" hash="74d454b1d64da892fad7ac87ec2491f5" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="24" package="Query\Drivers">
<name>Firebird</name>
<full_name>\Firebird</full_name>
<extends>\DB_PDO</extends>
<docblock line="16">
<description><![CDATA[Firebird Database class]]></description>
<long-description><![CDATA[<p>PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.</p>]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="26">
<description><![CDATA[Reference to the last query executed]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="35" package="Default">
<name>$statement_link</name>
<default><![CDATA[]]></default>
<docblock line="31">
<description><![CDATA[Reference to the resource returned by
the last query executed]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="40" package="Default">
<name>$trans</name>
<default><![CDATA[]]></default>
<docblock line="37">
<description><![CDATA[Reference to the current transaction]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="45" package="Default">
<name>$conn</name>
<default><![CDATA[]]></default>
<docblock line="42">
<description><![CDATA[Reference to the connection resource]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="54" package="">
<name>__construct</name>
<type>function</type>
<docblock line="47">
<description><![CDATA[Open the link to the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="47" name="param" description="" type="string" variable="$dbpath">
<type by_reference="false">string</type>
</tag>
<tag line="47" name="param" description="" type="string" variable="$user">
<type by_reference="false">string</type>
</tag>
<tag line="47" name="param" description="" type="string" variable="$pass">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="54">
<name>$dbpath</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="54">
<name>$user</name>
<default><![CDATA['sysdba']]></default>
<type/>
</argument>
<argument line="54">
<name>$pass</name>
<default><![CDATA['masterkey']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="87" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="81">
<description><![CDATA[Doesn't apply to Firebird]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="81" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="81" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="87">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="99" package="">
<name>truncate</name>
<type>function</type>
<docblock line="94">
<description><![CDATA[Empty a database table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="94" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="99">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="114" package="">
<name>query</name>
<type>function</type>
<docblock line="108">
<description><![CDATA[Wrapper public function to better match PDO]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="108" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="108" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="114">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="138" package="">
<name>prepare</name>
<type>function</type>
<docblock line="131">
<description><![CDATA[Emulate PDO prepare]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="131" name="param" description="" type="string" variable="$query">
<type by_reference="false">string</type>
</tag>
<tag line="131" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
<tag line="131" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="138">
<name>$query</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="138">
<name>$options</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="158" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="153">
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="153" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="170" package="">
<name>beginTransaction</name>
<type>function</type>
<docblock line="165">
<description><![CDATA[Start a database transaction]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="165" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="187" package="">
<name>commit</name>
<type>function</type>
<docblock line="182">
<description><![CDATA[Commit a database transaction]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="182" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="199" package="">
<name>rollBack</name>
<type>function</type>
<docblock line="194">
<description><![CDATA[Rollback a transaction]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="194" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="213" package="">
<name>prepare_execute</name>
<type>function</type>
<docblock line="206">
<description><![CDATA[Prepare and execute a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="206" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="206" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
<tag line="206" name="return" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
<argument line="213">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="213">
<name>$args</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="232" package="">
<name>quote</name>
<type>function</type>
<docblock line="225">
<description><![CDATA[Method to emulate PDO->quote]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="225" name="param" description="" type="string" variable="$str">
<type by_reference="false">string</type>
</tag>
<tag line="225" name="param" description="" type="int" variable="$param_type">
<type by_reference="false">int</type>
</tag>
<tag line="225" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="232">
<name>$str</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="232">
<name>$param_type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="249" package="">
<name>errorInfo</name>
<type>function</type>
<docblock line="244">
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="244" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="264" package="">
<name>errorCode</name>
<type>function</type>
<docblock line="259">
<description><![CDATA[Method to emulate PDO->errorCode]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="259" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="278" package="">
<name>prepare_query</name>
<type>function</type>
<docblock line="271">
<description><![CDATA[Bind a prepared query with arguments for executing]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="271" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="271" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="271" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="278">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="278">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/firebird/firebird_util.php" hash="e51cf49b7bb1e2bb39ed5eab9bf6e98c" package="Query">
<docblock line="2">
<description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
<tag line="2" name="package" description="Query"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<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>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>Firebird_Util</name>
<full_name>\Firebird_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[Firebird-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Convienience public function to generate sql for creating a db table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$fields">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="47">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$fields</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="47">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="97">
<description><![CDATA[Drop the selected table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="97" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="97" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="103">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="123" name="param" description="" type="bool" variable="$system_tables">
<type by_reference="false">bool</type>
</tag>
<tag line="123" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="130">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="130">
<name>$system_tables</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/common/functions.php" hash="f4432e0bafd396b0777ad5d1771654a8" 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>
<function namespace="default" line="24" package="OpenSQLManager">
<name>array_to_object</name>
<type>function</type>
<docblock line="18">
<description><![CDATA[Convert an array to an object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="18" name="param" description="" type="array" variable="$array">
<type by_reference="false">array</type>
</tag>
<tag line="18" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="24">
<name>$array</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="49" package="OpenSQLManager">
<name>alert</name>
<type>function</type>
<docblock line="43">
<description><![CDATA[Create info dialog to return an informational message]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="43" name="param" description="" type="string" variable="$message">
<type by_reference="false">string</type>
</tag>
<tag line="43" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="49">
<name>$message</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="72" package="OpenSQLManager">
<name>error</name>
<type>function</type>
<docblock line="66">
<description><![CDATA[Create info dialog to retun an informational message]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="66" name="param" description="" type="string" variable="$message">
<type by_reference="false">string</type>
</tag>
<tag line="66" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="72">
<name>$message</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="95" package="OpenSQLManager">
<name>confirm</name>
<type>function</type>
<docblock line="89">
<description><![CDATA[Creates a binary confirmation dialog]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="89" name="param" description="" type="string" variable="$message">
<type by_reference="false">string</type>
</tag>
<tag line="89" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
<argument line="95">
<name>$message</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="119" package="OpenSQLManager">
<name>about</name>
<type>function</type>
<docblock line="114">
<description><![CDATA[Display About menu with version information]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="114" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</function>
</file>
<file path="sys/widgets/connection_sidebar.php" hash="e8e4b11dc7014008f2b3ae56cf628b0c" 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>Connection_Sidebar</name>
<full_name>\Connection_Sidebar</full_name>
<extends>\GtkVBox</extends>
<docblock line="16">
<description><![CDATA[Widget managing saved database connections]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="OpenSQLManager"/>
<tag line="16" name="subpackage" description="Widgets"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$settings</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Reference to Settings instance]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="\Settings">
<type by_reference="false">\Settings</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="36" package="Default">
<name>$menu</name>
<default><![CDATA[]]></default>
<docblock line="31">
<description><![CDATA[Reference to popup menu]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="var" description="" type="\GtkMenu">
<type by_reference="false">\GtkMenu</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="43" package="Default">
<name>$treeview</name>
<default><![CDATA[]]></default>
<docblock line="38">
<description><![CDATA[Treeview for displaying connections]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="38" name="var" description="" type="\GtkTreeView">
<type by_reference="false">\GtkTreeView</type>
</tag>
</docblock>
</property>
<property final="false" static="true" visibility="private" line="50" package="Default">
<name>$instance</name>
<default><![CDATA[]]></default>
<docblock line="45">
<description><![CDATA[Singleton instance]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="45" name="var" description="" type="\Connection_Sidebar">
<type by_reference="false">\Connection_Sidebar</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="57" package="Default">
<name>$conn_name</name>
<default><![CDATA[]]></default>
<docblock line="52">
<description><![CDATA[Name of current db connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="52" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="64" package="">
<name>get_instance</name>
<type>function</type>
<docblock line="59">
<description><![CDATA[Return the current instance of the class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="59" name="return" description="" type="\Connection_Sidebar">
<type by_reference="false">\Connection_Sidebar</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="80" package="">
<name>__construct</name>
<type>function</type>
<docblock line="77">
<description><![CDATA[Constructor method]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="116" package="">
<name>_render</name>
<type>function</type>
<docblock line="111">
<description><![CDATA[Renders the connection sidebar widget]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="111" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="175" package="">
<name>set_icon</name>
<type>function</type>
<docblock line="166">
<description><![CDATA[Sets the icon for the current db type]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="166" name="param" description="Column $col" type="\GtkTreeView" variable="$col">
<type by_reference="false">\GtkTreeView</type>
</tag>
<tag line="166" name="param" description="" type="\GtkCellRenderer" variable="$cell">
<type by_reference="false">\GtkCellRenderer</type>
</tag>
<tag line="166" name="param" description="" type="\GtkTreeModel" variable="$model">
<type by_reference="false">\GtkTreeModel</type>
</tag>
<tag line="166" name="param" description="" type="\GtkTreeIter" variable="$iter">
<type by_reference="false">\GtkTreeIter</type>
</tag>
<tag line="166" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="175">
<name>$col</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="175">
<name>$cell</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="175">
<name>$model</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="175">
<name>$iter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="205" package="">
<name>set_label</name>
<type>function</type>
<docblock line="196">
<description><![CDATA[Sets the label of the current db connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="196" name="param" description="" type="\GtkTreeViewColumn" variable="$col">
<type by_reference="false">\GtkTreeViewColumn</type>
</tag>
<tag line="196" name="param" description="" type="\GtkCellRenderer" variable="$cell">
<type by_reference="false">\GtkCellRenderer</type>
</tag>
<tag line="196" name="param" description="" type="\GtkTreeModel" variable="$model">
<type by_reference="false">\GtkTreeModel</type>
</tag>
<tag line="196" name="param" description="" type="\GtkTreeIter" variable="$iter">
<type by_reference="false">\GtkTreeIter</type>
</tag>
<tag line="196" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="205">
<name>$col</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="205">
<name>$cell</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="205">
<name>$model</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="205">
<name>$iter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="223" package="">
<name>set_status_icon</name>
<type>function</type>
<docblock line="214">
<description><![CDATA[Sets the status icon of the current db connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="214" name="param" description="" type="\GtkTreeViewColumn" variable="$col">
<type by_reference="false">\GtkTreeViewColumn</type>
</tag>
<tag line="214" name="param" description="" type="\GtkCellRenderer" variable="$cell">
<type by_reference="false">\GtkCellRenderer</type>
</tag>
<tag line="214" name="param" description="" type="\GtkTreeModel" variable="$model">
<type by_reference="false">\GtkTreeModel</type>
</tag>
<tag line="214" name="param" description="" type="\GtkTreeIter" variable="$iter">
<type by_reference="false">\GtkTreeIter</type>
</tag>
<tag line="214" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="223">
<name>$col</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="223">
<name>$cell</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="223">
<name>$model</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="223">
<name>$iter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="247" package="">
<name>new_conn</name>
<type>function</type>
<docblock line="242">
<description><![CDATA[Returns window for creating a new database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="242" name="return" description="object" type="\Add_DB">
<type by_reference="false">\Add_DB</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="261" package="">
<name>on_button</name>
<type>function</type>
<docblock line="254">
<description><![CDATA[Event for mouse clicks on connection sidebar]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="254" name="param" description="" type="\GtkTreeView" variable="$view">
<type by_reference="false">\GtkTreeView</type>
</tag>
<tag line="254" name="param" description="" type="" variable="$event"/>
<tag line="254" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="261">
<name>$view</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="261">
<name>$event</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="295" package="">
<name>conn_popup_menu</name>
<type>function</type>
<docblock line="289">
<description><![CDATA[Creates and displays a context menu for the selected connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="289" name="param" description="" type="array" variable="$all">
<type by_reference="false">array</type>
</tag>
<tag line="289" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="295">
<name>$all</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="352" package="">
<name>refresh</name>
<type>function</type>
<docblock line="347">
<description><![CDATA[Recreate sidebar widget to update connections]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="347" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="365" package="">
<name>edit_connection</name>
<type>function</type>
<docblock line="360">
<description><![CDATA[Update the connection information for an existing connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="360" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="377" package="">
<name>remove_connection</name>
<type>function</type>
<docblock line="372">
<description><![CDATA[Remove a connection from the connection manager]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="372" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="401" package="">
<name>db_connect</name>
<type>function</type>
<docblock line="396">
<description><![CDATA[Create connection to a database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="396" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="427" package="">
<name>db_disconnect</name>
<type>function</type>
<docblock line="422">
<description><![CDATA[Disconnect from a database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="422" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="445" package="">
<name>switch_tab</name>
<type>function</type>
<docblock line="439">
<description><![CDATA[Change tabs based on db connection selected]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="439" name="param" description="" type="\GtkTreeView" variable="$view">
<type by_reference="false">\GtkTreeView</type>
</tag>
<tag line="439" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="445">
<name>$view</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/widgets/data_grid.php" hash="27084ec65e2223255f1903416146f692" 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>Data_Grid</name>
<full_name>\Data_Grid</full_name>
<extends>\GtkTreeView</extends>
<docblock line="16">
<description><![CDATA[Class to simplify dealing with GtkTreeView]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="OpenSQLManager"/>
<tag line="16" name="subpackage" description="Widgets"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$model</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[GtkTreeStore object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="\GtkTreeStore">
<type by_reference="false">\GtkTreeStore</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="36" package="">
<name>__construct</name>
<type>function</type>
<docblock line="31">
<description><![CDATA[Create the object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="object" variable="$model">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="36">
<name>$model</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="57" package="">
<name>get</name>
<type>function</type>
<docblock line="51">
<description><![CDATA[Get the value of the model for the current selection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="51" name="param" description="pos" type="int" variable="$pos">
<type by_reference="false">int</type>
</tag>
<tag line="51" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="57">
<name>$pos</name>
<default><![CDATA[0]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="87" package="">
<name>reset</name>
<type>function</type>
<docblock line="82">
<description><![CDATA[Clear datagrid]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="82" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="111" package="">
<name>add_data_col</name>
<type>function</type>
<docblock line="101">
<description><![CDATA[Adds a column of data to the model]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="101" name="param" description="" type="\GtkTreeViewColumn" variable="$col">
<type by_reference="false">\GtkTreeViewColumn</type>
</tag>
<tag line="101" name="param" description="" type="\GtkCellRenderer" variable="$cell">
<type by_reference="false">\GtkCellRenderer</type>
</tag>
<tag line="101" name="param" description="" type="\GtkTreeModel" variable="$model">
<type by_reference="false">\GtkTreeModel</type>
</tag>
<tag line="101" name="param" description="" type="\GtkTreeIter" variable="$iter">
<type by_reference="false">\GtkTreeIter</type>
</tag>
<tag line="101" name="param" description="" type="int" variable="$i">
<type by_reference="false">int</type>
</tag>
<tag line="101" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="111">
<name>$col</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="111">
<name>$cell</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="111">
<name>$model</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="111">
<name>$iter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="111">
<name>$i</name>
<default><![CDATA[0]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="133" package="">
<name>render_data</name>
<type>function</type>
<docblock line="126">
<description><![CDATA[Create a datagrid from the provided data array]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="126" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="126" name="param" description="" type="array" variable="$events">
<type by_reference="false">array</type>
</tag>
<tag line="126" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="133">
<name>$data</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="133">
<name>$events</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/widgets/db_tabs.php" hash="5b9a9058828f27c8be581396d9ccde6e" 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_tabs</name>
<full_name>\DB_tabs</full_name>
<extends>\GTKNotebook</extends>
<docblock line="16">
<description><![CDATA[Tabbed Container for database properties]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="OpenSQLManager"/>
<tag line="16" name="subpackage" description="Widgets"/>
</docblock>
<property final="false" static="true" visibility="private" line="29" package="Default">
<name>$instance</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Current Tab Widget object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="\DB_Tabs">
<type by_reference="false">\DB_Tabs</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="36" package="Default">
<name>$data</name>
<default><![CDATA[]]></default>
<docblock line="31">
<description><![CDATA[Db Data cache]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="43" package="">
<name>get_instance</name>
<type>function</type>
<docblock line="38">
<description><![CDATA[Return the db tabs object if it exists, or create and return]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="38" name="return" description="" type="\DB_tabs">
<type by_reference="false">\DB_tabs</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="58" package="">
<name>__construct</name>
<type>function</type>
<docblock line="55">
<description><![CDATA[Create the object]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
<name>add_tab</name>
<type>function</type>
<docblock line="66">
<description><![CDATA[Add a new tab with the provided label]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="66" name="param" description="" type="string" variable="$label">
<type by_reference="false">string</type>
</tag>
<tag line="66" name="param" description="" type="\GObject" variable="$widget">
<type by_reference="false">\GObject</type>
</tag>
<tag line="66" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="73">
<name>$label</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="73">
<name>$widget</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="94" package="">
<name>show_table_data</name>
<type>function</type>
<docblock line="85">
<description><![CDATA[Create popup window with table data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="85" name="param" description="" type="\GTKTreeView" variable="$view">
<type by_reference="false">\GTKTreeView</type>
</tag>
<tag line="85" name="param" description="" type="array" variable="$path">
<type by_reference="false">array</type>
</tag>
<tag line="85" name="param" description="" type="\GtkTreeviewColumn" variable="$col">
<type by_reference="false">\GtkTreeviewColumn</type>
</tag>
<tag line="85" name="param" description="" type="\Query_Builder" variable="$conn">
<type by_reference="false">\Query_Builder</type>
</tag>
<tag line="85" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="94">
<name>$view</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="94">
<name>$path</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="94">
<name>$col</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="94">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="112" package="">
<name>get_db_tabs</name>
<type>function</type>
<docblock line="106">
<description><![CDATA[Create tabs for database aspects]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="106" name="param" description="" type="\Query_Builder" variable="$conn">
<type by_reference="false">\Query_Builder</type>
</tag>
<tag line="106" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="112">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="176" package="">
<name>reset</name>
<type>function</type>
<docblock line="170">
<description><![CDATA[Remove current tabs]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="170" name="param" description="" type="string" variable="$conn_name">
<type by_reference="false">string</type>
</tag>
<tag line="170" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="176">
<name>$conn_name</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="true" visibility="private" namespace="default" line="205" package="">
<name>_add_tab</name>
<type>function</type>
<docblock line="195">
<description><![CDATA[Simplify adding tabs to the Notebook object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="195" name="param" description="" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="195" name="param" description="" type="string" variable="$tab_name">
<type by_reference="false">string</type>
</tag>
<tag line="195" name="param" description="" type="string" variable="$col_name">
<type by_reference="false">string</type>
</tag>
<tag line="195" name="param" description="" type="string" variable="$method">
<type by_reference="false">string</type>
</tag>
<tag line="195" name="param" description="" type="array" variable="$events">
<type by_reference="false">array</type>
</tag>
<tag line="195" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="205">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="205">
<name>$tab_name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="205">
<name>$col_name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="205">
<name>$method</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="205">
<name>$events</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="true" visibility="private" namespace="default" line="258" package="">
<name>_add_row_tab</name>
<type>function</type>
<docblock line="250">
<description><![CDATA[Add a multidimensional array to a tab]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="250" name="param" description="" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="250" name="param" description="" type="string" variable="$tab_name">
<type by_reference="false">string</type>
</tag>
<tag line="250" name="param" description="" type="string" variable="$method">
<type by_reference="false">string</type>
</tag>
<tag line="250" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="258">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="258">
<name>$tab_name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="258">
<name>$method</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="293" package="">
<name>_get_db_info</name>
<type>function</type>
<docblock line="286">
<description><![CDATA[Returns cached database data for the tab and connection specified]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="286" name="param" description="" type="string" variable="$conn_name">
<type by_reference="false">string</type>
</tag>
<tag line="286" name="param" description="" type="string" variable="$tab_name">
<type by_reference="false">string</type>
</tag>
<tag line="286" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="293">
<name>$conn_name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="293">
<name>$tab_name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="320" package="">
<name>_set_db_info</name>
<type>function</type>
<docblock line="313">
<description><![CDATA[Sets cached database data for the tab and connection specified]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="313" name="param" description="" type="string" variable="$conn_name">
<type by_reference="false">string</type>
</tag>
<tag line="313" name="param" description="" type="string" variable="$tab_name">
<type by_reference="false">string</type>
</tag>
<tag line="313" name="param" description="" type="mixed" variable="$data">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="320">
<name>$conn_name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="320">
<name>$tab_name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="320">
<name>$data</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/widgets/db_info_widget.php" hash="ed5648eca3f3c152ff202269eedfd780" 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_Info_Widget</name>
<full_name>\DB_Info_Widget</full_name>
<extends>\GtkTable</extends>
<docblock line="16">
<description><![CDATA[Widget for adding / editing database connections]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="OpenSQLManager"/>
<tag line="16" name="subpackage" description="Widgets"/>
</docblock>
<property final="false" static="false" visibility="private" line="29" package="Default">
<name>$settings</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Alias to Settings::get_instance]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="\Settings">
<type by_reference="false">\Settings</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="36" package="Default">
<name>$conn</name>
<default><![CDATA[]]></default>
<docblock line="31">
<description><![CDATA[Connection name]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="var" description="" type="\GtkEntry">
<type by_reference="false">\GtkEntry</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="43" package="Default">
<name>$conn_db</name>
<default><![CDATA[]]></default>
<docblock line="38">
<description><![CDATA[Connection database name]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="38" name="var" description="" type="\GtkEntry">
<type by_reference="false">\GtkEntry</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="50" package="Default">
<name>$dbtype</name>
<default><![CDATA[]]></default>
<docblock line="45">
<description><![CDATA[Connection database type]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="45" name="var" description="" type="\GtkComboBox">
<type by_reference="false">\GtkComboBox</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="57" package="Default">
<name>$host</name>
<default><![CDATA[]]></default>
<docblock line="52">
<description><![CDATA[Connection database host]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="52" name="var" description="" type="\GtkEntry">
<type by_reference="false">\GtkEntry</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="64" package="Default">
<name>$user</name>
<default><![CDATA[]]></default>
<docblock line="59">
<description><![CDATA[Connection user name]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="59" name="var" description="" type="\GtkEntry">
<type by_reference="false">\GtkEntry</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="71" package="Default">
<name>$pass</name>
<default><![CDATA[]]></default>
<docblock line="66">
<description><![CDATA[Connection password]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="66" name="var" description="" type="\GtkEntry">
<type by_reference="false">\GtkEntry</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="78" package="Default">
<name>$db_file</name>
<default><![CDATA[]]></default>
<docblock line="73">
<description><![CDATA[Connection database file]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="var" description="" type="\GtkFileChooserButton">
<type by_reference="false">\GtkFileChooserButton</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="85" package="Default">
<name>$port</name>
<default><![CDATA[]]></default>
<docblock line="80">
<description><![CDATA[Connection port]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="80" name="var" description="" type="\GtkEntry">
<type by_reference="false">\GtkEntry</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="92" package="Default">
<name>$old_conn</name>
<default><![CDATA[]]></default>
<docblock line="87">
<description><![CDATA[Reference to last connection name]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="87" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="99" package="Default">
<name>$lblconn</name>
<default><![CDATA[]]></default>
<docblock line="94">
<description><![CDATA[Label for connection name]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="94" name="var" description="" type="\GtkLabel">
<type by_reference="false">\GtkLabel</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="106" package="Default">
<name>$lblconn_db</name>
<default><![CDATA[]]></default>
<docblock line="101">
<description><![CDATA[Label for connection database name]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="101" name="var" description="" type="\Gtklabel">
<type by_reference="false">\Gtklabel</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="113" package="Default">
<name>$lbldbtype</name>
<default><![CDATA[]]></default>
<docblock line="108">
<description><![CDATA[Label for database type]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="108" name="var" description="" type="\Gtklabel">
<type by_reference="false">\Gtklabel</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="120" package="Default">
<name>$lblhost</name>
<default><![CDATA[]]></default>
<docblock line="115">
<description><![CDATA[Label for database host]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="115" name="var" description="" type="\Gtklabel">
<type by_reference="false">\Gtklabel</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="127" package="Default">
<name>$lbluser</name>
<default><![CDATA[]]></default>
<docblock line="122">
<description><![CDATA[Label for database connection user]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="122" name="var" description="" type="\GtkLabel">
<type by_reference="false">\GtkLabel</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="134" package="Default">
<name>$lblpass</name>
<default><![CDATA[]]></default>
<docblock line="129">
<description><![CDATA[Label for database connection password]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="129" name="var" description="" type="\GtkLabel">
<type by_reference="false">\GtkLabel</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="141" package="Default">
<name>$lbldb_file</name>
<default><![CDATA[]]></default>
<docblock line="136">
<description><![CDATA[Label for database file]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="136" name="var" description="" type="\GtkLabel">
<type by_reference="false">\GtkLabel</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="148" package="Default">
<name>$lblport</name>
<default><![CDATA[]]></default>
<docblock line="143">
<description><![CDATA[Label for database connection port]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="143" name="var" description="" type="\GtkLabel">
<type by_reference="false">\GtkLabel</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="160" package="">
<name>__construct</name>
<type>function</type>
<docblock line="154">
<description><![CDATA[No params = add, params = edit]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="154" name="param" description="" type="object" variable="$db">
<type by_reference="false">object</type>
</tag>
<tag line="154" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="160">
<name>$db</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="246" package="">
<name>change_db</name>
<type>function</type>
<docblock line="241">
<description><![CDATA[Set defaults for new database type]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="241" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="315" package="">
<name>set_db</name>
<type>function</type>
<docblock line="310">
<description><![CDATA[Like change_db function, but save current values]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="310" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="360" package="">
<name>db_add</name>
<type>function</type>
<docblock line="355">
<description><![CDATA[Adds the database to the settings file]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="355" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="395" package="">
<name>db_edit</name>
<type>function</type>
<docblock line="390">
<description><![CDATA[Edit an existing database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="390" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="433" package="">
<name>test_conn</name>
<type>function</type>
<docblock line="428">
<description><![CDATA[Test a db connection, and display a popup with the result of the test]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="428" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="480" package="">
<name>get_available_dbs</name>
<type>function</type>
<docblock line="475">
<description><![CDATA[Checks what database drivers are available]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="475" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="538" package="">
<name>_add_row</name>
<type>function</type>
<docblock line="529">
<description><![CDATA[Simple helper function for adding a row to the GtkTable]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="529" name="param" description="" type="string" variable="$label">
<type by_reference="false">string</type>
</tag>
<tag line="529" name="param" description="" type="string" variable="$vname">
<type by_reference="false">string</type>
</tag>
<tag line="529" name="param" description="&amp;$y1" type="int" variable="$y1">
<type by_reference="false">int</type>
</tag>
<tag line="529" name="param" description="&amp;$y2" type="int" variable="$y2">
<type by_reference="false">int</type>
</tag>
<tag line="529" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="538">
<name>$label</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="538">
<name>$vname</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="538">
<name>$y1</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="538">
<name>$y2</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="559" package="">
<name>_layout</name>
<type>function</type>
<docblock line="554">
<description><![CDATA[Table layout]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="554" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/windows/add_db.php" hash="c8c5c9abe97ce4ec39365cce83553dd1" 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>Add_DB</name>
<full_name>\Add_DB</full_name>
<extends>\GtkWindow</extends>
<docblock line="16">
<description><![CDATA[Window controlling addition of database connections]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="OpenSQLManager"/>
<tag line="16" name="subpackage" description="Windows"/>
</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[Create the window]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
</class>
</file>
<file path="sys/windows/edit_db.php" hash="ff91299d790e4be1e709a0a14745e86e" 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_DB</name>
<full_name>\Edit_DB</full_name>
<extends>\GtkWindow</extends>
<docblock line="16">
<description><![CDATA[Window controlling modifications of database connections]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="OpenSQLManager"/>
<tag line="16" name="subpackage" description="Windows"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="29" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Connection editing window]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="" type="object" variable="$db_params">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="29">
<name>$db_params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/windows/db_table_data.php" hash="7794ea8f8bcc2b2d2d4c776fbb2572e8" 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>DB_Table_Data</name>
<full_name>\DB_Table_Data</full_name>
<extends>\GTKWindow</extends>
<docblock line="16">
<description><![CDATA[Popup window to display database table data]]></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="protected" line="29" package="Default">
<name>$win</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Reference to the scrolled window]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="\GtkScrolledWindow">
<type by_reference="false">\GtkScrolledWindow</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 and populate the window]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="31" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="37">
<name>$data</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/windows/main.php" hash="8e05165cf8a7d4ba676df0c7bc01e924" 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="24" package="OpenSQLManager\Windows">
<name>Main</name>
<full_name>\Main</full_name>
<extends>\GtkWindow</extends>
<docblock line="16">
<description><![CDATA[Main Window Class]]></description>
<long-description><![CDATA[<p>Creates and displays the main interface window</p>]]></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="31" package="Default">
<name>$settings</name>
<default><![CDATA[]]></default>
<docblock line="26">
<description><![CDATA[Reference to settings instance]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="26" name="var" description="" type="\Settings">
<type by_reference="false">\Settings</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="38" package="Default">
<name>$connection_sidebar</name>
<default><![CDATA[]]></default>
<docblock line="33">
<description><![CDATA[Reference to connection sidebar instance]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="33" name="var" description="" type="\Connection_Sidebar">
<type by_reference="false">\Connection_Sidebar</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="43" package="">
<name>__construct</name>
<type>function</type>
<docblock line="40">
<description><![CDATA[Create and display the main window on startup]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
<name>__destruct</name>
<type>function</type>
<docblock line="76">
<description><![CDATA[Some cleanup for when the main window is closed]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="76" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
<name>quit</name>
<type>function</type>
<docblock line="98">
<description><![CDATA[Exits the GTK loop]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="98" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="116" package="">
<name>_main_layout</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Layout the main interface
Create menus, hboxes, vboxs and other widgets]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="158" package="">
<name>_create_menu</name>
<type>function</type>
<docblock line="153">
<description><![CDATA[Create the menu for the program]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="153" name="return" description="" type="\GtkMenuBar">
<type by_reference="false">\GtkMenuBar</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="index.php" hash="62c60423b369f5d5ba17681a49e93948" 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>
<include line="127" type="Require Once" package="Default">
<name>/db/autoload.php</name>
</include>
<constant namespace="default" line="34" package="Default">
<name>BASE_DIR</name>
<value><![CDATA[dirname(__FILE__).'/sys']]></value>
</constant>
<constant namespace="default" line="35" package="Default">
<name>SETTINGS_DIR</name>
<value><![CDATA[dirname(__FILE__)]]></value>
</constant>
<constant namespace="default" line="36" package="Default">
<name>PROGRAM_NAME</name>
<value><![CDATA['OpenSQLManager']]></value>
</constant>
<constant namespace="default" line="37" package="Default">
<name>VERSION</name>
<value><![CDATA['0.1.0pre']]></value>
</constant>
<function namespace="default" line="44" package="OpenSQLManager">
<name>log_fatal</name>
<type>function</type>
<docblock line="41">
<description><![CDATA[Log fatal errors]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</function>
<function namespace="default" line="88" package="OpenSQLManager">
<name>exception_error_handler</name>
<type>function</type>
<docblock line="79">
<description><![CDATA[Error handler to convert errors to exceptions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="79" name="param" description="" type="int" variable="$errno">
<type by_reference="false">int</type>
</tag>
<tag line="79" name="param" description="" type="string" variable="$errstr">
<type by_reference="false">string</type>
</tag>
<tag line="79" name="param" description="" type="string" variable="$errfile">
<type by_reference="false">string</type>
</tag>
<tag line="79" name="param" description="" type="int" variable="$errline">
<type by_reference="false">int</type>
</tag>
<tag line="79" name="throws" description="" type="\ErrorException">
<type by_reference="false">\ErrorException</type>
</tag>
</docblock>
<argument line="88">
<name>$errno</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="88">
<name>$errstr</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="88">
<name>$errfile</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="88">
<name>$errline</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="108" package="OpenSQLManager">
<name>do_include</name>
<type>function</type>
<docblock line="101">
<description><![CDATA[Bulk directory loading workaround for use
with array_map and glob]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="101" name="param" description="" type="string" variable="$path">
<type by_reference="false">string</type>
</tag>
<tag line="101" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="108">
<name>$path</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
</file>
<package name="" full_name=""/>
<package name="Default" full_name="Default"/>
<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>
<namespace name="default" full_name="default"/>
<marker count="0">todo</marker>
<marker count="0">fixme</marker>
<deprecated count="0"/>
</project>