Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (14 sloc) 1.016 kB
c37c6ce @thezenmonkey Added read me and link to template
authored
1 # OmniOutliner to SilverStripe Classes
b18d25d @thezenmonkey Updated Readme with link to zipped version of the template
authored
2 This script converts OmniOutliner files based on the [template](http://designplusawesome.com/assets/resources/SilverStripeClass.oo3template.zip).
3
c37c6ce @thezenmonkey Added read me and link to template
authored
4 I found I'd do my Database planning in OmniOUtliner and needed a quick way to convert that file to my SilverStripe classes
b18d25d @thezenmonkey Updated Readme with link to zipped version of the template
authored
5
6 So far it builds just the basic class (db, has_one, has_many, many_many, etc).
7
c37c6ce @thezenmonkey Added read me and link to template
authored
8 Compile as an application then just drop your ooh file on to it and select a project folder, it'll handle the rest.
9 ## How to use the Template File
10 Duplicate the Sample Class for each class you want to create
11 Name the class and define the Parent Class in the Extension Column
b18d25d @thezenmonkey Updated Readme with link to zipped version of the template
authored
12
c37c6ce @thezenmonkey Added read me and link to template
authored
13 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
b18d25d @thezenmonkey Updated Readme with link to zipped version of the template
authored
14
c37c6ce @thezenmonkey Added read me and link to template
authored
15 Under the relations you can define the related class Relation Column
16 ## To Do
41cc92e @thezenmonkey getCMSFields added
authored
17 * Add relation fields to CMSField build
b18d25d @thezenmonkey Updated Readme with link to zipped version of the template
authored
18 * Add convert notes to standard docblock comments
19 * Add fields for more robust docblock descriptions
Something went wrong with that request. Please try again.