* @param int $profileID
* @param int $optionsBehaviour
* 0 = don't resolve, 1 = resolve non-aggressively, 2 = resolve aggressively - ie include country & state.
- * @param $is_flush
+ * @param bool $is_flush
*
* @return array|void
*/
*/
}
}
+ $profileFields[$profileID] = $profileFields[$profileID] ?? [];
uasort($profileFields[$profileID], "_civicrm_api3_order_by_weight");
return $profileFields[$profileID];
}
* Here we map the profile fields as stored in the uf_field table to their 'real entity'
* we also return the profile fieldname
*
- * @param $field
+ * @param array $field
*
* @return array
*/
*
* e.g getfields response incl 'membership_type_id' - with api.aliases = 'membership_type'
* returned array will include both as keys (with the same values)
- * @param $entity
+ * @param string $entity
*
* @return array
*/