SimpleExcel.php
[Pman.Core] / GoogleKey.php
1 <?php
2
3 require_once 'Pman.php';
4
5
6 /**
7  * 
8  * NOT IN USED NOW!!!
9  * 
10  * 
11  * 
12  */
13 class Pman_Core_GoogleKey extends Pman
14 {
15     function getAuth()
16     {
17         
18         $au = $this->getAuthUser();
19         if (!$au) {
20             $this->jerrAuth("only authenticated users");
21         }
22         
23         $this->authUser = $au;
24     }
25     function get($v, $opts=array()) {
26         // for testing..
27         return $this->post();
28     }
29     
30     function post($v)
31     {
32         $pc = HTML_FlexyFramework::get()->Pman_Core;
33         if (empty($pc['googlekey'])) {
34             $this->jerr("Google API Key not configured");
35         }
36         $key = $pc['googlekey'];
37         $this->jdata($key);
38         
39     }
40     
41     
42 }