3 * Table Definition for Events
5 require_once 'DB/DataObject.php';
7 class Pman_Core_DataObjects_Events extends DB_DataObject
10 /* the code below is auto generated do not remove the above tag */
12 public $__table = 'Events'; // table name
13 public $id; // int(11) not_null primary_key auto_increment
14 public $person_name; // string(128)
15 public $event_when; // datetime(19) binary
16 public $action; // string(32)
17 public $ipaddr; // string(16)
18 public $on_id; // int(11)
19 public $on_table; // string(64)
20 public $person_id; // int(11)
21 public $remarks; // blob(65535) blob
24 /* the code above is auto generated do not remove the tag below */
27 * check who is trying to access this. false == access denied..
29 function checkPerm($lvl, $au)
31 return $lvl == 'S' && $au->hasPerm("Admin.Admin_Tab", $lvl);