getAuthUser(); if (!$au) { $this->jerr("Not authenticated", array('authFailure' => true)); } if (!$au->pid() ) { // not set up yet.. $this->jerr("Not authenticated", array('authFailure' => true)); } $this->authUser = $au; return true; } function get() { $this->addEvent("JSERROR", false,$_REQUEST['msg']); } }