You are here

function lingotek_title_compare in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lingotek.admin.inc \lingotek_title_compare()
1 string reference to 'lingotek_title_compare'
lingotek_node_settings_row_fields in ./lingotek.admin.inc

File

./lingotek.admin.inc, line 461

Code

function lingotek_title_compare($a, $b) {
  if (empty($a['#title']) or empty($b['#title'])) {
    return 0;
  }
  return strcasecmp($a['#title'], $b['#title']);
}