_profile_field_types
modules/profile/profile.module, строка 802
- Версии
- 5 – 6
_profile_field_types($type = NULL)
Код
<?php
function _profile_field_types($type = NULL) {
$types = array('textfield' => t('single-line textfield'),
'textarea' => t('multi-line textfield'),
'checkbox' => t('checkbox'),
'selection' => t('list selection'),
'list' => t('freeform list'),
'url' => t('URL'),
'date' => t('date'));
return isset($type) ? $types[$type] : $types;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии