Changes to AgileBill

This commit is contained in:
Deon George
2009-08-03 14:10:16 +10:00
parent 0a22cfe22c
commit 27aee719b0
1051 changed files with 219109 additions and 117219 deletions

View File

@@ -1,65 +1,85 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- define the module name -->
<module>search</module>
<!-- define the module table name -->
<table>search</table>
<!-- define the module dependancy(s) -->
<dependancy/>
<!-- define the DB cache in seconds -->
<cache>0</cache>
<!-- define the default order_by field for SQL queries -->
<order_by/>
<!-- define the methods -->
<limit>25</limit>
<!-- define database indexes -->
<index>
<expire>date_expire</expire>
<sess>session_id</sess>
<acct>account_id</acct>
<module>module</module>
</index>
<!-- define the fields -->
<field>
<id>
<type>I8</type>
<unique>1</unique>
<index>1</index>
</id>
<site_id>
<type>I8</type>
<index>1</index>
</site_id>
<date_orig>
<type>I8</type>
</date_orig>
<date_expire>
<type>I8</type>
</date_expire>
<session_id>
<type>C(32)</type>
</session_id>
<account_id>
<type>I8</type>
</account_id>
<module>
<type>C(64)</type>
</module>
<full_sql>
<type>X2</type>
</full_sql>
<order_by>
<type>C(255)</type>
</order_by>
<limit_no>
<type>I4</type>
</limit_no>
<results>
<type>I4</type>
</results>
</field>
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
<method/>
<!-- define the method triggers -->
<trigger>0</trigger>
<!-- Module name -->
<module>search</module>
<!-- Module supporting database table -->
<table>search</table>
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
<dependancy></dependancy>
<!-- DB cache in seconds -->
<cache>0</cache>
<!-- Default order_by field for SQL queries -->
<order_by></order_by>
<!-- Default SQL limit for SQL queries -->
<limit>25</limit>
<!-- Schema version (used to determine if the schema has change during upgrades) -->
<version>0</version>
<!-- Database indexes -->
<index>
<expire>date_expire</expire>
<sess>session_id</sess>
<acct>account_id</acct>
<module>module</module>
</index>
<!-- Database fields -->
<field>
<!-- Record ID -->
<id>
<index>1</index>
<type>I8</type>
<unique>1</unique>
</id>
<!-- Site ID -->
<site_id>
<index>1</index>
<type>I8</type>
</site_id>
<!-- Date record created -->
<date_orig>
<convert>date-now</convert>
<display>Date Created</display>
<type>I8</type>
</date_orig>
<date_expire>
<type>I8</type>
</date_expire>
<session_id>
<type>C(32)</type>
</session_id>
<account_id>
<type>I8</type>
</account_id>
<module>
<type>C(64)</type>
</module>
<full_sql>
<type>X2</type>
</full_sql>
<order_by>
<type>C(255)</type>
</order_by>
<limit_no>
<type>I4</type>
</limit_no>
<results>
<type>I4</type>
</results>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
</method>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
</title>
<!-- Template helpers -->
<tpl>
</tpl>
</construct>

View File

@@ -1,11 +1,26 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<install>
<!-- Tree Menu Module Properties -->
<module_properties>
<!-- MODULE Dependancy, this module wont be installed if the dependant modules dont exist -->
<dependancy></dependancy>
<!-- Translated display to use on the tree -->
<display></display>
<!-- Display a module in the menu tree -->
<menu_display>0</menu_display>
<!-- MODULE Name -->
<name>search</name>
<parent>search</parent>
<!-- MODULE Notes, these notes show up in the modules table, as a description of the module -->
<notes><![CDATA[Manage searchs]]></notes>
<!-- MODULE Parent, the parent node in the tree -->
<parent></parent>
<!-- SUB Modules to install with this one -->
<sub_modules></sub_modules>
<!-- MODULE Type (core|base), core modules cannot be deleted, unrecognised types are ignored. -->
<type>base</type>
</module_properties>
<sql_inserts>
<module_method>
</module_method>
</sql_inserts>
</install>
<!-- Tree Menu & Module Methods to load, they will be assigned the group permissions on install time, as selected by the user. -->
<module_method>
</module_method>
</install>

View File

@@ -1,58 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<install>
<search>
<id>3066</id>
<site_id>1</site_id>
<date_orig>1112338630</date_orig>
<date_expire>1112374630</date_expire>
<session_id>c48c8cec9298a40a1995ad479b5c4e37</session_id>
<account_id>1</account_id>
<module>0</module>
<sql>SELECT %%fieldList%% FROM %%tableList%% WHERE %%whereList%% </sql>
<order_by>name</order_by>
<limit_no>25</limit_no>
<results>66</results>
</search>
<search>
<id>3067</id>
<site_id>1</site_id>
<date_orig>1112338637</date_orig>
<date_expire>1112374637</date_expire>
<session_id>c48c8cec9298a40a1995ad479b5c4e37</session_id>
<account_id>1</account_id>
<module>0</module>
<sql><![CDATA[SELECT %%fieldList%% FROM %%tableList%% WHERE module_id = '62' AND %%whereList%% ]]></sql>
<order_by>name</order_by>
<limit_no>25</limit_no>
<results>7</results>
</search>
<search>
<id>3068</id>
<site_id>1</site_id>
<date_orig>1112343270</date_orig>
<date_expire>1112379270</date_expire>
<session_id>b3662a1982e7ba3c5308973b354fb6f7</session_id>
<account_id>1</account_id>
<module>0</module>
<sql>SELECT %%fieldList%% FROM %%tableList%% WHERE %%whereList%% </sql>
<order_by>site_id</order_by>
<limit_no>10</limit_no>
<results>1</results>
</search>
<search>
<id>3069</id>
<site_id>1</site_id>
<date_orig>1112343320</date_orig>
<date_expire>1112379320</date_expire>
<session_id>6528fd5472182bd2b622f97b76567655</session_id>
<account_id>1</account_id>
<module>0</module>
<sql>SELECT %%fieldList%% FROM %%tableList%% WHERE %%whereList%% </sql>
<order_by>name</order_by>
<limit_no>25</limit_no>
<results>25</results>
</search>
<search_id>
<id>3069</id>
</search_id>
</install>