3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
19 * Dummy page for actions button.
21 class CRM_Contact_Page_Inline_Actions
extends CRM_Core_Page
{
26 * This method is called after the page is created.
28 public function run() {
29 $contactId = CRM_Utils_Request
::retrieve('cid', 'Positive', CRM_Core_DAO
::$_nullObject, TRUE);
31 $this->assign('contactId', $contactId);
32 $this->assign('actionsMenuList', CRM_Contact_BAO_Contact
::contextMenu($contactId));
33 CRM_Contact_Page_View
::addUrls($this, $contactId);
35 // also create the form element for the activity links box
36 $controller = new CRM_Core_Controller_Simple('CRM_Activity_Form_ActivityLinks',
40 $controller->setEmbedded(TRUE);
43 // check logged in user permission
44 CRM_Contact_Page_View
::checkUserPermission($this, $contactId);
46 // finally call parent