summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/docblock.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/docblock.tpl')
-rwxr-xr-xbuildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/docblock.tpl30
1 files changed, 30 insertions, 0 deletions
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/docblock.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/docblock.tpl
new file mode 100755
index 00000000..7b1e17d7
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/docblock.tpl
@@ -0,0 +1,30 @@
+<!-- ========== Info from phpDoc block ========= -->
+{if $sdesc}
+<h5>{$sdesc}</h5>
+{/if}
+{if $desc}
+<div class="desc">{$desc}</div>
+{/if}
+{if $function}
+ {if $params}
+ <h4>Parameters</h4>
+ <ul>
+ {section name=params loop=$params}
+ <li><strong>{$params[params].datatype} {$params[params].var}</strong>: {$params[params].data}</li>
+ {/section}
+ </ul>
+ {/if}
+
+ <h4>Info</h4>
+ <ul>
+ {section name=tags loop=$tags}
+ <li><strong>{$tags[tags].keyword}</strong> - {$tags[tags].data}</li>
+ {/section}
+ </ul>
+{else}
+<ul>
+ {section name=tags loop=$tags}
+ <li><strong>{$tags[tags].keyword}:</strong> - {$tags[tags].data}</li>
+ {/section}
+</ul>
+{/if}