Full ELMS Learning Network documentation
function drupal_strtolower
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).cis7 unicode.inc | drupal_strtolower($text) |
cle7 unicode.inc | drupal_strtolower($text) |
elmsmedia7 unicode.inc | drupal_strtolower($text) |
icor7 unicode.inc | drupal_strtolower($text) |
meedjum_blog7 unicode.inc | drupal_strtolower($text) |
mooc7 unicode.inc | drupal_strtolower($text) |
Lowercase a UTF-8 string.
Parameters
$text: The string to run the operation on.
Return value
string The string in lowercase.
Related topics
66 calls to drupal_strtolower()
- admin_menu_output in sites/
all/ modules/ ulmus/ admin_menu/ admin_menu.module - Build the administration menu output.
- advagg_mod_match_path in sites/
all/ modules/ ulmus/ advagg/ advagg_mod/ advagg_mod.module - Transforms all CSS files into inline CSS.
- block_block_list_alter in modules/
block/ block.module - Implements hook_block_list_alter().
- book_export in modules/
book/ book.pages.inc - Menu callback; Generates representations of a book page and its children.
- boost_is_cacheable in sites/
all/ modules/ ulmus/ boost/ boost.module - Determines whether a given url can be cached or not by boost.
File
- includes/
unicode.inc, line 522 - Provides Unicode-related conversions and operations.
Code
function drupal_strtolower($text) {
global $multibyte;
if ($multibyte == UNICODE_MULTIBYTE) {
return mb_strtolower($text);
}
else {
// Use C-locale for ASCII-only lowercase
$text = strtolower($text);
// Case flip Latin-1 accented letters
$text = preg_replace_callback('/\xC3[\x80-\x96\x98-\x9E]/', '_unicode_caseflip', $text);
return $text;
}
}