Palette.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 15:43:55 +0000 (23:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 15:43:55 +0000 (23:43 +0800)
Palette.php

index b56c3f6..7785aaf 100644 (file)
@@ -9,8 +9,16 @@ class Pman_Builder_Palette extends Pman
         return true;
     }
     
-    function get()
+    function get($sub)
     {
+        if (empty($sub)) {
+            return $this->roousage();
+        }
+    
+    
+    function roousage() // list of what elements, can have what as children..
+    {
+        
         // use file..
         $lines = file(dirname(__FILE__).'/RooUsage.txt');
         $s = -1;