diff --git a/app/View/Pages/doc/md/categories_and_types.ctp b/app/View/Pages/doc/md/categories_and_types.ctp new file mode 100644 index 000000000..d453a1364 --- /dev/null +++ b/app/View/Pages/doc/md/categories_and_types.ctp @@ -0,0 +1,41 @@ +### Attribute Categories vs Types

+ + + +|Category| $catDef) echo ' ' . $cat . ' |'; ?>
+
+ $def) { + echo '|' . str_replace('|', '|', $type) . '|'; + foreach ($cD as $cat => $catDef) echo (in_array($type, $catDef['types'])? ' X |' : ' |'); + echo '
'; + } + echo '
'; + endforeach; +?> + +### Categories

+ + $def) { + echo '*   **' . $cat . '**: '; + if (isset($def['formdesc'])) echo h($def['formdesc']); + else echo h($def['desc']); + echo '
'; +}?> + +
+### Types

+ + $def) { + echo '*   **' . $type . '**: '; + if (isset($def['formdesc'])) echo h($def['formdesc']); + else echo h($def['desc']); + echo '
'; +}?> +