Lock.php
[Pman.Core] / Lock.php
1 <?php
2
3
4 require_once 'Pman.php';
5
6 class Pman_Core_Lock extends Pman
7 {
8     
9     function getAuth()
10     {
11          $au = $this->getAuthUser();
12         if (!$au) {
13              $this->jerr("Not authenticated", array('authFailure' => true));
14         }
15         $this->authUser = $au;
16         // check that it's a supplier!!!! 
17         
18         return true; 
19     }
20     
21     function get()
22     {
23         if (empty($_REQUEST['on_id']) || empty($_REQUEST['on_table'])) {
24             
25         }
26         $tab = str_replace('/', '',$tab); // basic protection??
27         $x = DB_DataObject::factory($tab);
28     }
29     
30 }