*/
class CRM_Activity_Page_Tab extends CRM_Core_Page {
+ /**
+ * Case ID, passed in via query param.
+ *
+ * @var int
+ */
+ public $_caseId;
+
+ /**
+ * Contact ID, passed in via query param
+ *
+ * @var int
+ */
+ public $_contactId;
+
/**
* Browse all activities for a particular contact.
*/
$this->assign('contactID', $this->_contactId);
// check logged in url permission
- CRM_Contact_Page_View::checkUserPermission($this);
+ CRM_Contact_Page_View::checkUserPermission($this, $this->_contactId);
$this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse');
$this->assign('action', $this->_action);