_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse'); $this->_context = CRM_Utils_Request::retrieve('context', 'String', $this); $this->assign('action', $this->_action); $this->assign('context', $this->_context); $this->_contactId = CRM_Utils_Request::retrieve('cid', 'Positive', $this); $caseId = CRM_Utils_Request::retrieve('caseId', 'Positive', $this); CRM_Case_Page_Tab::setContext($this); $this->assign('caseID', $caseId); $this->assign('contactID', $this->_contactId); $this->assign('userID', CRM_Core_Session::singleton()->get('userID')); return parent::run(); } }