added some flow stuff
[glcas.git] / lib / plugins / www.php
diff --git a/lib/plugins/www.php b/lib/plugins/www.php
new file mode 100644 (file)
index 0000000..4ef4c99
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+
+global $preWebComponents, $webComponents, $postWebComponents;
+
+
+function goWebProcessor()
+{
+       global $preWebComponents, $webComponents, $postWebComponents;
+       
+       foreach($preWebComponents as $function) {
+               if(function_exists($function)) $function();
+       }
+       
+       foreach($webComponents as $function) {
+               if(function_exists($function)) $function();
+       }
+       
+       foreach($postWebComponents as $function) {
+               if(function_exists($function)) $function();
+       }
+}
+?>
\ No newline at end of file