#<?php
#if (!class_exists('out')) return;
#<?php
-#return
-
- 'div' => [
- 'is_html' => true,
- 'enclose' => array("<div class=\"rows\">".NB_EOL,"</div>".NB_EOL),
- 'tag_enclose' => 'div class="row"',
- 'tag' => 'div',
- 'tag_key' => 'label',
- 'row' => 'out_tag',
-# NB 25.12.16 'head' => 'out_tag_head',
- ],
-
- 'center' => [
- 'is_html' => true,
- 'enclose' => array("<center class=\"rows\">".NB_EOL,"</center>".NB_EOL),
- 'tag_enclose' => 'div class="row"',
- 'tag' => 'div',
- 'row' => 'out_tag',
-# NB 25.12.16 'head' => 'out_tag_head',
- ],
+#return [
- 'table' => [
- 'is_html' => true,
- 'enclose' => array("<table class=\"rows widefat striped\">".NB_EOL,"</table>".NB_EOL),
- 'tag_enclose' => 'tr class="row"',
- 'tag_head' => 'th',
- 'tag' => 'td',
- 'row' => 'out_tag',
- 'head' => 'out_tag_head',
- ],
-
- 'xml' => [
- 'enclose' => array('<?xml version="1.0" encoding="utf-8"?'.'>'.NB_EOL."<rows>".NB_EOL,"</rows>".NB_EOL),
- 'eol' => self::p('eol',NB_EOL),
- 'row' => function (&$o,&$row) {
- echo ($o['eol'] ? ' ' : '')."<row>".$o['eol'];
- foreach ($row as $k => $v) {
- echo ($o['eol'] ? ' ' : '')."<$k><![CDATA[".self::scalar($v)."]]></$k>".$o['eol'];
- }
- echo ($o['eol'] ? ' ' : '')."</row>".$o['eol'];
- },
- ],
];
--- /dev/null
+<?php
+return [
+ 'is_html' => true,
+ 'enclose' => ["<center class=\"rows\">".NB_EOL,"</center>".NB_EOL],
+ 'tag_enclose' => 'div class="row"',
+ 'tag' => 'div',
+ 'row' => 'out_tag',
+# NB 25.12.16 'head' => 'out_tag_head',
+];
+?>
--- /dev/null
+<?php
+return [
+ 'is_html' => true,
+ 'enclose' => ["<div class=\"rows\">".NB_EOL,"</div>".NB_EOL],
+ 'tag_enclose' => 'div class="row"',
+ 'tag' => 'div',
+ 'tag_key' => 'label',
+ 'row' => 'out_tag',
+# NB 25.12.16 'head' => 'out_tag_head',
+];
+?>
--- /dev/null
+<?php
+return [
+ 'is_html' => true,
+ 'enclose' => array("<table class=\"rows widefat striped\">".NB_EOL,"</table>".NB_EOL),
+ 'tag_enclose' => 'tr class="row"',
+ 'tag_head' => 'th',
+ 'tag' => 'td',
+ 'row' => 'out_tag',
+ 'head' => 'out_tag_head',
+];
+?>