'display_name']); $entityBlock = ['contact_id' => $contactId]; $openids = CRM_Core_BAO_OpenID::getValues($entityBlock); if (!empty($openids)) { foreach ($openids as $key => & $value) { $value['location_type'] = $locationTypes[$value['location_type_id']]; } } $this->assign('contactId', $contactId); $this->assign('openid', $openids); // check logged in user permission CRM_Contact_Page_View::checkUserPermission($this, $contactId); // finally call parent parent::run(); } }