RooConfig.php
authorAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 08:16:14 +0000 (16:16 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 08:16:14 +0000 (16:16 +0800)
RooConfig.php

index e69de29..6428384 100644 (file)
@@ -0,0 +1,22 @@
+<?php
+
+
+class Pman_Core_RooConfig extends Pman {
+    
+    function getAuth()
+    {
+        return true; // everyone allowed
+    }
+    
+    function post() {
+        $this->jerr("access denied");
+    }
+    
+    function get()
+    {
+        $c = DB_DataObject::factory('core_enum')->fetchAllByType('comptype'); // array of object.s
+        
+        
+        
+    }
+}