mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
7ecbf49ac9
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@117896 467b73ca-7a2a-4603-9d3b-597d59a354a9
35 lines
710 B
Scheme
35 lines
710 B
Scheme
<html>
|
|
<head>
|
|
<% base_tag %>
|
|
<title>Data Model</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Data Model for your project</h1>
|
|
|
|
<% control Modules %>
|
|
<h1>Module $Name</h1>
|
|
|
|
<img src="$Link/graph" />
|
|
|
|
<% control Models %>
|
|
<h2>$Name <% if ParentModel %> (subclass of $ParentModel)<% end_if %></h2>
|
|
<h4>Fields</h4>
|
|
<ul>
|
|
<% control Fields %>
|
|
<li>$Name - $Type</li>
|
|
<% end_control %>
|
|
</ul>
|
|
|
|
<h4>Relations</h4>
|
|
<ul>
|
|
<% control Relations %>
|
|
<li>$Name $RelationType $RelatedClass</li>
|
|
<% end_control %>
|
|
</ul>
|
|
<% end_control %>
|
|
<% end_control %>
|
|
</body>
|
|
</html>
|
|
|