Location: PHPKode > scripts > PHPClass Generator > phpclass-generator/testclass.xml
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE phpclass SYSTEM "phpclass.dtd" >
<phpclass>

   <author>
      <name>Lars Wilhelmsen</name>
      <email>hide@address.com</email>
      <company>eZ systems</company>
      <url>http://www.sral.org/</url>
   </author>

   <classinfo prefix="no">
      <name>eZTest</name>
      <primaryID>TestTable.Id</primaryID>
      <dbFunction>openDB()</dbFunction>
      <keyword>Tests</keyword>
   </classinfo>

   <sqltable name="TestTable">
        <element name="Id" primary="yes" increment="yes" type="int" size="" NULL="no" />
        <element name="FirstName" type="varchar" size="25" NULL="no" />
        <element name="LastName" type="varchar" size="30" NULL="no" />
        <element name="Email" type="varchar" size="64" NULL="no" />
        <element name="Test1" type="varchar" size="25" NULL="no" />
        <element name="Test2" type="varchar" size="30" NULL="no" />
        <element name="Test3" type="varchar" size="64" NULL="no" />
        <element name="Test4" type="varchar" size="25" NULL="no" />
        <element name="Test5" type="varchar" size="30" NULL="no" />
        <element name="Test6" type="varchar" size="64" NULL="no" />
   </sqltable>

</phpclass>
Return current item: PHPClass Generator