From d88b1b98bdd5ee1d2e36ae41fb7aca1a9a7302e9 Mon Sep 17 00:00:00 2001
From: Damyon Wiese <damyon@moodle.com>
Date: Tue, 31 Jan 2017 15:19:28 +0800
Subject: [PATCH] DO NOT INTEGRATE!!!

Test script showing all converted icons.
---
 test.php | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 test.php

diff --git a/test.php b/test.php
new file mode 100644
index 0000000..2bcdb38
--- /dev/null
+++ b/test.php
@@ -0,0 +1,29 @@
+<?php
+
+require('config.php');
+
+$PAGE->set_url('/test.php');
+$PAGE->set_context(context_system::instance());
+$PAGE->set_pagelayout('incourse');
+
+echo $OUTPUT->header();
+
+$iconsystem = \core\output\icon_system::instance();
+
+$map = $iconsystem->get_icon_name_map();
+
+$count = 0;
+foreach ($map as $from => $to) {
+    list($component, $key) = explode(':', $from);
+    echo '<span style="margin: 1rem;">';
+    echo $OUTPUT->pix_icon($key, '', $component);
+    echo $OUTPUT->image_icon($key, '', $component);
+    echo '</span>';
+
+    $count++;
+    if ($count % 3 == 0) {
+        echo '<br>';
+    }
+}
+
+echo $OUTPUT->footer();
-- 
2.7.4

