4 require_once 'Pman.php';
6 class Pman_Core_Lock extends Pman
11 $au = $this->getAuthUser();
13 $this->jerr("Not authenticated", array('authFailure' => true));
15 $this->authUser = $au;
16 // check that it's a supplier!!!!
23 if (empty($_REQUEST['on_id']) || empty($_REQUEST['on_table'])) {
26 $tab = str_replace('/', '',$tab); // basic protection??
27 $x = DB_DataObject::factory($tab);