cli) { die("access denied"); } //HTML_FlexyFramework::ensureSingle(__FILE__, $this); return true; } var $pool = array(); function get($id) { DB_DataObject::debugLevel(1); //date_default_timezone_set('UTC'); // phpinfo();exit; $w = DB_DataObject::factory($this->table); if (!$w->get($id) || strtotime($w->act_when) < strtotime($w->sent)) { die("invalid id or time"); } $o = $w->object(); $p = $w->person(); // should we fetch the watch that caused it.. - which should contain the method to call.. die("DONE\n"); } }