public function indexAction() { $user = PR_Session::getSession(PR_Session::SESSION_USER); $core = new PR_Api_Core_TestClass(); $companyID = $user["CompanyID"]; $records = $core->getTestListForCompany($companyID); $this->view->list = $records; }