throw new RuntimeException("Failed to determine contact ID");
}
- //we need to get existing dashletes, so we know when to update or insert
+ //we need to get existing dashlets, so we know when to update or insert
$contactDashlets = self::getContactDashlets(TRUE, $contactID);
$dashletIDs = array();
}
}
+ /**
+ * @param array $params each item is a spec for a dashlet on the contact's dashboard
+ * @return bool
+ */
static function addContactDashletToDashboard(&$params) {
$valuesString = NULL;
$columns = array();