<uidefs>
<!--
  - ADOBE SYSTEMS INCORPORATED
  - Copyright 2000-2002 Adobe Systems Incorporated. All Rights Reserved.
  - 
  - NOTICE:  Notwithstanding the terms of the Adobe GoLive End User 
  - License Agreement, Adobe permits you to reproduce and distribute this 
  - file only as an integrated part of a web site created with Adobe 
  - GoLive software and only for the purpose of enabling your client to 
  - display their web site. All other terms of the Adobe license 
  - agreement remain in effect.
 -->
	<category>MySQL</category>
	<uiname>MySQL</uiname>

	<content-source>
		<format>PHP</format>

		<type>SQL</type>
		<uiname>Database Query</uiname>
		<display-icon>DCDatabaseQuery</display-icon>

		<data-source>
			<data-source-type>MySQL Database</data-source-type>
			<info-filepath>mysql.info6.php</info-filepath>
			<editor>
				<module-name>MySQLDataSourceEditor</module-name>
				<module-filepath>info/MySQLDataSourceEditor/Main.html</module-filepath>
			</editor>
		</data-source>
		
		<runtime-filepath>include/mysql.runtime6.php</runtime-filepath>
		<runtime-constructor>WrapMySQLDatabaseResults</runtime-constructor>

		<action-filepath>actions/mysql.actions6.php</action-filepath>
		<runtime-setupfunction>SetupMySQLForm</runtime-setupfunction>
		<action>
			<uiname>Update Record</uiname>
			<runtime-command>SubmitChanges</runtime-command>
			<runtime-setupfunction>SetupMySQLUpdate</runtime-setupfunction>
			<binding-details>
				<parameter>
					<uiname>Content source</uiname>
					<control>combobox(GLRecordSets)</control>
					<errormessage>No content source specified.</errormessage>
				</parameter>
			</binding-details>
		</action>

		<action>
			<uiname>Add Record</uiname>
			<runtime-command>AddRecord</runtime-command>
			<runtime-setupfunction>SetupMySQLAdd</runtime-setupfunction>
			<binding-details>
				<parameter>
					<uiname>Content source</uiname>
					<control>combobox(GLRecordSets)</control>
					<errormessage>No content source specified.</errormessage>
				</parameter>
			</binding-details>
		</action>

		<action>
			<uiname>Delete Record</uiname>
			<runtime-command>DeleteRecord</runtime-command>
			<runtime-setupfunction>SetupMySQLDelete</runtime-setupfunction>
			<binding-details>
				<parameter>
					<uiname>Content source</uiname>
					<control>combobox(GLRecordSets)</control>
					<errormessage>No content source specified.</errormessage>
				</parameter>
			</binding-details>
		</action>

		<action>
			<uiname>Clear Form Data</uiname>
			<runtime-command>ClearFormData</runtime-command>
			<runtime-setupfunction>SetupMySQLClear</runtime-setupfunction>
			<binding-details>
				<parameter>
					<uiname>Content source</uiname>
					<control>combobox(GLRecordSets)</control>
					<errormessage>No content source specified.</errormessage>
				</parameter>
			</binding-details>
		</action>

		<action>
			<uiname>Copy Form Data</uiname>
			<runtime-command>CopyFormData</runtime-command>
			<runtime-setupfunction>SetupMySQLCopy</runtime-setupfunction>
			<binding-details>
				<parameter>
					<uiname>Content source</uiname>
					<control>combobox(GLRecordSets)</control>
					<errormessage>No content source specified.</errormessage>
				</parameter>
			</binding-details>
		</action>
	</content-source>


</uidefs>
