Extending Script Files
Scripting is supported for the following set of functions:
import-function- called during import of the schema files.
export-function- called during export of the schema files.
file-scanner-function- function called to find files to import.
get-module-info-function- used to gather information about module.
Scripts are defined in
.osc files which are common text files. Scripts are bound to ORM/MVC framework in
.cfg.xml configuration files in
<script-settings> element. Each ORM/MVC framework has its own script files and methods.
This XML snippet comes from Doctrine2 configuration file
Doctrine2.skipper.cfg.xml. The snippet includes one
Doctrine2.scripts.osc file and binds four methods to import/export Skipper functions.
One or more script functions can be defined in