Skip to content
Applescript to convert the OnmiOutliner 3 file (based on temlplate) to SilverStripe Classes
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.DS_Store
.gitignore
Convert OO3 to SilverStripe Classes.scpt
readme.md

readme.md

OmniOutliner to SilverStripe Classes

This script converts OmniOutliner files based on the template.

I found I'd do my Database planning in OmniOUtliner and needed a quick way to convert that file to my SilverStripe classes

So far it builds just the basic class (db, has_one, has_many, many_many, etc).

Compile as an application then just drop your ooh file on to it and select a project folder, it'll handle the rest.

How to use the Template File

Duplicate the Sample Class for each class you want to create Name the class and define the Parent Class in the Extension Column

Under the db you need to select a type from the drop down column, if it's an Enum; list out the values in the EnumValues column

Under the relations you can define the related class Relation Column

To Do

  • Add relation fields to CMSField build
  • Add convert notes to standard docblock comments
  • Add fields for more robust docblock descriptions
Something went wrong with that request. Please try again.