Skip to content

Applescript to convert the OnmiOutliner 3 file (based on temlplate) to SilverStripe Classes

Notifications You must be signed in to change notification settings

thezenmonkey/Convert-OmniOutliner-Document-to-SilverStripe-Class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Applescript to convert the OnmiOutliner 3 file (based on temlplate) to SilverStripe Classes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published