| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
'phone',
'email',
'im',
- 'address'
+ 'address',
) as $loc) {
$locBlock["{$loc}_id"] = !empty($location["$loc"][0]) ? $location["$loc"][0]->id : NULL;
$locBlock["{$loc}_2_id"] = !empty($location["$loc"][1]) ? $location["$loc"][1]->id : NULL;
* @param array $params
* (reference ) an assoc array of name/value pairs.
*
- * @return boolean
+ * @return bool
*/
public static function dataExists(&$params) {
// return if no data present
'IM',
'Phone',
'Address',
- 'OpenID'
+ 'OpenID',
) as $block) {
$name = strtolower($block);
if (array_key_exists($name, $primaryLocBlockIds) &&
}
return $elements;
}
+
}