4 require_once 'Pman/Roo.php';
8 * This extends the standard Roo API
10 * however it has to verify that we send data protected, as it's pretty open!!!
16 class MTrackWeb_Roo extends Pman_Roo
18 var $validTables = array(
19 'mtrack_ticket' /// all of these MUST have applyFilters, and check authenication..
23 parent::getAuth(); // load company!
24 $au = $this->getAuthUser();
26 $this->authUser = false;
28 $this->authUser = $au;
34 if (!in_array($tbl,$this->validTables)) {
35 $this->jerr("Invalid url");
37 return parent::get($tbl);
41 if (!in_array($tbl,$this->validTables)) {
42 $this->jerr("Invalid url");
44 return parent::post($tbl);