getAuthUser(); if (!$au || !$au->pid()) { die("authenticated Users only"); } $this->authUser = $au; return true; } function get($v, $opts=array()) { die("invalid url"); } function post($v) { $this->addEvent("JSERROR", false,$_REQUEST['msg']); $this->jok("OK"); } }