ezcPersistentObjectSchemaGenerator is capable to generate PersistentObject definition files from DatabaseSchema definitions.
This is the main class of the PersistentObjectDatabaseSchemaTiein package. It implemets the generator class itself. To run the generator, please use the file "rungenerator.php", inside this package.
To generate PersistentObject definitions from a DatabaseSchema, use the following synopsis:
The -s / --source parameter points to the source schema file. The -f / --format option specifies the format the schema file has. The argument for the program specifies the directory, where the PersistentObject definitions will be stored.
For help information simply call
Source for this file: /PersistentObjectDatabaseSchemaTiein/src/generator.php
Version: | //autogen// |
PROGRAM_DESCRIPTION
= 'Generates defition files for the eZ PersistentObject package from eZ DatabaseSchema formats. The directory to save the definition files to is provided as an argument.'
|
public void |
__construct(
)
Create a new generator. |
public void |
run(
)
Run the generator. |
Create a new generator.
This method initializes the necessary objects to run the application.
Run the generator.
Process the given options and generate a PersistentObject definition from it.