class CRM_Contact_Page_View extends CRM_Core_Page {
/**
- * the id of the object being viewed (note/relationship etc)
+ * The id of the object being viewed (note/relationship etc)
*
* @int
* @access protected
protected $_id;
/**
- * the contact id of the contact being viewed
+ * The contact id of the contact being viewed
*
* @int
* @access protected
$image_URL = str_replace('http://', 'https://', $image_URL);
}
- list($imageWidth, $imageHeight) = getimagesize($image_URL);
+ list($imageWidth, $imageHeight) = getimagesize(CRM_Utils_String::unstupifyUrl($image_URL));
list($imageThumbWidth, $imageThumbHeight) = CRM_Contact_BAO_Contact::getThumbSize($imageWidth, $imageHeight);
$this->assign("imageWidth", $imageWidth);
$this->assign("imageHeight", $imageHeight);
/**
* Get meta details of the contact.
*
- * @param $contactId
+ * @param int $contactId
*
* @return array contact fields in fixed order
* @access public
/**
* @param $page
- * @param null $contactID
+ * @param int $contactID
*/
static function checkUserPermission($page, $contactID = NULL) {
// check for permissions
}
/**
- * @param $contactId
+ * @param int $contactId
* @param bool $isDeleted
*
* @return string