DataObjects/ProjectDirectory.php
[Pman.Core] / GoogleKey.php
index e69de29..eea4db0 100644 (file)
@@ -0,0 +1,30 @@
+<?php
+
+require_once 'Pman.php';
+
+class Pman_Core_GoogleKey extends Pman
+{
+    function getAuth()
+    {
+        
+        $au = $this->getAuthUser();
+        if (!$au) {
+            $this->jerrAuth("only authenticated users");
+        }
+        
+        $this->authUser = $au;
+    }
+    function get() {
+        // for testing..
+        return $this->post();
+    }
+    
+    function post()
+    {
+        $key = HTML_FlexyFramework::get()->Pman_Core['googlekey'];
+        $this->jdata($key);
+        
+    }
+    
+    
+}
\ No newline at end of file