<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
    <!-- define the module name -->
    <module>setup</module>
    <!-- define the module table name -->
    <table>setup</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>site_id</order_by>
    <!-- define the methods -->
    <limit>10</limit>
    <!-- define the fields -->
    <field>
        <id>
            <type>I4</type>
            <unique>1</unique>
            <index>1</index>
        </id>
        <site_id>
            <type>I4</type>
            <unique>1</unique>
            <index>1</index>
        </site_id>
        <country_id>
            <type>I4</type>
        </country_id>
        <language_id>
            <type>C(16)</type>
        </language_id>
        <currency_id>
            <type>I4</type>
        </currency_id>
        <weight_id>
            <type>I4</type>
        </weight_id>
        <theme_id>
            <type>C(16)</type>
            <default>default</default>
        </theme_id>
        <admin_theme_id>
            <type>C(16)</type>
            <default>default_admin</default>
        </admin_theme_id>
        <group_id>
            <type>I4</type>
            <default>1</default>
        </group_id>
        <affiliate_template_id>
            <type>I4</type>
        </affiliate_template_id>
        <affiliate_id>
            <type>I4</type>
        </affiliate_id>
        <reseller_id>
            <type>I4</type>
        </reseller_id>
        <setup_email_id>
            <type>I4</type>
        </setup_email_id>
        <ssl_url>
            <type>X</type>
            <min_len>1</min_len>
            <max_len>255</max_len>
            <validate>any</validate>
        </ssl_url>
        <nonssl_url>
            <type>X</type>
            <min_len>1</min_len>
            <max_len>255</max_len>
            <validate>any</validate>
        </nonssl_url>
        <login_expire>
            <type>I4</type>
            <min_len>1</min_len>
            <max_len>999999</max_len>
            <validate>numeric</validate>
        </login_expire>
        <cookie_name>
            <type>C(32)</type>
            <min_len>1</min_len>
            <max_len>32</max_len>
        </cookie_name>
        <cookie_expire>
            <type>I4</type>
            <min_len>1</min_len>
            <max_len>999999</max_len>
            <validate>numeric</validate>
        </cookie_expire>
        <session_ip_match>
            <type>L</type>
            <default>0</default>
        </session_ip_match>
        <error_reporting>
            <type>C(16)</type>
            <default>1</default>
        </error_reporting>
        <site_name>
            <type>X</type>
            <min_len>1</min_len>
            <max_len>255</max_len>
            <validate>any</validate>
        </site_name>
        <site_email>
            <type>X</type>
            <min_len>1</min_len>
            <max_len>255</max_len>
            <validate>email</validate>
        </site_email>
        <time_format>
            <type>X</type>
        </time_format>
        <date_format>
            <type>X</type>
            <validate>any</validate>
            <convert>array</convert>
        </date_format>
        <date_time_format>
            <type>C(128)</type>
            <convert>array</convert>
        </date_time_format>
        <decimal_place>
            <type>I4</type>
            <min_len>1</min_len>
            <max_len>100</max_len>
            <validate>numeric</validate>
        </decimal_place>
        <debug>
            <type>L</type>
        </debug>
        <login_attempt_try>
            <type>I4</type>
            <min_len>1</min_len>
            <max_len>100000</max_len>
            <validate>numeric</validate>
        </login_attempt_try>
        <login_attempt_time>
            <type>I4</type>
            <min_len>1</min_len>
            <max_len>100000</max_len>
            <validate>numeric</validate>
        </login_attempt_time>
        <login_attempt_lock>
            <type>I4</type>
            <min_len>1</min_len>
            <max_len>100000000</max_len>
            <validate>numeric</validate>
        </login_attempt_lock>
        <search_expire>
            <type>I4</type>
            <min_len>1</min_len>
            <max_len>1000000000</max_len>
            <validate>numeric</validate>
        </search_expire>
        <db_cache>
            <type>L</type>
        </db_cache>
        <newsletter_registration>
            <type>L</type>
        </newsletter_registration>
        <default_account_status>
            <type>L</type>
        </default_account_status>
        <cache_sessions>
            <type>L</type>
        </cache_sessions>
        <weblog>
            <type>L</type>
        </weblog>
        <site_address>
            <type>C(128)</type>
        </site_address>
        <site_city>
            <type>C(32)</type>
        </site_city>
        <site_state>
            <type>C(16)</type>
        </site_state>
        <site_zip>
            <type>C(16)</type>
        </site_zip>
        <site_phone>
            <type>C(32)</type>
        </site_phone>
        <site_fax>
            <type>C(32)</type>
        </site_fax>
        <os>
            <type>L</type>
        </os>
        <auto_affiliate>
            <type>L</type>
        </auto_affiliate>
        <path_curl>
            <type>C(64)</type>
        </path_curl>
        <show_ticket_link>
            <type>L</type>
        </show_ticket_link>
        <show_affiliate_link>
            <type>L</type>
        </show_affiliate_link>
        <show_newsletter_link>
            <type>L</type>
        </show_newsletter_link>
        <show_domain_link>
            <type>L</type>
        </show_domain_link>
        <show_contact_link>
            <type>L</type>
        </show_contact_link>
        <show_cart_link>
            <type>L</type>
        </show_cart_link>
        <show_checkout_link>
            <type>L</type>
        </show_checkout_link>
        <show_product_link>
            <type>L</type>
        </show_product_link>
        <show_cat_block>
            <type>L</type>
        </show_cat_block>
        <show_file_block>
            <type>L</type>
        </show_file_block>
        <show_static_block>
            <type>L</type>
        </show_static_block>
        <show_affiliate_code>
            <type>L</type>
        </show_affiliate_code>
        <show_discount_code>
            <type>L</type>
        </show_discount_code>
        <billing_weekday>
            <type>C(2)</type>
        </billing_weekday>
        <grace_period>
            <type>C(2)</type>
        </grace_period>
        <max_billing_notice>
            <type>C(2)</type>
        </max_billing_notice>
        <max_inv_gen_period>
            <type>C(2)</type>
        </max_inv_gen_period>
        <license_key>
            <type>C(128)</type>
        </license_key>
        <license_code>
            <type>X2</type>
        </license_code>
    </field>
    <!-- define all the methods for this class, and the fields they have access to, if applicable. -->
    <method>
        <update>id,db_cache,newsletter_registration,default_account_status,cache_sessions,site_id,setup_email_id,country_id,language_id,currency_id,weight_id,theme_id,group_id,affiliate_id,affiliate_template_id,reseller_id,ssl_url,nonssl_url,login_expire,cookie_name,cookie_expire,session_ip_match,error_reporting,site_name,site_email,time_format,date_format,date_time_format,decimal_place,debug,login_attempt_try,login_attempt_time,login_attempt_lock,search_expire,weblog,admin_theme_id,license_key,license_code,site_address,site_city,site_state,site_zip,site_phone,site_fax,os,path_curl,show_affiliate_link,show_ticket_link,show_newsletter_link,show_contact_link,show_domain_link,show_cart_link,show_checkout_link,show_cat_block,show_product_link,show_file_block,show_static_block,show_affiliate_code,show_discount_code,billing_weekday,grace_period,max_billing_notice,max_inv_gen_period,auto_affiliate</update>
        <view>id,db_cache,newsletter_registration,default_account_status,cache_sessions,site_id,setup_email_id,country_id,language_id,currency_id,weight_id,theme_id,group_id,affiliate_id,affiliate_template_id,reseller_id,ssl_url,nonssl_url,login_expire,cookie_name,cookie_expire,session_ip_match,error_reporting,site_name,site_email,time_format,date_format,date_time_format,decimal_place,debug,login_attempt_try,login_attempt_time,login_attempt_lock,search_expire,weblog,admin_theme_id,license_key,license_code,site_address,site_city,site_state,site_zip,site_phone,site_fax,os,path_curl,show_affiliate_link,show_ticket_link,show_newsletter_link,show_contact_link,show_domain_link,show_cart_link,show_checkout_link,show_cat_block,show_file_block,show_product_link,show_static_block,show_affiliate_code,show_discount_code,billing_weekday,grace_period,max_billing_notice,max_inv_gen_period,auto_affiliate</view>
        <search>id,site_id,newsletter_registration,setup_email_id,country_id,language_id,currency_id,weight_id,theme_id,group_id,affiliate_id,reseller_id,ssl_url,nonssl_url,login_expire,cookie_name,cookie_expire,affiliate_template_id,session_ip_match,error_reporting,site_name,site_email,time_format,date_format,date_time_format,decimal_place,debug,login_attempt_try,login_attempt_time,login_attempt_lock,search_expire,weblog,admin_theme_id,license_key,license_code,max_inv_gen_period</search>
        <search_show>id,site_id,newsletter_registration,setup_email_id,country_id,language_id,currency_id,weight_id,theme_id,group_id,affiliate_id,reseller_id,ssl_url,nonssl_url,login_expire,cookie_name,affiliate_template_id,cookie_expire,session_ip_match,error_reporting,site_name,site_email,time_format,date_format,date_time_format,decimal_place,debug,login_attempt_try,login_attempt_time,login_attempt_lock,search_expire,weblog,admin_theme_id,license_key,license_code,max_inv_gen_period</search_show>
    </method>
    <!-- define the method triggers -->
    <trigger>0</trigger>
</construct>
