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