default:
throw new CRM_Core_Exception(
- $type . " is not a recognised (camel cased) data type."
+ $type . " is not a recognized (camel cased) data type."
);
}
- // @todo Use exceptions instead of CRM_Core_Error::fatal().
if ($abort) {
$data = htmlentities($data);
}
/**
- * Get list of avaliable Data Types for Option Groups
+ * Get list of available Data Types for Option Groups
*
* @return array
*/