static function fieldTypeTransitions($dataType, $htmlType) {
// Text field is single value field,
// can not be change to other single value option which contains option group
static function fieldTypeTransitions($dataType, $htmlType) {
// Text field is single value field,
// can not be change to other single value option which contains option group
static function explode($str) {
if (empty($str) || $str == CRM_Core_DAO::VALUE_SEPARATOR . CRM_Core_DAO::VALUE_SEPARATOR) {
return array();
static function explode($str) {
if (empty($str) || $str == CRM_Core_DAO::VALUE_SEPARATOR . CRM_Core_DAO::VALUE_SEPARATOR) {
return array();