yana

phpDocumentor v 1.4.0

Class DbDesigner4

Description

DBDesigner 4 import class
This class allows you to read DBDesigner 4 configuration files.
Use DbDesigner4->getTableInfo(), or DbDesigner4->getStructure() to import the file.
Example:
  1.  $schema new DbDesigner4('schema.xml');
  2.  $schema->read();
  3.  $structure $schema->getStructure();
  4.  $structure->create();
  5.  $structure->write();
Once you have a valid structure file, you can open and query it easily, by using the functions provided by DbStructure.
  • access: public
Object
   |
   --FileSystemResource
      |
      --FileReadonly
         |
         --File
            |
            --DbDesigner4
Method Summary

Methods

Return database structure for current data
DbStructure &getStructure (
[string $filename = ""]
)
List of parameters:
Name Type Description
$filename string name of newly created structure file
Description:
  • access: public
Return table info for current data
array getTableInfo (
[string $table = null]
)
List of parameters:
Name Type Description
$table string
Description:
  • access: public
inherited from base classes

Inherited From File

Inherited From FileReadonly

Inherited From FileSystemResource

Inherited From Object

Documentation generated on Sat, 03 Jan 2009 22:22:17 +0100 by phpDocumentor 1.4.0

yana author: Thomas MeyerHomepage: www.yanaframework.net