miniMVC/docs/structure.xml

7247 lines
319 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project version="2.0.0a2" title="miniMVC">
<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="14cb2bdd5a651d09acb10a4f583d4927" 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>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="170" package="">
<name>type_list</name>
<type>function</type>
<docblock line="165">
<description><![CDATA[Return sql to list database field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="165" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="179" package="">
<name>column_list</name>
<type>function</type>
<docblock line="172">
<description><![CDATA[Get information about the columns in the
specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="172" name="param" description="string" type="" variable="$table"/>
<tag line="172" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="179">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/classes/db_pdo.php" hash="62857f1a0463af7b0c82eb0df1fd9ec1" 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="31" 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>
<tag line="26" name="var" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="38" package="Default">
<name>$escape_char</name>
<default><![CDATA['"']]></default>
<docblock line="33">
<description><![CDATA[Character to escape identifiers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="33" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="45" package="Default">
<name>$sql</name>
<default><![CDATA[]]></default>
<docblock line="40">
<description><![CDATA[Reference to sql sub class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="40" name="var" description="" type="Object">
<type by_reference="false">Object</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="52" package="Default">
<name>$util</name>
<default><![CDATA[]]></default>
<docblock line="47">
<description><![CDATA[Reference to util sub class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="47" name="var" description="" type="Object">
<type by_reference="false">Object</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
<name>__construct</name>
<type>function</type>
<docblock line="54">
<description><![CDATA[PDO constructor wrapper]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="54" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="54" name="param" description="" type="string" variable="$username">
<type by_reference="false">string</type>
</tag>
<tag line="54" name="param" description="" type="string" variable="$password">
<type by_reference="false">string</type>
</tag>
<tag line="54" name="param" description="" type="array" variable="$driver_options">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="62">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="62">
<name>$username</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="62">
<name>$password</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="62">
<name>$driver_options</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="88" package="">
<name>prepare_query</name>
<type>function</type>
<docblock line="81">
<description><![CDATA[Simplifies prepared statements for database queries]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="81" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="81" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="81" name="return" description="PDOStatement / FALSE" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="88">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="88">
<name>$data</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
<name>prepare_execute</name>
<type>function</type>
<docblock line="132">
<description><![CDATA[Create and execute a prepared statement with the provided parameters]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="132" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="132" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="132" name="return" description="" type="\PDOStatement">
<type by_reference="false">\PDOStatement</type>
</tag>
</docblock>
<argument line="139">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="139">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="155" package="">
<name>get_query_data</name>
<type>function</type>
<docblock line="149">
<description><![CDATA[Retreives the data from a select query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="149" name="param" description="" type="\PDOStatement" variable="$statement">
<type by_reference="false">\PDOStatement</type>
</tag>
<tag line="149" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="155">
<name>$statement</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="174" package="">
<name>affected_rows</name>
<type>function</type>
<docblock line="168">
<description><![CDATA[Returns number of rows affected by an INSERT, UPDATE, DELETE type query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="168" name="param" description="" type="\PDOStatement" variable="$statement">
<type by_reference="false">\PDOStatement</type>
</tag>
<tag line="168" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="174">
<name>$statement</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="192" package="">
<name>get_last_error</name>
<type>function</type>
<docblock line="187">
<description><![CDATA[Return the last error for the current database connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="187" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="207" package="">
<name>quote_ident</name>
<type>function</type>
<docblock line="201">
<description><![CDATA[Surrounds the string with the databases identifier escape characters]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="201" name="param" description="" type="mixed" variable="$ident">
<type by_reference="false">mixed</type>
</tag>
<tag line="201" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="207">
<name>$ident</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="235" package="">
<name>_quote</name>
<type>function</type>
<docblock line="229">
<description><![CDATA[Helper method for quote_ident]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="229" name="param" description="" type="mixed" variable="$str">
<type by_reference="false">mixed</type>
</tag>
<tag line="229" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="235">
<name>$str</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="254" package="">
<name>empty_table</name>
<type>function</type>
<docblock line="247">
<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="247" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="247" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="254">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="268" package="">
<name>get_schemas</name>
<type>function</type>
<docblock line="263">
<description><![CDATA[Return schemas for databases that list them]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="263" 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="280" package="">
<name>get_tables</name>
<type>function</type>
<docblock line="275">
<description><![CDATA[Return list of tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="275" 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="292" package="">
<name>get_dbs</name>
<type>function</type>
<docblock line="287">
<description><![CDATA[Return list of dbs for the current connection, if possible]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="287" 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="304" package="">
<name>get_views</name>
<type>function</type>
<docblock line="299">
<description><![CDATA[Return list of views for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="299" 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="316" package="">
<name>get_sequences</name>
<type>function</type>
<docblock line="311">
<description><![CDATA[Return list of sequences for the current database, if they exist]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="311" 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="328" package="">
<name>get_functions</name>
<type>function</type>
<docblock line="323">
<description><![CDATA[Return list of function for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="323" 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="340" package="">
<name>get_procedures</name>
<type>function</type>
<docblock line="335">
<description><![CDATA[Return list of stored procedures for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="335" 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="352" package="">
<name>get_triggers</name>
<type>function</type>
<docblock line="347">
<description><![CDATA[Return list of triggers for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="347" 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="365" package="">
<name>get_system_tables</name>
<type>function</type>
<docblock line="359">
<description><![CDATA[Retreives an array of non-user-created tables for
the connection/database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="359" 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="378" package="">
<name>get_columns</name>
<type>function</type>
<docblock line="372">
<description><![CDATA[Retrieve column information for the current database table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="372" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="372" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="378">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="390" package="">
<name>get_types</name>
<type>function</type>
<docblock line="385">
<description><![CDATA[Retrieve list of data types for the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="385" 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="404" package="">
<name>driver_query</name>
<type>function</type>
<docblock line="397">
<description><![CDATA[Method to simplify retreiving db results for meta-data queries]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="397" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="397" name="param" description="" type="bool" variable="$filtered_index">
<type by_reference="false">bool</type>
</tag>
<tag line="397" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="404">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="404">
<name>$filtered_index</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="433" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="428">
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="428" 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="451" package="">
<name>truncate</name>
<type>function</type>
<docblock line="444">
<description><![CDATA[Empty the passed table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="444" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="444" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="451">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="459" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="453">
<description><![CDATA[Connect to a different database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="453" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="453" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="459">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/classes/query_builder.php" hash="2cc609a7a6aec8cccb54daae849d5b0a" 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>
<markers>
<todo line="805">make able to handle operators without spaces</todo>
</markers>
<class final="false" abstract="false" namespace="default" line="23" package="Query\Query">
<name>Query_Builder</name>
<full_name>\Query_Builder</full_name>
<extends/>
<docblock line="16">
<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="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Query"/>
</docblock>
<property final="false" static="false" visibility="private" line="34" package="Default">
<name>$select_string</name>
<default><![CDATA[]]></default>
<docblock line="29">
<description><![CDATA[Compiled 'select' clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="29" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="41" package="Default">
<name>$from_string</name>
<default><![CDATA[]]></default>
<docblock line="36">
<description><![CDATA[Compiled 'from' clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="36" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="48" package="Default">
<name>$set_string</name>
<default><![CDATA[]]></default>
<docblock line="43">
<description><![CDATA[Compiled arguments for insert / update]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="43" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="55" package="Default">
<name>$order_string</name>
<default><![CDATA[]]></default>
<docblock line="50">
<description><![CDATA[Order by clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="50" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="62" package="Default">
<name>$group_string</name>
<default><![CDATA[]]></default>
<docblock line="57">
<description><![CDATA[Group by clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="57" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="73" package="Default">
<name>$set_array_keys</name>
<default><![CDATA[]]></default>
<docblock line="68">
<description><![CDATA[Keys for insert/update statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="68" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="80" package="Default">
<name>$order_array</name>
<default><![CDATA[]]></default>
<docblock line="75">
<description><![CDATA[Key/val pairs for order by clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="75" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="87" package="Default">
<name>$group_array</name>
<default><![CDATA[]]></default>
<docblock line="82">
<description><![CDATA[Key/val pairs for group by clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="82" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="98" package="Default">
<name>$values</name>
<default><![CDATA[]]></default>
<docblock line="93">
<description><![CDATA[Values to apply to prepared statements]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="93" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="105" package="Default">
<name>$limit</name>
<default><![CDATA[]]></default>
<docblock line="100">
<description><![CDATA[Value for limit string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="100" name="var" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="112" package="Default">
<name>$offset</name>
<default><![CDATA[]]></default>
<docblock line="107">
<description><![CDATA[Value for offset in limit string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="107" name="var" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="119" package="Default">
<name>$sql</name>
<default><![CDATA[]]></default>
<docblock line="114">
<description><![CDATA[Alias to $this->db->sql]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="114" name="var" description="" type="\DB_PDO">
<type by_reference="false">\DB_PDO</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="135" package="Default">
<name>$query_map</name>
<default><![CDATA[]]></default>
<docblock line="121">
<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>
<tag line="121" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="142" package="Default">
<name>$having_map</name>
<default><![CDATA[]]></default>
<docblock line="137">
<description><![CDATA[Map for having clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="137" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="public" line="149" package="Default">
<name>$conn_name</name>
<default><![CDATA[""]]></default>
<docblock line="144">
<description><![CDATA[Convenience property for connection management]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="144" 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="156" package="">
<name>__construct</name>
<type>function</type>
<docblock line="151">
<description><![CDATA[Constructor]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="151" name="param" description="- the connection parametere" type="object" variable="$params">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="156">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="233" package="">
<name>select</name>
<type>function</type>
<docblock line="227">
<description><![CDATA[Specifies rows to select in a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="227" name="param" description="" type="string" variable="$fields">
<type by_reference="false">string</type>
</tag>
<tag line="227" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="233">
<name>$fields</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="279" package="">
<name>_select</name>
<type>function</type>
<docblock line="272">
<description><![CDATA[Method to simplify select_ methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="272" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="272" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="272" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="279">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="279">
<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_max</name>
<type>function</type>
<docblock line="293">
<description><![CDATA[Selects the maximum 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="316" package="">
<name>select_min</name>
<type>function</type>
<docblock line="309">
<description><![CDATA[Selects the minimum value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="309" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="309" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="309" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="316">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="316">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="332" package="">
<name>select_avg</name>
<type>function</type>
<docblock line="325">
<description><![CDATA[Selects the average value of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="325" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="325" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="325" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="332">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="332">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="348" package="">
<name>select_sum</name>
<type>function</type>
<docblock line="341">
<description><![CDATA[Selects the sum of a field from a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="341" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="341" name="param" description="" type="string" variable="$as">
<type by_reference="false">string</type>
</tag>
<tag line="341" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="348">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="348">
<name>$as</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="362" package="">
<name>distinct</name>
<type>function</type>
<docblock line="357">
<description><![CDATA[Adds the 'distinct' keyword to a query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="357" 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="377" package="">
<name>from</name>
<type>function</type>
<docblock line="371">
<description><![CDATA[Specify the database table to select from]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="371" name="param" description="" type="string" variable="$dbname">
<type by_reference="false">string</type>
</tag>
<tag line="371" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="377">
<name>$dbname</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="406" package="">
<name>_like</name>
<type>function</type>
<docblock line="396">
<description><![CDATA[Simplify 'like' methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="396" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="396" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="396" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="396" name="param" description="" type="string" variable="$like">
<type by_reference="false">string</type>
</tag>
<tag line="396" name="param" description="" type="string" variable="$conj">
<type by_reference="false">string</type>
</tag>
<tag line="396" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="406">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="406">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="406">
<name>$pos</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="406">
<name>$like</name>
<default><![CDATA['LIKE']]></default>
<type/>
</argument>
<argument line="406">
<name>$conj</name>
<default><![CDATA['AND']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="448" package="">
<name>like</name>
<type>function</type>
<docblock line="440">
<description><![CDATA[Creates a Like clause in the sql statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="440" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="440" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="440" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="440" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="448">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="448">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="448">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="463" package="">
<name>or_like</name>
<type>function</type>
<docblock line="455">
<description><![CDATA[Generates an OR Like clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="455" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="455" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="455" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="455" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="463">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="463">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="463">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="478" package="">
<name>not_like</name>
<type>function</type>
<docblock line="470">
<description><![CDATA[Generates a NOT LIKE clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="470" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="470" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="470" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="470" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="478">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="478">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="478">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="493" package="">
<name>or_not_like</name>
<type>function</type>
<docblock line="485">
<description><![CDATA[Generates a OR NOT LIKE clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="485" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="485" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="485" name="param" description="" type="string" variable="$pos">
<type by_reference="false">string</type>
</tag>
<tag line="485" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="493">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="493">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="493">
<name>$pos</name>
<default><![CDATA['both']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="510" package="">
<name>_having</name>
<type>function</type>
<docblock line="502">
<description><![CDATA[Simplify building having clauses]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="502" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="502" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="502" name="param" description="" type="string" variable="$conj">
<type by_reference="false">string</type>
</tag>
<tag line="502" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="510">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="510">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="510">
<name>$conj</name>
<default><![CDATA['AND']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="545" package="">
<name>having</name>
<type>function</type>
<docblock line="538">
<description><![CDATA[Generates a 'Having' clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="538" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="538" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="538" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="545">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="545">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="559" package="">
<name>or_having</name>
<type>function</type>
<docblock line="552">
<description><![CDATA[Generates a 'Having' clause prefixed with 'OR']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="552" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="552" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="552" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="559">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="559">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="575" package="">
<name>_where</name>
<type>function</type>
<docblock line="568">
<description><![CDATA[Do all the repeditive stuff for where/having type methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="568" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="568" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="568" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="575">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="575">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="608" package="">
<name>_where_string</name>
<type>function</type>
<docblock line="600">
<description><![CDATA[Simplify generating where string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="600" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="600" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="600" name="param" description="" type="string" variable="$conj">
<type by_reference="false">string</type>
</tag>
<tag line="600" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="608">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="608">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="608">
<name>$conj</name>
<default><![CDATA['AND']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="646" package="">
<name>_where_in</name>
<type>function</type>
<docblock line="637">
<description><![CDATA[Simplify where_in methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="637" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="637" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="637" name="param" description="string" type="" variable="$in"/>
<tag line="637" name="param" description="string" type="" variable="$conj"/>
<tag line="637" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="646">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="646">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="646">
<name>$in</name>
<default><![CDATA['IN']]></default>
<type/>
</argument>
<argument line="646">
<name>$conj</name>
<default><![CDATA['AND']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="678" package="">
<name>where</name>
<type>function</type>
<docblock line="669">
<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="669" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="669" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="669" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="678">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="678">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="692" package="">
<name>or_where</name>
<type>function</type>
<docblock line="685">
<description><![CDATA[Where clause prefixed with "OR"]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="685" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="685" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="685" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="692">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="692">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="706" package="">
<name>where_in</name>
<type>function</type>
<docblock line="699">
<description><![CDATA[Where clause with 'IN' statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="699" name="param" description="" type="mixed" variable="$field">
<type by_reference="false">mixed</type>
</tag>
<tag line="699" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="699" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="706">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="706">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="720" package="">
<name>or_where_in</name>
<type>function</type>
<docblock line="713">
<description><![CDATA[Where in statement prefixed with "or"]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="713" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="713" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="713" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="720">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="720">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="734" package="">
<name>where_not_in</name>
<type>function</type>
<docblock line="727">
<description><![CDATA[WHERE NOT IN (FOO) clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="727" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="727" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="727" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="734">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="734">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="748" package="">
<name>or_where_not_in</name>
<type>function</type>
<docblock line="741">
<description><![CDATA[OR WHERE NOT IN (FOO) clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="741" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="741" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="741" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="748">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="748">
<name>$val</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="764" package="">
<name>set</name>
<type>function</type>
<docblock line="757">
<description><![CDATA[Sets values for inserts / updates / deletes]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="757" name="param" description="" type="mixed" variable="$key">
<type by_reference="false">mixed</type>
</tag>
<tag line="757" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="757" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="764">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="764">
<name>$val</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="803" package="">
<name>join</name>
<type>function</type>
<docblock line="795">
<description><![CDATA[Creates a join phrase in a compiled query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="795" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="795" name="param" description="" type="string" variable="$condition">
<type by_reference="false">string</type>
</tag>
<tag line="795" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="795" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="803">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="803">
<name>$condition</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="803">
<name>$type</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="832" package="">
<name>group_by</name>
<type>function</type>
<docblock line="826">
<description><![CDATA[Group the results by the selected field(s)]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="826" name="param" description="" type="mixed" variable="$field">
<type by_reference="false">mixed</type>
</tag>
<tag line="826" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="832">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="857" package="">
<name>order_by</name>
<type>function</type>
<docblock line="850">
<description><![CDATA[Order the results by the selected field(s)]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="850" name="param" description="" type="string" variable="$field">
<type by_reference="false">string</type>
</tag>
<tag line="850" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="850" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="857">
<name>$field</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="857">
<name>$type</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="894" package="">
<name>limit</name>
<type>function</type>
<docblock line="887">
<description><![CDATA[Set a limit on the current sql statement]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="887" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="887" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="887" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="894">
<name>$limit</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="894">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="911" package="">
<name>group_start</name>
<type>function</type>
<docblock line="906">
<description><![CDATA[Adds a paren to the current query for query grouping]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="906" 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="930" package="">
<name>or_group_start</name>
<type>function</type>
<docblock line="924">
<description><![CDATA[Adds a paren to the current query for query grouping,
prefixed with 'OR']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="924" 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="949" package="">
<name>or_not_group_start</name>
<type>function</type>
<docblock line="943">
<description><![CDATA[Adds a paren to the current query for query grouping,
prefixed with 'OR NOT']]></description>
<long-description><![CDATA[]]></long-description>
<tag line="943" 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="967" package="">
<name>group_end</name>
<type>function</type>
<docblock line="962">
<description><![CDATA[Ends a query group]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="962" 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="991" package="">
<name>get</name>
<type>function</type>
<docblock line="982">
<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="982" name="param" description="" type="" variable="$table"/>
<tag line="982" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="982" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="982" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="991">
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="991">
<name>$limit</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="991">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1035" package="">
<name>get_where</name>
<type>function</type>
<docblock line="1026">
<description><![CDATA[Convience method for get() with a where clause]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1026" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1026" name="param" description="" type="array" variable="$where">
<type by_reference="false">array</type>
</tag>
<tag line="1026" name="param" description="" type="int" variable="$limit">
<type by_reference="false">int</type>
</tag>
<tag line="1026" name="param" description="" type="int" variable="$offset">
<type by_reference="false">int</type>
</tag>
<tag line="1026" name="return" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
<argument line="1035">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1035">
<name>$where</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="1035">
<name>$limit</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
<argument line="1035">
<name>$offset</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1052" package="">
<name>count_all</name>
<type>function</type>
<docblock line="1046">
<description><![CDATA[Retreive the number of rows in the selected table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1046" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1046" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="1052">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1068" package="">
<name>count_all_results</name>
<type>function</type>
<docblock line="1061">
<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="1061" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1061" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="1068">
<name>$table</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1106" package="">
<name>insert</name>
<type>function</type>
<docblock line="1099">
<description><![CDATA[Creates an insert clause, and executes it]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1099" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1099" name="param" description="" type="mixed" variable="$data">
<type by_reference="false">mixed</type>
</tag>
<tag line="1099" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1106">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1106">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1132" package="">
<name>update</name>
<type>function</type>
<docblock line="1125">
<description><![CDATA[Creates an update clause, and executes it]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1125" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1125" name="param" description="" type="mixed" variable="$data">
<type by_reference="false">mixed</type>
</tag>
<tag line="1125" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1132">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1132">
<name>$data</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1159" package="">
<name>delete</name>
<type>function</type>
<docblock line="1152">
<description><![CDATA[Deletes data from a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1152" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1152" name="param" description="" type="mixed" variable="$where">
<type by_reference="false">mixed</type>
</tag>
<tag line="1152" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1159">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1159">
<name>$where</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="1190" package="">
<name>__call</name>
<type>function</type>
<docblock line="1183">
<description><![CDATA[Calls a function further down the inheritence chain]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1183" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="1183" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="1183" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="1190">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="1190">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="1207" package="">
<name>_reset</name>
<type>function</type>
<docblock line="1202">
<description><![CDATA[Clear out the class variables, so the next query can be run]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1202" 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="1247" package="">
<name>_compile</name>
<type>function</type>
<docblock line="1240">
<description><![CDATA[String together the sql statements for sending to the db]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="1240" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="1240" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="1240" name="return" description="" type="\$string">
<type by_reference="false">\$string</type>
</tag>
</docblock>
<argument line="1247">
<name>$type</name>
<default><![CDATA['']]></default>
<type/>
</argument>
<argument line="1247">
<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="a6ff7327887d32dc2a65056ce8fd18af" 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>QBASE_PATH</name>
<value><![CDATA[dirname(__FILE__).'/']]></value>
<docblock line="20">
<description><![CDATA[Reference to root path]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</constant>
<constant namespace="default" line="28" package="Default">
<name>QDRIVER_PATH</name>
<value><![CDATA[QBASE_PATH.'drivers/']]></value>
<docblock line="25">
<description><![CDATA[Path to driver classes]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</constant>
<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="637ace0f653c651090b0521b38687a51" 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>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="220" package="">
<name>type_list</name>
<type>function</type>
<docblock line="215">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="215" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/pgsql/pgsql_util.php" hash="816ab084697ad27d38ec2b93bac0cbc5" 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>
<markers>
<todo line="114">Implement Backup function</todo>
</markers>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>PgSQL_Util</name>
<full_name>\PgSQL_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[Posgres-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
<name>create_table</name>
<type>function</type>
<docblock line="35">
<description><![CDATA[Database-specific method to create a new table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="35" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$columns">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="35" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="44">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="44">
<name>$columns</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="44">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="44">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="94">
<description><![CDATA[Database-specific SQL for dropping a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="94" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="94" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="100">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="112" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="107">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="107" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="126" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="120">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="120" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="120" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="126">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/pgsql/pgsql_driver.php" hash="6cbbd383739c820989af52047834617e" 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>
<markers>
<todo line="46">Implement</todo>
</markers>
<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>get_schemas</name>
<type>function</type>
<docblock line="65">
<description><![CDATA[Get a list of schemas for the current connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="65" 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="ce667d48c43316e23bafb10a23b9353d" 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>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="152" package="">
<name>type_list</name>
<type>function</type>
<docblock line="147">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="147" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="165" package="">
<name>column_list</name>
<type>function</type>
<docblock line="159">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="159" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="159" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="165">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/odbc/odbc_driver.php" hash="345f3b133f34abb5ffaa785e058b1178" 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>
</class>
</file>
<file path="sys/db/drivers/mysql/mysql_util.php" hash="e5a21ea43032c6f27b727f4adcce1bd4" 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>
<markers>
<todo line="141">Implement Backup function</todo>
</markers>
<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="153" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="147">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="147" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="147" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="153">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/mysql/mysql_driver.php" hash="b86b87f0278035fcd5ea4b7c40891a89" 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>
<markers>
<todo line="57">Implement</todo>
</markers>
<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>
</class>
</file>
<file path="sys/db/drivers/mysql/mysql_sql.php" hash="a9adb838d5b3f69f076199d198a54d73" 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="74" package="">
<name>table_list</name>
<type>function</type>
<docblock line="68">
<description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="68" name="param" description="" type="string" variable="$database">
<type by_reference="false">string</type>
</tag>
<tag line="68" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="74">
<name>$database</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
<name>system_table_list</name>
<type>function</type>
<docblock line="85">
<description><![CDATA[Overridden in MySQL class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="85" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
<name>view_list</name>
<type>function</type>
<docblock line="98">
<description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="98" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>trigger_list</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="127" package="">
<name>function_list</name>
<type>function</type>
<docblock line="122">
<description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="122" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
<name>procedure_list</name>
<type>function</type>
<docblock line="134">
<description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="134" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="151" package="">
<name>sequence_list</name>
<type>function</type>
<docblock line="146">
<description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="146" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="163" package="">
<name>type_list</name>
<type>function</type>
<docblock line="158">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="158" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="176" package="">
<name>column_list</name>
<type>function</type>
<docblock line="170">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="170" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="170" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="176">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<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="d32d8a174c1770f558b6810f47ea8869" 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="29" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Reference to the last executed sql query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="\PDOStatement">
<type by_reference="false">\PDOStatement</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="38" package="">
<name>__construct</name>
<type>function</type>
<docblock line="31">
<description><![CDATA[Open SQLite Database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" name="param" description="" type="string" variable="$dsn">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$user">
<type by_reference="false">string</type>
</tag>
<tag line="31" name="param" description="" type="string" variable="$pass">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="38">
<name>$dsn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="38">
<name>$user</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="38">
<name>$pass</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="51" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="46">
<description><![CDATA[Doesn't apply to sqlite]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="46" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="51">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="63" package="">
<name>truncate</name>
<type>function</type>
<docblock line="58">
<description><![CDATA[Empty a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="58" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="63">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="81" package="">
<name>get_tables</name>
<type>function</type>
<docblock line="76">
<description><![CDATA[List tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="76" 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="102" package="">
<name>get_system_tables</name>
<type>function</type>
<docblock line="97">
<description><![CDATA[List system tables for the current database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="97" 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="117" package="">
<name>load_database</name>
<type>function</type>
<docblock line="111">
<description><![CDATA[Load a database for the current connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="111" name="param" description="" type="string" variable="$db">
<type by_reference="false">string</type>
</tag>
<tag line="111" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="117">
<name>$db</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="117">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
<name>unload_database</name>
<type>function</type>
<docblock line="125">
<description><![CDATA[Unload a database from the current connection]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="125" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="130">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/sqlite/sqlite_sql.php" hash="dbd517cd93d82fdac7c3d545f40fc74c" 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>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="164" package="">
<name>type_list</name>
<type>function</type>
<docblock line="159">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="159" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="177" package="">
<name>column_list</name>
<type>function</type>
<docblock line="171">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="171" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="171" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="177">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/db/drivers/firebird/firebird_sql.php" hash="dc695a690f4e2fa8a8748156b04091bb" 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>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="248" package="">
<name>type_list</name>
<type>function</type>
<docblock line="243">
<description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="243" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/firebird/firebird_result.php" hash="d713425d6dc82a16618de449f0ef39f9" 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="30" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="25">
<description><![CDATA[Reference to fbird resource]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="25" name="var" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="37" package="Default">
<name>$row</name>
<default><![CDATA[]]></default>
<docblock line="32">
<description><![CDATA[Current row in result array]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="32" name="var" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="44" package="Default">
<name>$result</name>
<default><![CDATA[array()]]></default>
<docblock line="39">
<description><![CDATA[Data pulled from query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="39" name="param" description="mixed" type="" variable=""/>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
<name>__construct</name>
<type>function</type>
<docblock line="46">
<description><![CDATA[Create the object by passing the resource for
the query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="46" name="param" description="" type="resource" variable="$link">
<type by_reference="false">resource</type>
</tag>
</docblock>
<argument line="52">
<name>$link</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="83" package="">
<name>bindColumn</name>
<type>function</type>
<docblock line="73">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="73" name="param" description="" type="mixed" variable="$column">
<type by_reference="false">mixed</type>
</tag>
<tag line="73" name="param" description="&amp;$param" type="mixed" variable="$param">
<type by_reference="false">mixed</type>
</tag>
<tag line="73" name="param" description="" type="int" variable="$type">
<type by_reference="false">int</type>
</tag>
<tag line="73" name="param" description="" type="mixed" variable="$maxlen">
<type by_reference="false">mixed</type>
</tag>
<tag line="73" name="param" description="" type="array" variable="$driverdata">
<type by_reference="false">array</type>
</tag>
<tag line="73" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="83">
<name>$column</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="83">
<name>$param</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="83">
<name>$type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="83">
<name>$maxlen</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="83">
<name>$driverdata</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="100" package="">
<name>bindParam</name>
<type>function</type>
<docblock line="90">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="90" name="param" description="" type="mixed" variable="$parameter">
<type by_reference="false">mixed</type>
</tag>
<tag line="90" name="param" description="&amp;$variable" type="mixed" variable="$variable">
<type by_reference="false">mixed</type>
</tag>
<tag line="90" name="param" description="" type="int" variable="$data_type">
<type by_reference="false">int</type>
</tag>
<tag line="90" name="param" description="" type="mixed" variable="$maxlen">
<type by_reference="false">mixed</type>
</tag>
<tag line="90" name="param" description="" type="array" variable="$driverdata">
<type by_reference="false">array</type>
</tag>
<tag line="90" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="100">
<name>$parameter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="100">
<name>$variable</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="100">
<name>$data_type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="100">
<name>$maxlen</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="100">
<name>$driverdata</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>bindValue</name>
<type>function</type>
<docblock line="107">
<description><![CDATA[Invalidate method for data consistency]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="107" name="param" description="" type="mixed" variable="$parameter">
<type by_reference="false">mixed</type>
</tag>
<tag line="107" name="param" description="&amp;$variable" type="mixed" variable="$variable">
<type by_reference="false">mixed</type>
</tag>
<tag line="107" name="param" description="" type="int" variable="$data_type">
<type by_reference="false">int</type>
</tag>
<tag line="107" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="115">
<name>$parameter</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="115">
<name>$variable</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="115">
<name>$data_type</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="128" package="">
<name>execute</name>
<type>function</type>
<docblock line="122">
<description><![CDATA[Run a prepared statement query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="122" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
<tag line="122" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
<argument line="128">
<name>$args</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="151" package="">
<name>fetch</name>
<type>function</type>
<docblock line="143">
<description><![CDATA[Emulate PDO fetch public function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="143" name="param" description="" type="int" variable="$fetch_style">
<type by_reference="false">int</type>
</tag>
<tag line="143" name="param" description="" type="mixed" variable="$statement">
<type by_reference="false">mixed</type>
</tag>
<tag line="143" name="param" description="" type="mixed" variable="$offset">
<type by_reference="false">mixed</type>
</tag>
<tag line="143" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="151">
<name>$fetch_style</name>
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
<type/>
</argument>
<argument line="151">
<name>$statement</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="151">
<name>$offset</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="201" package="">
<name>fetchAll</name>
<type>function</type>
<docblock line="193">
<description><![CDATA[Emulate PDO fetchAll public function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="193" name="param" description="" type="int" variable="$fetch_style">
<type by_reference="false">int</type>
</tag>
<tag line="193" name="param" description="" type="mixed" variable="$statement">
<type by_reference="false">mixed</type>
</tag>
<tag line="193" name="param" description="" type="mixed" variable="$ctor_args">
<type by_reference="false">mixed</type>
</tag>
<tag line="193" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="201">
<name>$fetch_style</name>
<default><![CDATA[PDO::FETCH_ASSOC]]></default>
<type/>
</argument>
<argument line="201">
<name>$statement</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
<argument line="201">
<name>$ctor_args</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="223" package="">
<name>fetchColumn</name>
<type>function</type>
<docblock line="217">
<description><![CDATA[Emulate PDOStatement::fetchColumn]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="217" name="param" description="" type="int" variable="$column_num">
<type by_reference="false">int</type>
</tag>
<tag line="217" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="223">
<name>$column_num</name>
<default><![CDATA[0]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="238" package="">
<name>fetchObject</name>
<type>function</type>
<docblock line="231">
<description><![CDATA[Emulate PDOStatement::fetchObject, but only for the default use]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="231" name="param" description="" type="string" variable="$class_name">
<type by_reference="false">string</type>
</tag>
<tag line="231" name="param" description="" type="array" variable="$ctor_args">
<type by_reference="false">array</type>
</tag>
<tag line="231" name="return" description="" type="\stdClass">
<type by_reference="false">\stdClass</type>
</tag>
</docblock>
<argument line="238">
<name>$class_name</name>
<default><![CDATA['stdClass']]></default>
<type/>
</argument>
<argument line="238">
<name>$ctor_args</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="250" package="">
<name>rowCount</name>
<type>function</type>
<docblock line="245">
<description><![CDATA[Return the number of rows affected by the previous query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="245" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="270" package="">
<name>errorCode</name>
<type>function</type>
<docblock line="265">
<description><![CDATA[Method to emulate PDOStatement->errorCode]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="265" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="282" package="">
<name>errorInfo</name>
<type>function</type>
<docblock line="277">
<description><![CDATA[Method to emulate PDO->errorInfo / PDOStatement->errorInfo]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="277" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/db/drivers/firebird/firebird_driver.php" hash="4f7e9df014cc1df6b92f09f815b9837d" 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="31" package="Default">
<name>$statement</name>
<default><![CDATA[]]></default>
<docblock line="26">
<description><![CDATA[Reference to the last query executed]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="26" name="var" description="" type="object">
<type by_reference="false">object</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="39" package="Default">
<name>$statement_link</name>
<default><![CDATA[]]></default>
<docblock line="33">
<description><![CDATA[Reference to the resource returned by
the last query executed]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="33" name="var" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="46" package="Default">
<name>$trans</name>
<default><![CDATA[]]></default>
<docblock line="41">
<description><![CDATA[Reference to the current transaction]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="41" name="var" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="protected" line="53" package="Default">
<name>$conn</name>
<default><![CDATA[]]></default>
<docblock line="48">
<description><![CDATA[Reference to the connection resource]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="48" name="var" description="" type="resource">
<type by_reference="false">resource</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="62" package="">
<name>__construct</name>
<type>function</type>
<docblock line="55">
<description><![CDATA[Open the link to the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="55" name="param" description="" type="string" variable="$dbpath">
<type by_reference="false">string</type>
</tag>
<tag line="55" name="param" description="" type="string" variable="$user">
<type by_reference="false">string</type>
</tag>
<tag line="55" name="param" description="" type="string" variable="$pass">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="62">
<name>$dbpath</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="62">
<name>$user</name>
<default><![CDATA['sysdba']]></default>
<type/>
</argument>
<argument line="62">
<name>$pass</name>
<default><![CDATA['masterkey']]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="95" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="89">
<description><![CDATA[Doesn't apply to Firebird]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="89" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="89" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="95">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="107" package="">
<name>truncate</name>
<type>function</type>
<docblock line="102">
<description><![CDATA[Empty a database table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="102" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="107">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package="">
<name>query</name>
<type>function</type>
<docblock line="116">
<description><![CDATA[Wrapper public function to better match PDO]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="116" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type>
</tag>
<tag line="116" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="122">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="148" package="">
<name>prepare</name>
<type>function</type>
<docblock line="141">
<description><![CDATA[Emulate PDO prepare]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="141" name="param" description="" type="string" variable="$query">
<type by_reference="false">string</type>
</tag>
<tag line="141" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
<tag line="141" name="return" description="" type="\$this">
<type by_reference="false">\$this</type>
</tag>
</docblock>
<argument line="148">
<name>$query</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="148">
<name>$options</name>
<default><![CDATA[NULL]]></default>
<type/>
</argument>
</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="a3d7c263c45909cc13e414913fcb9b68" 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>
<markers>
<todo line="117">Implement Backup structure function</todo>
</markers>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>Firebird_Util</name>
<full_name>\Firebird_Util</full_name>
<extends>\DB_Util</extends>
<docblock line="16">
<description><![CDATA[Firebird-specific backup, import and creation methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="Query"/>
<tag line="16" name="subpackage" description="Drivers"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
<name>__construct</name>
<type>function</type>
<docblock line="24">
<description><![CDATA[Save a reference to the current connection object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="param" description="&amp;$conn" type="object" variable="$conn">
<type by_reference="false">object</type>
</tag>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="30">
<name>$conn</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="47" package="">
<name>create_table</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Convienience public function to generate sql for creating a db table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$fields">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$constraints">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="param" description="" type="array" variable="$indexes">
<type by_reference="false">array</type>
</tag>
<tag line="37" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="47">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$fields</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="47">
<name>$constraints</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
<argument line="47">
<name>$indexes</name>
<default><![CDATA[array()]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
<name>delete_table</name>
<type>function</type>
<docblock line="97">
<description><![CDATA[Drop the selected table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="97" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="97" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="103">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>backup_structure</name>
<type>function</type>
<docblock line="110">
<description><![CDATA[Create an SQL backup file for the current database's structure]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="130" package="">
<name>backup_data</name>
<type>function</type>
<docblock line="123">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="123" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type>
</tag>
<tag line="123" name="param" description="" type="bool" variable="$system_tables">
<type by_reference="false">bool</type>
</tag>
<tag line="123" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="130">
<name>$exclude</name>
<default><![CDATA[array()]]></default>
<type/>
</argument>
<argument line="130">
<name>$system_tables</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/core/model.php" hash="01891d05727784017f7df2ba5c599ba3" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
<name>MM_Model</name>
<full_name>\MM_Model</full_name>
<extends>\miniMVC</extends>
<docblock line="16">
<description><![CDATA[Base Model Class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="System"/>
</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[Initialize the model class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" 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="42" package="">
<name>load_db</name>
<type>function</type>
<docblock line="36">
<description><![CDATA[Adds the database class to the current model class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="36" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="36" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="42">
<name>$name</name>
<default><![CDATA["default"]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/core/db.php" hash="027d422e7ac6d5d1d61b63b059629a92" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
<name>DB</name>
<full_name>\DB</full_name>
<extends>\Query_Builder</extends>
<docblock line="16">
<description><![CDATA[Extend PHP's PDO class to add some more functionality]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="System"/>
</docblock>
<property final="false" static="true" visibility="private" line="31" package="Default">
<name>$instance</name>
<default><![CDATA[[]]]></default>
<docblock line="26">
<description><![CDATA[DB connection instances]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="26" 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="40" package="">
<name>get_instance</name>
<type>function</type>
<docblock line="33">
<description><![CDATA[Indexed singleton method]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="33" name="param" description="" type="string" variable="$dbname">
<type by_reference="false">string</type>
</tag>
<tag line="33" name="param" description="" type="array" variable="$options">
<type by_reference="false">array</type>
</tag>
<tag line="33" name="return" description="" type="\DB">
<type by_reference="false">\DB</type>
</tag>
</docblock>
<argument line="40">
<name>$dbname</name>
<default><![CDATA["default"]]></default>
<type/>
</argument>
<argument line="40">
<name>$options</name>
<default><![CDATA[[]]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="70" package="">
<name>__construct</name>
<type>function</type>
<docblock line="65">
<description><![CDATA[Constructor to override JSObject trait]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="65" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="70">
<name>$params</name>
<default><![CDATA[[]]]></default>
<type>array</type>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="86" package="">
<name>__call</name>
<type>function</type>
<docblock line="79">
<description><![CDATA[Override __call in trait to call __call in Query Builder...lol]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="79" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="79" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="79" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="86">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="86">
<name>$params</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package="">
<name>get_last_error</name>
<type>function</type>
<docblock line="93">
<description><![CDATA[Returns the last error from the database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="93" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/core/miniMVC.php" hash="95762d96e5f4df13ec8247f9d5b39de1" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<function namespace="default" line="143" package="miniMVC">
<name>__construct</name>
<type>function</type>
<docblock line="140">
<description><![CDATA[Protected constructor for creating the one instance]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</function>
<function namespace="default" line="49" package="miniMVC">
<name>__call</name>
<type>function</type>
<docblock line="43">
<description><![CDATA[PHP magic method to facilitate dynamic methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="43" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="43" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="49">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="49">
<name>$params</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="65" package="miniMVC">
<name>__toString</name>
<type>function</type>
<docblock line="60">
<description><![CDATA[Prints out the contents of the object when used as a string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="60" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</function>
<function namespace="default" line="151" package="miniMVC">
<name>__invoke</name>
<type>function</type>
<docblock line="145">
<description><![CDATA[PHP magic method that is called when an object is treated as a function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="145" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="145" name="return" description="" type="\self">
<type by_reference="false">\self</type>
</tag>
</docblock>
<argument line="151">
<name>$params</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="163" package="miniMVC">
<name>get_instance</name>
<type>function</type>
<docblock line="158">
<description><![CDATA[Singleton getter function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="158" name="return" description="" type="\self">
<type by_reference="false">\self</type>
</tag>
</docblock>
</function>
<function namespace="default" line="180" package="miniMVC">
<name>__clone</name>
<type>function</type>
<docblock line="177">
<description><![CDATA[Magic function called when cloning an object]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</function>
<class final="false" abstract="false" namespace="default" line="196" package="miniMVC\System">
<name>MM</name>
<full_name>\MM</full_name>
<extends>\ArrayObject</extends>
<docblock line="190">
<description><![CDATA[Class for standalone JSObject objects]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="190" name="package" description="miniMVC"/>
<tag line="190" name="subpackage" description="System"/>
</docblock>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="205" package="">
<name>__construct</name>
<type>function</type>
<docblock line="200">
<description><![CDATA[Create the ArrayObject/JSObject hybrid object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="200" name="param" description="array" type="" variable="$members"/>
</docblock>
<argument line="205">
<name>$members</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="226" package="">
<name>__call</name>
<type>function</type>
<docblock line="218">
<description><![CDATA[Allow calling of array methods on the object and
dynamic methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="218" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="218" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="218" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="226">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="226">
<name>$params</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</method>
</class>
<class final="false" abstract="false" namespace="default" line="252" package="miniMVC\System">
<name>miniMVC</name>
<full_name>\miniMVC</full_name>
<extends>\MM</extends>
<docblock line="246">
<description><![CDATA[Base class for the framework]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="246" name="package" description="miniMVC"/>
<tag line="246" name="subpackage" description="System"/>
</docblock>
<property final="false" static="false" visibility="public" line="261" package="Default">
<name>$output</name>
<default><![CDATA[]]></default>
<docblock line="256">
<description><![CDATA[Reference to output class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="256" name="var" description="" type="\MM_Output">
<type by_reference="false">\MM_Output</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="268" package="">
<name>__construct</name>
<type>function</type>
<docblock line="263">
<description><![CDATA[Constructor - Any classes loaded here become subclasses of miniMVC]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="263" name="param" description="" type="array" variable="$members">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="268">
<name>$members</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="284" package="">
<name>__call</name>
<type>function</type>
<docblock line="278">
<description><![CDATA[PHP magic method to facilitate dynamic methods]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="278" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="278" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="284">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="284">
<name>$args</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="318" package="">
<name>load_class</name>
<type>function</type>
<docblock line="312">
<description><![CDATA[Method to load classes into the singleton]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="312" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="312" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="318">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="376" package="">
<name>unload</name>
<type>function</type>
<docblock line="371">
<description><![CDATA[Convenience function to remove an object from the singleton]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="371" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="376">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="391" package="">
<name>load_config</name>
<type>function</type>
<docblock line="386">
<description><![CDATA[Convenience function to load config files]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="386" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="391">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/core/page.php" hash="0763c678214a982e5f6ef215b5e54eb9" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="25" package="miniMVC\System">
<name>MM_Page</name>
<full_name>\MM_Page</full_name>
<extends>\MM</extends>
<docblock line="16">
<description><![CDATA[Class for building pages]]></description>
<long-description><![CDATA[<p>All methods are chainable, with the exception of the constructor,
build_header(), build_footer(), and _headers() methods.</p>]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="System"/>
</docblock>
<property final="false" static="false" visibility="private" line="32" package="Default">
<name>$meta</name>
<default><![CDATA[]]></default>
<docblock line="27">
<description><![CDATA[Meta tags]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="27" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="39" package="Default">
<name>$head_js</name>
<default><![CDATA[]]></default>
<docblock line="34">
<description><![CDATA[JS tags for the header]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="34" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="46" package="Default">
<name>$foot_js</name>
<default><![CDATA[]]></default>
<docblock line="41">
<description><![CDATA[JS tags for the footer]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="41" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="53" package="Default">
<name>$css</name>
<default><![CDATA[]]></default>
<docblock line="48">
<description><![CDATA[CSS tags for the page]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="48" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="60" package="Default">
<name>$title</name>
<default><![CDATA[]]></default>
<docblock line="55">
<description><![CDATA[Page title]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="55" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="67" package="Default">
<name>$head_tags</name>
<default><![CDATA[]]></default>
<docblock line="62">
<description><![CDATA[Additional header tags]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="62" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="74" package="Default">
<name>$body_class</name>
<default><![CDATA[]]></default>
<docblock line="69">
<description><![CDATA[Class(es) to apply to the main body tag]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="69" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="81" package="Default">
<name>$body_id</name>
<default><![CDATA[]]></default>
<docblock line="76">
<description><![CDATA[Id to apply to the body tag]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="76" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="88" package="Default">
<name>$base</name>
<default><![CDATA[]]></default>
<docblock line="83">
<description><![CDATA[Base tag]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="83" 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="96" package="">
<name>__construct</name>
<type>function</type>
<docblock line="90">
<description><![CDATA[Set up the page class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="90" name="param" description="object" type="" variable="$controller"/>
<tag line="90" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="96">
<name>$controller</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="124" package="">
<name>_headers</name>
<type>function</type>
<docblock line="114">
<description><![CDATA[Sets server headers and doctype]]></description>
<long-description><![CDATA[<p>Also sets page mime type, based on if sent as
html or xhtml, and what the target browser
supports</p>]]></long-description>
<tag line="114" name="param" description="" type="bool" variable="$html5">
<type by_reference="false">bool</type>
</tag>
<tag line="114" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="124">
<name>$html5</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="165" package="">
<name>set_meta</name>
<type>function</type>
<docblock line="157">
<description><![CDATA[Set Meta]]></description>
<long-description><![CDATA[<p>Sets meta tags, with codeigniter native meta tag helper</p>]]></long-description>
<tag line="157" name="param" description="" type="array" variable="$meta">
<type by_reference="false">array</type>
</tag>
<tag line="157" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="165">
<name>$meta</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="180" package="">
<name>set_head_js_group</name>
<type>function</type>
<docblock line="173">
<description><![CDATA[Sets minified javascript group in header]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="173" name="param" description="" type="string" variable="$group">
<type by_reference="false">string</type>
</tag>
<tag line="173" name="param" description="" type="bool" variable="$debug">
<type by_reference="false">bool</type>
</tag>
<tag line="173" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="180">
<name>$group</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="180">
<name>$debug</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="200" package="">
<name>set_css_group</name>
<type>function</type>
<docblock line="195">
<description><![CDATA[Sets a minified css group]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="195" name="param" description="" type="string" variable="$group">
<type by_reference="false">string</type>
</tag>
<tag line="195" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="200">
<name>$group</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="221" package="">
<name>set_foot_js_group</name>
<type>function</type>
<docblock line="214">
<description><![CDATA[Sets a minified javascript group for the page footer]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="214" name="param" description="" type="string" variable="$group">
<type by_reference="false">string</type>
</tag>
<tag line="214" name="param" description="" type="bool" variable="$debug">
<type by_reference="false">bool</type>
</tag>
<tag line="214" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="221">
<name>$group</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="221">
<name>$debug</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="237" package="">
<name>set_title</name>
<type>function</type>
<docblock line="231">
<description><![CDATA[Sets html title string]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="231" name="param" description="" type="string" variable="$title">
<type by_reference="false">string</type>
</tag>
<tag line="231" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="237">
<name>$title</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="254" package="">
<name>set_body_class</name>
<type>function</type>
<docblock line="248">
<description><![CDATA[Sets custom body class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="248" name="param" description="" type="string" variable="$class">
<type by_reference="false">string</type>
</tag>
<tag line="248" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="254">
<name>$class</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="268" package="">
<name>set_body_id</name>
<type>function</type>
<docblock line="262">
<description><![CDATA[Sets custom body id]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="262" name="param" description="" type="string" variable="$id">
<type by_reference="false">string</type>
</tag>
<tag line="262" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="268">
<name>$id</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="282" package="">
<name>set_base</name>
<type>function</type>
<docblock line="276">
<description><![CDATA[Sets custom base href]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="276" name="param" description="href" type="string" variable="$href">
<type by_reference="false">string</type>
</tag>
<tag line="276" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="282">
<name>$href</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="298" package="">
<name>set_css_tag</name>
<type>function</type>
<docblock line="290">
<description><![CDATA[Sets custom css tags]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="290" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="290" name="param" description="" type="bool" variable="$domain">
<type by_reference="false">bool</type>
</tag>
<tag line="290" name="param" description="" type="string" variable="$media">
<type by_reference="false">string</type>
</tag>
<tag line="290" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="298">
<name>$name</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="298">
<name>$domain</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
<argument line="298">
<name>$media</name>
<default><![CDATA["all"]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="326" package="">
<name>set_head_tag</name>
<type>function</type>
<docblock line="320">
<description><![CDATA[Sets a custom tag in the header]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="320" name="param" description="" type="string" variable="$tag">
<type by_reference="false">string</type>
</tag>
<tag line="320" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="326">
<name>$tag</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="340" package="">
<name>build_header</name>
<type>function</type>
<docblock line="334">
<description><![CDATA[Sets custom page header]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="334" name="param" description="" type="bool" variable="$html5">
<type by_reference="false">bool</type>
</tag>
<tag line="334" name="return" description="" type="\Page">
<type by_reference="false">\Page</type>
</tag>
</docblock>
<argument line="340">
<name>$html5</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="398" package="">
<name>build_footer</name>
<type>function</type>
<docblock line="395">
<description><![CDATA[Builds common footer with any additional js]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="418" package="">
<name>script_tag</name>
<type>function</type>
<docblock line="409">
<description><![CDATA[Script Tag]]></description>
<long-description><![CDATA[<p>Helper function for making script tags</p>]]></long-description>
<tag line="409" name="param" description="" type="string" variable="$js">
<type by_reference="false">string</type>
</tag>
<tag line="409" name="param" description="" type="bool" variable="$domain">
<type by_reference="false">bool</type>
</tag>
<tag line="409" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="418">
<name>$js</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="418">
<name>$domain</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="442" package="">
<name>set_message</name>
<type>function</type>
<docblock line="433">
<description><![CDATA[Set Message]]></description>
<long-description><![CDATA[<p>Adds a message to the page</p>]]></long-description>
<tag line="433" name="param" description="" type="string" variable="$type">
<type by_reference="false">string</type>
</tag>
<tag line="433" name="param" description="" type="string" variable="$message">
<type by_reference="false">string</type>
</tag>
<tag line="433" name="param" description="" type="bool" variable="$return">
<type by_reference="false">bool</type>
</tag>
<tag line="433" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="442">
<name>$type</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="442">
<name>$message</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="442">
<name>$return</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="458" package="">
<name>redirect_303</name>
<type>function</type>
<docblock line="452">
<description><![CDATA[Redirect 303]]></description>
<long-description><![CDATA[<p>Shortcut function for 303 redirect</p>]]></long-description>
<tag line="452" name="param" description="" type="string" variable="$url">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="458">
<name>$url</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="473" package="">
<name>render</name>
<type>function</type>
<docblock line="466">
<description><![CDATA[Render]]></description>
<long-description><![CDATA[<p>Shortcut function for building a page</p>]]></long-description>
<tag line="466" name="param" description="" type="string" variable="$view">
<type by_reference="false">string</type>
</tag>
<tag line="466" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="473">
<name>$view</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="473">
<name>$data</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="490" package="">
<name>output_string</name>
<type>function</type>
<docblock line="482">
<description><![CDATA[Output String]]></description>
<long-description><![CDATA[<p>Similar to render(), this is a shortcut
to output a string in the body of the
page.</p>]]></long-description>
<tag line="482" name="param" description="" type="string" variable="$string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="490">
<name>$string</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="505" package="">
<name>_meta</name>
<type>function</type>
<docblock line="499">
<description><![CDATA[Private helper function to generate meta tags]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="499" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="499" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="505">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="527" package="">
<name>_link_tag</name>
<type>function</type>
<docblock line="521">
<description><![CDATA[Private helper function to generate link tags]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="521" name="param" description="" type="array" variable="$params">
<type by_reference="false">array</type>
</tag>
<tag line="521" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="527">
<name>$params</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/core/controller.php" hash="c51a147d4ddd1ea2a8491d7c7c71f372" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
<name>MM_Controller</name>
<full_name>\MM_Controller</full_name>
<extends>\miniMVC</extends>
<docblock line="16">
<description><![CDATA[Base Controller Class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="System"/>
</docblock>
<property final="false" static="false" visibility="protected" line="29" package="Default">
<name>$page</name>
<default><![CDATA[]]></default>
<docblock line="24">
<description><![CDATA[Instance of Page class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="var" description="" type="\Page">
<type by_reference="false">\Page</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 controller object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="31" 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="53" package="">
<name>load_model</name>
<type>function</type>
<docblock line="46">
<description><![CDATA[Function for loading a model into the current class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="46" name="param" description="" type="string" variable="$file">
<type by_reference="false">string</type>
</tag>
<tag line="46" name="param" description="" type="array" variable="$args">
<type by_reference="false">array</type>
</tag>
<tag line="46" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="53">
<name>$file</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="53">
<name>$args</name>
<default><![CDATA[[]]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
<name>load_view</name>
<type>function</type>
<docblock line="77">
<description><![CDATA[Function for loading a view]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="77" name="param" description="" type="string" variable="$file">
<type by_reference="false">string</type>
</tag>
<tag line="77" name="param" description="" type="array" variable="$data">
<type by_reference="false">array</type>
</tag>
<tag line="77" name="param" description="" type="bool" variable="$return">
<type by_reference="false">bool</type>
</tag>
<tag line="77" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="85">
<name>$file</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="85">
<name>$data</name>
<default><![CDATA[[]]]></default>
<type>array</type>
</argument>
<argument line="85">
<name>$return</name>
<default><![CDATA[FALSE]]></default>
<type/>
</argument>
</method>
</class>
</file>
<file path="sys/core/output.php" hash="22c578973d2a335045740f7f8627f73a" package="Default">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="21" package="miniMVC\System">
<name>MM_Output</name>
<full_name>\MM_Output</full_name>
<extends>\MM</extends>
<docblock line="15">
<description><![CDATA[Class for displaying output and setting http headers]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="15" name="package" description="miniMVC"/>
<tag line="15" name="subpackage" description="System"/>
</docblock>
<property final="false" static="false" visibility="private" line="28" package="Default">
<name>$buffer</name>
<default><![CDATA[]]></default>
<docblock line="23">
<description><![CDATA[Content for outputting]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="23" name="var" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
</property>
<property final="false" static="false" visibility="private" line="35" package="Default">
<name>$headers</name>
<default><![CDATA[]]></default>
<docblock line="30">
<description><![CDATA[HTTP headers to send]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="30" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="42" package="">
<name>__construct</name>
<type>function</type>
<docblock line="37">
<description><![CDATA[Initialize the output class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" 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="54" package="">
<name>__destruct</name>
<type>function</type>
<docblock line="48">
<description><![CDATA[PHP magic method called when ending the script
Used for outputing HTML]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="48" 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="97" package="">
<name>set_header</name>
<type>function</type>
<docblock line="91">
<description><![CDATA[Sets a header for later output]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="91" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="91" name="param" description="" type="string" variable="$val">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="97">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="97">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="109" package="">
<name>append_output</name>
<type>function</type>
<docblock line="104">
<description><![CDATA[Adds text to the output buffer]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="104" name="param" description="" type="string" variable="$string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="109">
<name>$string</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="121" package="">
<name>set_output</name>
<type>function</type>
<docblock line="116">
<description><![CDATA[Sets the output buffer]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="116" name="param" description="" type="string" variable="$string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="121">
<name>$string</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="131" package="">
<name>flush_headers</name>
<type>function</type>
<docblock line="128">
<description><![CDATA[Sends headers and then removes them]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
</class>
</file>
<file path="sys/libraries/session.php" hash="83299a83c272acd89023a5193e82b80a" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<constant namespace="default" line="18" package="Default">
<name>Unknown</name>
<value><![CDATA[]]></value>
<docblock line="15">
<description><![CDATA[Define a session id to namespace sessions]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</constant>
<class final="false" abstract="false" namespace="default" line="27" package="miniMVC\Libraries">
<name>MM_Session</name>
<full_name>\MM_Session</full_name>
<extends/>
<docblock line="21">
<description><![CDATA[Class to improve handling of PHP sessions]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="21" name="package" description="miniMVC"/>
<tag line="21" name="subpackage" description="Libraries"/>
</docblock>
<property final="false" static="false" visibility="protected" line="42" package="Default">
<name>$sess</name>
<default><![CDATA[[]]]></default>
<docblock line="37">
<description><![CDATA[Reference to session superglobal]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="37" name="var" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</property>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="47" package="">
<name>__construct</name>
<type>function</type>
<docblock line="44">
<description><![CDATA[Start a session]]></description>
<long-description><![CDATA[]]></long-description>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="65" package="">
<name>__set</name>
<type>function</type>
<docblock line="58">
<description><![CDATA[Set a session value]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="58" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="58" name="param" description="" type="mixed" variable="$val">
<type by_reference="false">mixed</type>
</tag>
<tag line="58" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="65">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="65">
<name>$val</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="78" package="">
<name>__get</name>
<type>function</type>
<docblock line="72">
<description><![CDATA[Retreive a session value]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="72" name="param" description="" type="string" variable="$key">
<type by_reference="false">string</type>
</tag>
<tag line="72" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="78">
<name>$key</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
<name>destroy</name>
<type>function</type>
<docblock line="85">
<description><![CDATA[Destroy a session]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="85" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="sys/common.php" hash="991b411691af7d368914b858a893ab91" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<function namespace="default" line="32" package="miniMVC">
<name>shutdown</name>
<type>function</type>
<docblock line="25">
<description><![CDATA[Function to run on script shutdown
-used to catch most fatal errors, and
display them cleanly]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="25" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</function>
<function namespace="default" line="64" package="miniMVC">
<name>load_file</name>
<type>function</type>
<docblock line="57">
<description><![CDATA[Function to search through the tree to find the necessary file]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="57" name="param" description="" type="string" variable="$file">
<type by_reference="false">string</type>
</tag>
<tag line="57" name="param" description="" type="string" variable="$curr_path">
<type by_reference="false">string</type>
</tag>
<tag line="57" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="64">
<name>$file</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="64">
<name>$curr_path</name>
<default><![CDATA[""]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="99" package="miniMVC">
<name>on_error</name>
<type>function</type>
<docblock line="90">
<description><![CDATA[Custom error handler]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="90" name="param" description="" type="int" variable="$severity">
<type by_reference="false">int</type>
</tag>
<tag line="90" name="param" description="" type="string" variable="$message">
<type by_reference="false">string</type>
</tag>
<tag line="90" name="param" description="" type="string" variable="$filepath">
<type by_reference="false">string</type>
</tag>
<tag line="90" name="param" description="" type="int" variable="$line">
<type by_reference="false">int</type>
</tag>
<tag line="90" name="return" description="" type="\ErrorException">
<type by_reference="false">\ErrorException</type>
</tag>
</docblock>
<argument line="99">
<name>$severity</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="99">
<name>$message</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="99">
<name>$filepath</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="99">
<name>$line</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="112" package="miniMVC">
<name>on_exception</name>
<type>function</type>
<docblock line="106">
<description><![CDATA[Custom exception handlererror_get_last]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="106" name="param" description="" type="\Exception" variable="$exception">
<type by_reference="false">\Exception</type>
</tag>
<tag line="106" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="112">
<name>$exception</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="135" package="miniMVC">
<name>is_like_array</name>
<type>function</type>
<docblock line="129">
<description><![CDATA[Utility function to check if a variable is set, and is an array or object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="129" name="param" description="" type="mixed" variable="$var">
<type by_reference="false">mixed</type>
</tag>
<tag line="129" name="return" description="" type="bool">
<type by_reference="false">bool</type>
</tag>
</docblock>
<argument line="135">
<name>$var</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="152" package="miniMVC">
<name>show_404</name>
<type>function</type>
<docblock line="147">
<description><![CDATA[General 404 function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="147" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</function>
<function namespace="default" line="177" package="miniMVC">
<name>show_error</name>
<type>function</type>
<docblock line="171">
<description><![CDATA[Fatal Error page function]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="171" name="param" description="" type="string" variable="$message">
<type by_reference="false">string</type>
</tag>
<tag line="171" name="param" description="" type="int" variable="$status_code">
<type by_reference="false">int</type>
</tag>
</docblock>
<argument line="177">
<name>$message</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="177">
<name>$status_code</name>
<default><![CDATA[null]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="202" package="miniMVC">
<name>controller_methods</name>
<type>function</type>
<docblock line="196">
<description><![CDATA[Returns routable methods for the specified controller class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="196" name="param" description="" type="string" variable="$controller">
<type by_reference="false">string</type>
</tag>
<tag line="196" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
<argument line="202">
<name>$controller</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="220" package="miniMVC">
<name>route</name>
<type>function</type>
<docblock line="215">
<description><![CDATA[Calls the appropriate module/controller/function based on the url]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="215" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</function>
<function namespace="default" line="345" package="miniMVC">
<name>site_url</name>
<type>function</type>
<docblock line="339">
<description><![CDATA[Returns a full url from a url segment]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="339" name="param" description="" type="string" variable="$segment">
<type by_reference="false">string</type>
</tag>
<tag line="339" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="345">
<name>$segment</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
<function namespace="default" line="359" package="miniMVC">
<name>to_string</name>
<type>function</type>
<docblock line="352">
<description><![CDATA[Prints out the contents of the object]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="352" name="param" description="" type="\object/array" variable="$data">
<type by_reference="false">\object/array</type>
</tag>
<tag line="352" name="param" description="" type="string" variable="$method">
<type by_reference="false">string</type>
</tag>
<tag line="352" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="359">
<name>$data</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="359">
<name>$method</name>
<default><![CDATA['print_r']]></default>
<type/>
</argument>
</function>
<function namespace="default" line="393" package="miniMVC">
<name>do_include</name>
<type>function</type>
<docblock line="387">
<description><![CDATA[Array_map callback to load a folder of classes at once]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="387" name="param" description="" type="string" variable="$path">
<type by_reference="false">string</type>
</tag>
<tag line="387" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="393">
<name>$path</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</function>
</file>
<file path="index.php" hash="ec4c291649bc651088cf7b4daeddb574" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<include line="52" type="Require" package="Default">
<name>config/config.php</name>
</include>
<include line="55" type="Require" package="Default">
<name>common.php</name>
</include>
<include line="58" type="Require Once" package="Default">
<name>db/autoload.php</name>
</include>
<include line="61" type="Require Once" package="Default">
<name>core/miniMVC.php</name>
</include>
<constant namespace="default" line="28" package="miniMVC\App">
<name>ENVIRONMENT</name>
<value><![CDATA['DEVELOPMENT']]></value>
<docblock line="16">
<description><![CDATA[miniMVC bootstrap file]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="App"/>
</docblock>
</constant>
<constant namespace="default" line="40" package="Default">
<name>MM_BASE_PATH</name>
<value><![CDATA[__DIR__]]></value>
</constant>
<constant namespace="default" line="41" package="Default">
<name>MM_SYS_PATH</name>
<value><![CDATA[__DIR__.'/sys/']]></value>
</constant>
<constant namespace="default" line="42" package="Default">
<name>MM_APP_PATH</name>
<value><![CDATA[__DIR__.'/app/']]></value>
</constant>
<constant namespace="default" line="43" package="Default">
<name>MM_MOD_PATH</name>
<value><![CDATA[MM_APP_PATH.'modules/']]></value>
</constant>
</file>
<file path="app/config/config.php" hash="698f6dfa011921b32a16dc256d44a50e" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<constant namespace="default" line="33" package="miniMVC\App">
<name>SHOW_DEBUG_BACKTRACE</name>
<value><![CDATA[TRUE]]></value>
<docblock line="16">
<description><![CDATA[Main config file]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="App"/>
</docblock>
</constant>
<constant namespace="default" line="44" package="Default">
<name>BASE_URL</name>
<value><![CDATA[$default_baseurl]]></value>
</constant>
<constant namespace="default" line="54" package="Default">
<name>URL_INDEX_FILE</name>
<value><![CDATA['index.php/']]></value>
</constant>
<constant namespace="default" line="64" package="Default">
<name>CONTENT_DOMAIN</name>
<value><![CDATA[BASE_URL]]></value>
</constant>
<constant namespace="default" line="74" package="Default">
<name>STATIC_LIB_PATH</name>
<value><![CDATA[CONTENT_DOMAIN.'assets/']]></value>
</constant>
<constant namespace="default" line="86" package="Default">
<name>STYLE_PATH</name>
<value><![CDATA[STATIC_LIB_PATH . 'css.php/g/']]></value>
</constant>
<constant namespace="default" line="97" package="Default">
<name>SCRIPT_PATH</name>
<value><![CDATA[STATIC_LIB_PATH . 'js.php/g/']]></value>
</constant>
<constant namespace="default" line="108" package="Default">
<name>DEFAULT_TITLE</name>
<value><![CDATA["miniMVC app"]]></value>
</constant>
<constant namespace="default" line="118" package="Default">
<name>DEFAULT_CSS_GROUP</name>
<value><![CDATA["css"]]></value>
</constant>
<constant namespace="default" line="128" package="Default">
<name>DEFAULT_JS_GROUP</name>
<value><![CDATA["js"]]></value>
</constant>
</file>
<file path="app/config/db.php" hash="53bcf0378295148898dc0047812623ae" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
</file>
<file path="app/config/routes.php" hash="a7d5448eb9996985c660e8a07767c735" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
</file>
<file path="app/modules/welcome/models/welcome_model.php" hash="b1085eadd43d5b02f70919ac7565adad" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\App">
<name>Welcome_Model</name>
<full_name>\Welcome_Model</full_name>
<extends>\MM_Model</extends>
<docblock line="16">
<description><![CDATA[Model template class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="App"/>
</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[Initialize the model]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
</class>
</file>
<file path="app/modules/welcome/controllers/welcome.php" hash="b46fff4b3fd55129850e8edff54a75f5" package="miniMVC">
<docblock line="2">
<description><![CDATA[MiniMVC]]></description>
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
<tag line="2" name="package" description="miniMVC"/>
<tag line="2" name="author" description="Timothy J. Warren"/>
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock>
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\App">
<name>Welcome</name>
<full_name>\Welcome</full_name>
<extends>\MM_Controller</extends>
<docblock line="16">
<description><![CDATA[Example Controller Class]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="16" name="package" description="miniMVC"/>
<tag line="16" name="subpackage" description="App"/>
</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[Initialize the constructor]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="24" 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="39" package="">
<name>index</name>
<type>function</type>
<docblock line="34">
<description><![CDATA[Default route for the controller]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="34" 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="51" package="">
<name>php</name>
<type>function</type>
<docblock line="46">
<description><![CDATA[welcome/php route]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="46" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
</method>
</class>
</file>
<package name="" full_name=""/>
<package name="Default" full_name="Default"/>
<package name="Query" full_name="Query">
<package name="Drivers" full_name="Query\Drivers"/>
<package name="Helper Classes" full_name="Query\Helper Classes"/>
<package name="Query" full_name="Query\Query"/>
</package>
<package name="miniMVC" full_name="miniMVC">
<package name="App" full_name="miniMVC\App"/>
<package name="Libraries" full_name="miniMVC\Libraries"/>
<package name="System" full_name="miniMVC\System"/>
</package>
<namespace name="default" full_name="default"/>
<marker count="6">todo</marker>
<marker count="0">fixme</marker>
<deprecated count="0"/>
</project>