drupal_strtolower

Versions
mediamosa-21
drupal_strtolower($text)

Lowercase a UTF-8 string.

Related topics

▾ 13 functions call drupal_strtolower()

book_export in modules/book/book.pages.inc
Menu callback; Generates various representation of a book page and its children.
drupal_html_class in includes/common.inc
Prepare a string for use as a valid class name.
drupal_html_id in includes/common.inc
Prepare a string for use as a valid HTML ID and guarantee uniqueness.
mediamosa_maintenance_browse_test_form in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_simpletest.inc
List tests arranged in groups that can be selected and run.
search_index in modules/search/search.module
Update the full-text search index for a particular item.
search_simplify in modules/search/search.module
Simplifies a string according to indexing rules.
system_admin_menu_block in modules/system/system.module
Provide a single block on the administration overview page.
taxonomy_autocomplete in modules/taxonomy/taxonomy.pages.inc
Helper function for autocompletion
theme_update_report in modules/update/update.report.inc
Theme project status report.
_build_param in sites/all/modules/mediamosa_development/mediamosa_development.admin.inc
Helper for creating param form item.
_color_rewrite_stylesheet in modules/color/color.module
Rewrite the stylesheet to match the colors in the palette.
_mediamosa_browse_asset_execute in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_asset.inc
Do the REST call and return the response object.
_mediamosa_browse_collection_execute in sites/all/modules/mediamosa/maintenance/browse/mediamosa_maintenance_browse_collection.inc
Do the REST call and return the response object.

Code

includes/unicode.inc, line 432

<?php
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;
  }
}
?>